joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6050d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b2f2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6c5580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004f5650
mov dword [edi], vtable.CSkyObject.0
xorps xmm0, xmm0
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
movups xmmword [edi + 0x1c], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea esi, [edi + 0x134]
mov byte [ebp - 4], 1
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0058cfcf
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x1bc], 0
xorps xmm0, xmm0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0x3f800000
mov dword [edi + 0x1cc], 0x3f800000
mov dword [edi + 0x1d0], 0x3f800000
movups xmmword [edi + 0x1d8], xmm0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0xf
mov byte [edi + 0x1d8], 0
lea ecx, [edi + 0x1f4]
mov byte [ebp - 4], 3
call fcn.005042d0
mov dword [edi + 0x174], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x178], 0x3f800000
mov dword [edi + 0x164], 0x3f800000
mov dword [edi + 0x150], 0x3f800000
mov dword [edi + 0x13c], 0x3f800000
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x1b8], 0x3f800000
mov dword [edi + 0x1a4], 0x3f800000
mov dword [edi + 0x190], 0x3f800000
mov dword [edi + 0x17c], 0x3f800000
mov byte [ebp - 4], 4
mov dword [edi + 0xf8], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xfc], 0x3f800000
mov dword [edi + 0xe8], 0x3f800000
mov dword [edi + 0xd4], 0x3f800000
mov dword [edi + 0xc0], 0x3f800000
mov ecx, dword [0x74f648]
call fcn.004e1070
mov dword [edi + 0x130], eax
mov eax, edi
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov word [edi + 0x1f0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x60ae80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x60aead
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x60aead
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x60c5a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov dword [esp], 0
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esi + 0x18]
test eax, eax
je 0x60c5b0
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
xor ebx, ebx
add eax, 4
je 0x60c5b9
mov ebx, dword [eax]
lea ecx, [eax + 4]
xor eax, eax
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x60c5cc
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
xor edx, edx
add ecx, 4
je 0x60c5d5
mov edx, dword [ecx]
mov ecx, dword [esi + 8]
push edi
mov edi, dword [ebp]
add edi, ebx
mov dword [esp + 0x14], ecx
mov ebx, dword [ebp + 4]
add ebp, 8
add ebx, edx
test ecx, ecx
je 0x60c642
nop
lea edx, [edi*2 + 1]
imul edx, edi
lea eax, [ebx*2 + 1]
imul eax, ebx
rol edx, 5
rol eax, 5
mov esi, edx
xor esi, dword [esp + 0x10]
movzx ecx, al
and ecx, 0x1f
mov dword [esp + 0x10], edi
rol esi, cl
mov edi, eax
xor edi, dword [esp + 0x1c]
mov eax, ebx
mov ebx, dword [ebp]
movzx ecx, dl
add ebx, esi
and ecx, 0x1f
mov dword [esp + 0x1c], eax
rol edi, cl
add edi, dword [ebp + 4]
add ebp, 8
sub dword [esp + 0x14], 1
jne 0x60c5f0
add eax, dword [ebp + 4]
mov ecx, dword [ebp]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x60c660
mov eax, dword [eax]
xor ecx, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test edx, edx
je 0x60c66a
mov dword [edx], ecx
lea esi, [edx + 4]
test eax, eax
lea edx, [eax + 4]
cmove edx, eax
test edx, edx
je 0x60c67b
xor edi, dword [edx]
test esi, esi
je 0x60c681
mov dword [esi], edi
add esi, 4
lea ecx, [edx + 4]
test edx, edx
pop edi
cmove ecx, edx
mov edx, dword [esp + 0x18]
test ecx, ecx
je 0x60c697
xor edx, dword [ecx]
test esi, esi
je 0x60c69d
mov dword [esi], edx
add esi, 4
lea eax, [ecx + 4]
test ecx, ecx
cmove eax, ecx
test eax, eax
je 0x60c6b0
mov eax, dword [eax]
xor ebx, eax
test esi, esi
je 0x60c6b6
mov dword [esi], ebx
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40288e
pop dword [ebp - 0x28]
mov eax, 0x40288e
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x4209bf7
add dword [ebp - 0x38], 0x4a31a954
mov dword [ebp - 0x34], 0x9586e433
add dword [ebp - 0x34], 0x9cac6812
mov dword [ebp - 0x30], 0x53a399d0
sub dword [ebp - 0x30], 0x75755a2
mov dword [ebp - 0x2c], 0xb4e347c5
sub dword [ebp - 0x2c], 0xb4e347c5
lea eax, [ebp - 0x38]
push eax
mov eax, 0x5e88c52d
add eax, 0xa1b7bb5f
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x33e772f8
add dword [ebp - 0x38], 0x408af65e
mov dword [ebp - 0x34], 0xc18a65e6
sub dword [ebp - 0x34], 0x801e0471
mov dword [ebp - 0x30], 0x72fcfaab
sub dword [ebp - 0x30], 0xf8d8e3f
mov dword [ebp - 0x2c], 0xb2859910
sub dword [ebp - 0x2c], 0xb2859910
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xbad456eb
sub eax, 0xba93d617
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3b392
push 0
call eax
mov ecx, 0x5a82
xor edx, edx
add edx, eax
mov esi, 0xda5e9d82
sub esi, 0xda1d8d82
add esi, dword [ebp - 0x28]
mov ebx, 0xe87c3206
add ebx, 0x4bf834f0
xor dword [ebp - 8], ecx
mov edi, dword [esi]
add dword [ebp - 4], ebx
add edi, ebx
add dword [ebp - 0x1c], 0xda1702ba
mov dword [edx], edi
add edx, 4
add esi, 4
loop 0x4029a7
add eax, 0x15cdb
xor ebx, ebx
add ebx, eax
add eax, 0xb2afa5f5
sub eax, 0xb2afa5f0
mov ecx, 0x61b097c0
sub ecx, 0x617097c0
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6cf736cd
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xaa257c6
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00402050
pop ecx
xor eax, eax
lea ecx, [ebp + 8]
push ecx
push eax
push esi
push 0x40274a
push eax
push eax
mov byte [esi + 0xfc], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xf4], eax
pop esi
pop ebp
ret

Function at 0x410d65
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x48725f
call fcn.004764c0
sub esp, 0x18
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00427a71
mov edi, 0xc8
push edi
push dword [esi + 4]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], 0x48a5b8
call fcn.0047799a
push edi
push ebx
push eax
mov dword [esi + 4], eax
call fcn.00477230
mov eax, dword [esi + 4]
mov dword [eax], edi
mov ecx, dword [esi + 4]
add esp, 0x14
push 2
pop eax
mov dword [ecx + 4], eax
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0x10]
push 0x4893fc
push str._soundmap_interface_button
lea ecx, [ebp - 0x24]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x23], bl
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], 0x437f0000
mov byte [esi + 0x3c], 0xff
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x70], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x64], ebx
call fcn.0042a60a
mov ecx, dword [0x4b2778]
mov ecx, dword [ecx + 4]
push eax
push dword [ecx + 0x18]
mov byte [ebp - 4], 1
call fcn.0042a0b8
mov ecx, dword [esi + 4]
mov dword [ecx + 0x7c], eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0042a4e1
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x411d0b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x487291
call fcn.004764c0
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [esi], 0x48a974
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], eax
call fcn.0042a4ca
mov eax, dword [ebp + 8]
push 0x4130d5
push str.fasDefault
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [esi + 8], eax
call fcn.00402cfb
or dword [esi + 0x30], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 4], 0x411c84
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x411d18
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x487291
call fcn.004764c0
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [esi], 0x48a974
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], eax
call fcn.0042a4ca
mov eax, dword [ebp + 8]
push 0x4130d5
push str.fasDefault
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [esi + 8], eax
call fcn.00402cfb
or dword [esi + 0x30], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 4], 0x411c84
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x412bd6
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x487329
call fcn.004764c0
sub esp, 0xc
push ebx
push esi
push edi
push 0x10
mov esi, ecx
call fcn.00475fe5
pop ecx
mov dword [ebp - 0x18], eax
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x412c11
push str.SoftwareKraiSoftFluff_em_Up
push reloc.DSOUND.dll_DirectSoundCreate
mov ecx, eax
call fcn.0041bc0a
mov ebx, eax
jmp 0x412c13
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.0041bc48
cmp dword [esi + 0x2dc], 0xffffffff
mov dword [ebp - 0x10], edi
jne 0x412cd0
push 0x49d558
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0x2dc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x412c9b
push dword [esi + 0x2dc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
or dword [esi + 0x2dc], 0xffffffff
push 4
lea eax, [ebp - 0x18]
push eax
push str.data
mov ecx, ebx
call fcn.0041bd80
test al, al
je 0x412cd0
mov eax, dword [ebp - 0x18]
cmp eax, edi
mov dword [esi + 0x2d8], eax
je 0x412c96
cmp eax, dword [esi + 0x224]
je 0x412c96
mov dword [ebp - 0x10], 1
jmp 0x412cd0
mov dword [ebp - 0x10], edi
jmp 0x412cd0
push 4
lea eax, [ebp - 0x14]
mov dword [esi + 0x2d8], edi
mov dword [ebp - 0x10], edi
push eax
mov edi, str.data
push edi
mov ecx, ebx
call fcn.0041bd80
mov eax, dword [esi + 0x224]
mov dword [ebp - 0x14], eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
mov ecx, ebx
call fcn.0041bcdb
xor edi, edi
mov ecx, ebx
call fcn.0041bc8b
mov ecx, ebx
call fcn.0041bc6b
cmp ebx, edi
je 0x412cea
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x415222
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x487329
call fcn.004764c0
sub esp, 0x20c
push ebx
push 0x48b050
mov ebx, ecx
call fcn.00476cf0
test eax, eax
pop ecx
jne 0x4153cb
push esi
push edi
push 0x10
call fcn.00475fe5
pop ecx
mov dword [ebp - 0x18], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x415274
push str.SoftwareKraiSoftFluff_em_Up
push reloc.DSOUND.dll_DirectSoundCreate
mov ecx, eax
call fcn.0041bc0a
mov dword [ebp - 0x18], eax
jmp 0x415277
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.0041bc48
mov ecx, dword [0x4b29a8]
push str.Checking_for_registration:
mov dword [ebp - 0x14], esi
call fcn.0040c82f
mov esi, str.email
lea edi, [ebp - 0x218]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x7e
pop ecx
xor eax, eax
lea edi, [ebp - 0x212]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.0041bd06
test al, al
mov byte [ebp - 0xd], al
je 0x415315
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
je 0x415315
mov eax, dword [0x4b2924]
test eax, eax
je 0x4152ee
push eax
call fcn.00475fe0
and dword [0x4b2924], 0
pop ecx
push dword [ebp - 0x14]
call fcn.00476cf0
inc eax
push eax
call fcn.00475fe5
push dword [ebp - 0x14]
mov dword [0x4b2924], eax
push eax
call fcn.00476bf0
add esp, 0x10
push 0x48b030
jmp 0x41531a
push str.failed_n
mov ecx, dword [0x4b29a8]
call fcn.0040c82f
cmp byte [ebp - 0xd], 0
je 0x415331
cmp byte [ebp + 8], 0
je 0x4153a0
cmp byte [ebp + 8], 0
je 0x41534e
cmp dword [ebx + 0xe4], 1
jne 0x41534e
push 0
push dword [ebx + 0x224]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x41319e
push dword [ebx + 0x224]
push 0x69
push dword [ebx + 0x220]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp byte [ebp + 8], 0
mov esi, eax
je 0x415381
cmp dword [ebx + 0xe4], 1
jne 0x415381
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
test esi, esi
je 0x41538e
mov eax, dword [0x4b2924]
test eax, eax
jne 0x415393
mov eax, 0x489ea4
push eax
push str.email
mov ecx, edi
call fcn.0041bca3
mov ecx, edi
call fcn.0041bc8b
mov ecx, edi
call fcn.0041bc6b
test edi, edi
je 0x4153ba
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
cmp dword [ebp - 0x14], 0
pop edi
pop esi
je 0x4153cb
push dword [ebp - 0x14]
call fcn.00477c00
pop ecx
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41a506
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x48be18
mov dword [esi + 0x20], ebx
call fcn.00476cf0
inc eax
push eax
call fcn.00477bee
push dword [ebp + 8]
mov dword [esi + 0x24], eax
push eax
call fcn.00476bf0
add esp, 0x10
lea eax, [esi + 8]
push eax
mov dword [esi + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x7f
pop ecx
xor eax, eax
mov byte [ebp - 0x20c], bl
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x200
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.00477bee
pop ecx
mov ebx, eax
push ebx
push edi
push dword [ebp - 8]
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41a620
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x489d0c
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41a620
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edi, eax
mov edx, 0xffff
shr eax, 0x10
and edi, edx
push edi
push eax
mov eax, ecx
and eax, edx
push eax
shr ecx, 0x10
push ecx
lea eax, [ebp - 0x60c]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x60c]
push eax
call fcn.00476cf0
inc eax
push eax
call fcn.00477bee
lea ecx, [ebp - 0x60c]
push ecx
push eax
mov dword [esi + 0x28], eax
call fcn.00476bf0
add esp, 0x28
test ebx, ebx
je 0x41a62b
push ebx
call fcn.00477c00
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x41bca3
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x41bcb0
xor al, al
jmp 0x41bcd7
push dword [esp + 0xc]
call fcn.00476cf0
pop ecx
inc eax
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb al, al
inc al
pop esi
ret 8

Function at 0x41bcdb
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 8]
test eax, eax
jne 0x41bce6
xor al, al
jmp 0x41bd03
push dword [esp + 0xc]
push dword [esp + 0xc]
push 3
push 0
push dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb al, al
inc al
ret 0xc
Function at 0x41bd06
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx + 8], 0
jne 0x41bd17
xor al, al
jmp 0x41bd7b
push edi
push 0x800
call fcn.00477bee
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 0x800
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41bd54
test edi, edi
je 0x41bd50
push edi
call fcn.00477c00
pop ecx
xor al, al
jmp 0x41bd7a
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00477bee
mov ecx, dword [ebp + 0xc]
push edi
push eax
mov dword [ecx], eax
call fcn.00476bf0
add esp, 0xc
test edi, edi
je 0x41bd78
push edi
call fcn.00477c00
pop ecx
mov al, 1
pop edi
pop ebx
leave
ret 8

Function at 0x41d150
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
jge 0x41d164
inc esi
push 0x11
call edi
test ax, ax
jge 0x41d170
add esi, 4
test byte [esp + 0xf], 0x20
je 0x41d179
inc esi
inc esi
pop edi
mov eax, esi
pop esi
ret

Function at 0x41d17e
Capabilities:
Log keystrokes via polling

Disassembly:
mov al, byte [esp + 4]
push esi
xor esi, esi
test al, 4
je 0x41d18a
inc esi
test al, 8
je 0x41d191
add esi, 4
test al, 1
je 0x41d198
add esi, 8
test al, 2
je 0x41d19f
add esi, 0x10
test al, 0x10
je 0x41d1a6
add esi, 0x20
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x41d1b5
inc esi
inc esi
mov eax, esi
pop esi
ret

Function at 0x41d32e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 5
lea eax, [ebp - 8]
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, 0x48d298
lea edi, [ebp - 0x14]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x11]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00476c00
lea eax, [ebp - 0x14]
push eax
call fcn.0042a6a3
add esp, 0xc
mov ecx, 0x409
cmp eax, ecx
pop edi
pop esi
je 0x41d38a
cmp eax, 0x419
je 0x41d38a
mov eax, ecx
leave
ret