joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b730
Capabilities:
Create thread

Disassembly:
push str.EAGLS_MouthMoveEvent
push 1
push 1
push 0
call dword [0x4770a4]
push 0x508cbc
push 0
mov dword [0x508cc4], eax
mov eax, dword [esp + 0xc]
push eax
push 0x41b320
push 0
push 0
call fcn.00455723
add esp, 0x18
push 0xfffffffffffffffe
push eax
mov dword [0x508cc0], eax
call dword [0x4770a8]
mov eax, 1
ret

Function at 0x41b940
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x100c]
test ecx, ecx
je 0x41b9b4
call fcn.0044c300
cmp eax, 2
je 0x41b9b4
mov ecx, dword [esi + 0x100c]
call fcn.0044c380
cmp byte [esp + 8], 0
je 0x41b9cf
mov eax, dword [esi + 0x100c]
push edi
push eax
lea edi, [esi + 8]
push str.MOVIE_EVENT_HANDLER__d
push edi
call fcn.00454878
add esp, 0xc
push edi
push 0
push 1
push 0
call dword [0x4770a4]
test eax, eax
mov dword [esi + 4], eax
jne 0x41b9b8
push edi
push str.Event
push 0x508cc8
call fcn.00454878
push 0x508cc8
call fcn.004087e0
add esp, 0x10
pop edi
pop esi
ret 4
push esi
push 0
push 0x41b790
call fcn.004558cf
add esp, 0xc
pop edi
mov dword [esi], eax
pop esi
ret 4
mov dword [esi], 0
pop esi
ret 4
Function at 0x41dbc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x111c
call fcn.00454700
mov eax, dword [0x4894c8]
xor eax, esp
mov dword [esp + 0x1118], eax
push esi
push edi
mov ecx, 0xb
mov esi, str.1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik_9ol.0p____:__
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x51
lea eax, [esp + 0x53]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.00454750
lea eax, [esp + 0x2c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41dc05
mov ecx, 0xf
mov esi, str._E_nhanced__A_dventure__G_ame__L_anguage__S_ystem_E.A.G.L.S
lea edi, [esp + 0xa0]
push 0x44
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xe0]
sub eax, edx
push 0
push ecx
mov dword [esp + 0x24], eax
call fcn.00454750
push str.GlobalSave.sav
lea edx, [esp + 0x130]
push str.Save_s
push edx
call fcn.00454878
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea eax, [esp + 0x138]
push eax
call dword [0x4771dc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dca6
push 0x479414
call fcn.004087e0
add esp, 4
push esi
call dword [0x4771e0]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1118]
xor ecx, esp
call fcn.004546e4
add esp, 0x111c
ret
push ebx
mov ebx, dword [0x4770c8]
push 0x1e8480
push 2
call ebx
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x41dce7
push 0x4793ec
call fcn.004087e0
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1118]
xor ecx, esp
call fcn.004546e4
add esp, 0x111c
ret
push ebp
push 0x1e8480
push 2
call ebx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x24], ebp
jne 0x41dd0f
push 0x4793c4
call fcn.004087e0
add esp, 4
xor eax, eax
jmp 0x41de06
push edi
mov edi, dword [0x4770c4]
call edi
push ebp
mov ebx, eax
call edi
mov ebp, dword [0x4770cc]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x80
lea edx, [esp + 0xb4]
push edx
push esi
mov edi, eax
call ebp
push 0x1cbc10
push 0xd9f788
push ebx
call fcn.004014b0
push 0x1cbc10
push edi
push ebx
call fcn.00408340
add esp, 0x18
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push esi
call ebp
call dword [0x477370]
xor edx, edx
mov ecx, 0xff
div ecx
mov byte [esp + 0x13], dl
movsx edx, dl
push edx
call fcn.004547ca
mov eax, dword [esp + 0x18]
add esp, 4
xor ebx, ebx
test eax, eax
jle 0x41ddbd
lea esp, [esp]
call fcn.004547d7
cdq
idiv dword [esp + 0x20]
add ebx, 1
mov al, byte [esp + edx + 0x28]
xor byte [ebx + edi - 1], al
mov eax, dword [esp + 0x14]
cmp ebx, eax
jl 0x41dda0
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
push edi
push esi
call ebp
push 0
lea edx, [esp + 0x1c]
push edx
push 1
lea eax, [esp + 0x1f]
push eax
push esi
call ebp
mov ebp, dword [esp + 0x1c]
mov edi, dword [0x4770c0]
push ebp
call edi
mov ebx, dword [esp + 0x24]
push ebx
call edi
mov edi, dword [0x4770bc]
push ebp
call edi
push ebx
call edi
push esi
call dword [0x4771e0]
mov eax, 1
mov ecx, dword [esp + 0x1128]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.004546e4
add esp, 0x111c
ret
Function at 0x41de20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x111c
call fcn.00454700
mov eax, dword [0x4894c8]
xor eax, esp
mov dword [esp + 0x1118], eax
push ebx
push ebp
push esi
push edi
push str.GlobalSave.sav
lea eax, [esp + 0x12c]
push str.Save_s
push eax
call fcn.00454878
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0x140]
push ecx
call dword [0x4771dc]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41dfed
mov ecx, 0xb
mov esi, str.1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik_9ol.0p____:__
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x51
lea edx, [esp + 0x5b]
push 0
push edx
movsb byte es:[edi], byte [esi]
call fcn.00454750
lea eax, [esp + 0x34]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41deb0
mov esi, dword [0x4770c8]
push 0x1e8480
sub eax, edx
push 2
mov dword [esp + 0x28], eax
mov byte [esp + 0x1b], cl
call esi
mov ebp, eax
test ebp, ebp
jne 0x41deec
push 0x4793ec
call fcn.004087e0
add esp, 4
xor eax, eax
jmp 0x41dff2
push 0x1e8480
push 2
call esi
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x41df11
push 0x4793c4
call fcn.004087e0
add esp, 4
xor eax, eax
jmp 0x41dff2
mov esi, dword [0x4770c4]
push ebp
call esi
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
call esi
mov esi, dword [0x477074]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x80
lea edx, [esp + 0xb4]
push edx
push ebx
mov dword [esp + 0x38], eax
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push ebx
call esi
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x18]
push edx
push eax
push edi
push ebx
call esi
push 0
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x1f]
push edx
push ebx
call esi
push ebx
call dword [0x4771e0]
movsx eax, byte [esp + 0x13]
push eax
call fcn.004547ca
mov eax, dword [esp + 0x1c]
add esp, 4
xor esi, esi
test eax, eax
jle 0x41dfb2
call fcn.004547d7
cdq
idiv dword [esp + 0x20]
add esi, 1
mov cl, byte [esp + edx + 0x28]
xor byte [esi + edi - 1], cl
mov eax, dword [esp + 0x18]
cmp esi, eax
jl 0x41df95
mov esi, dword [esp + 0x24]
push eax
push edi
push esi
call fcn.00404b20
push 0x1cbc10
push esi
push 0xd9f788
call fcn.004014b0
mov esi, dword [0x4770c0]
add esp, 0x18
push ebp
call esi
mov edi, dword [esp + 0x1c]
push edi
call esi
mov esi, dword [0x4770bc]
push ebp
call esi
push edi
call esi
mov eax, 1
mov ecx, dword [esp + 0x1128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004546e4
add esp, 0x111c
ret
Function at 0x44c9f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x475cbe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4894c8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
lea ebx, [esi + 0x7c]
push ebx
push ecx
push edx
mov ecx, esi
call fcn.00451a30
mov ebp, dword [esp + 0x34]
xor edi, edi
push ebp
push edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x28], edi
mov dword [esi], vtable.CBaseRenderer.0
mov dword [esi + 0xc], vtable.CBaseRenderer.2.0
mov dword [esi + 0x10], vtable.CBaseRenderer.1.0
mov dword [esi + 0x50], edi
call fcn.00451b30
push ebp
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x28], 1
call fcn.00451b30
push ebp
lea ecx, [esi + 0x5c]
push 1
mov byte [esp + 0x28], 2
call fcn.00451b30
push ebx
mov ebx, dword [0x4771fc]
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
call ebx
lea eax, [esi + 0x94]
push eax
call ebx
lea ecx, [esi + 0xc4]
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 1
push ecx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
call ebx
cmp dword [ebp], edi
jl 0x44cae7
mov edx, dword [esi + 0x5c]
push edx
call dword [0x4770a0]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x471fd0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x472070
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x472022
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4913f4]
xor eax, edx
inc esi
cmp esi, edi
jl 0x472003
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x47204b
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4913f4]
xor eax, edx
inc esi
cmp esi, edi
jl 0x47202e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x50dd90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x97000]
push edi
or ebp, 0xffffffff
jmp 0x50ddb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50ddb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50dda8
mov eax, 1
add ebx, ebx
jne 0x50ddcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50dddc
jne 0x50ddfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ddfb
dec eax
add ebx, ebx
jne 0x50dde8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50ddc0
add ebx, ebx
jne 0x50ddf7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50de4d
xor ecx, ecx
sub eax, 3
jb 0x50de13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50de82
sar eax, 1
mov ebp, eax
jmp 0x50de1e
add ebx, ebx
jne 0x50de1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ddec
inc ecx
add ebx, ebx
jne 0x50de2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ddec
add ebx, ebx
jne 0x50de39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50de2e
jne 0x50de4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50de2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50de6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50de5e
jmp 0x50ddae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50de6c
add edi, ecx
jmp 0x50ddae
pop esi
mov edi, esi
mov ecx, 0x5a53
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50de8a
cmp byte [edi], 0x1b
jne 0x50de8a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x50de8f
lea edi, [esi + 0x10a000]
mov eax, dword [edi]
or eax, eax
je 0x50df07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11b620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11b738]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50debc
mov ecx, edi
jns 0x50deeb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11b73c]
or eax, eax
je 0x50df01
mov dword [ebx], eax
add ebx, 4
jmp 0x50ded9
call dword [esi + 0x11b74c]
mov ebp, dword [esi + 0x11b740]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50df3b
sub esp, 0xffffff80
jmp 0x48fe12
Function at 0x403810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45c020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038a8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403888
xor eax, eax
push ebp
push 0x403881
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4038c4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403888
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x45c020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45c020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4046a4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45e048], 0
je 0x404705
cmp word [0x45e21c], 0xd7b2
jne 0x4046cd
cmp dword [0x45e224], 0
jbe 0x4046cd
mov eax, 0x45e218
call dword [0x45e234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40472c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45c02c], 0
jne 0x404721
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40485c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x45c030], 0
je 0x404882
mov edx, esi
mov eax, ebx
call dword [0x45c030]
jmp 0x404891
mov eax, 8
call fcn.00402e60
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x45e049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404824
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x40c01c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40be94
mov eax, dword [0x45da74]
cmp byte [eax], 0
je 0x40c098
mov eax, dword [0x45d898]
call fcn.004031d8
call fcn.00402fbc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040909c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c0e0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c0ce
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45d844]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4607f4]
call fcn.00405a30
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40c958
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ca2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404970
lea eax, [ebp - 4]
call fcn.00404dc0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d68
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ca18
mov eax, ebx
call fcn.00402e60
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ca11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d68
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c9fb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ca40
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c9fb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca18
mov eax, dword [ebp - 0x10]
call fcn.00402e7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca35
lea eax, [ebp - 4]
call fcn.004048d8
ret

Function at 0x41aabc
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041a7f8
dec esi
jne 0x41aade
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41bc50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4629ec
cmp dword [edi], 0
jne 0x41bccc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4629e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45cadc
mov ecx, 2
call fcn.00403050
mov edx, 0x41bc28
lea eax, [esi + 5]
call fcn.0041bc48
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041bc48
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41bca1
mov dword [0x4629e8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41e220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404d68
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41e278
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45db94]
mov dl, 1
mov eax, dword [0x41dd2c]
call fcn.0040c1dc
call fcn.0040426c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041de34
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41f0d4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41f0da
ret
Function at 0x42c4f8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004048d8
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42c546
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404b48
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431628
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43175b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41dd8c]
call fcn.0041de5c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x431731
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041defc
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404b48
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x431770
call fcn.00404bf0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041df60
lea ecx, [ebp - 4]
mov edx, 0x4317ac
mov eax, dword [ebp - 0xc]
call fcn.0041e1a8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040db78
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x431714
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4317b8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x45d474]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43171b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x431808
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x43184f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x431832
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x431843
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43184f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x436534
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x462c44], 0
je 0x43667d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45da14]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43667d
mov eax, dword [0x462c48]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x462c44]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43664c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x462c44]
call fcn.004146b4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x436644
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x436644
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x436644
mov eax, dword [ebp - 0x14]
call fcn.00440df4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x436644
push ebp
call fcn.004364f0
pop ecx
test al, al
jne 0x436644
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403c0c
test al, al
je 0x436644
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403c0c
cmp byte [ebp - 1], 0
je 0x436644
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x436644
mov edx, dword [ebp - 0x14]
mov eax, dword [0x462c48]
call fcn.00435c60
inc edi
dec ebx
jne 0x436599
mov eax, dword [0x462c48]
cmp dword [eax + 8], 0
jle 0x436664
mov eax, dword [0x462c48]
call fcn.00435d18
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43667d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00436354
pop ecx
test al, al
jne 0x43667d
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret