joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416b80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov dword [ebp - 8], ecx
push esi
xor ebx, ebx
xor eax, eax
push edi
mov dword [ebp - 4], edx
xor ecx, ecx
mov byte [ebp + eax - 0x50], bl
add eax, 1
adc ecx, ebx
jne 0x416ba5
cmp eax, 0x40
jb 0x416b95
xor edi, edi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0xc], ebx
jb 0x416c36
ja 0x416bba
cmp dword [ebp + 8], ebx
jbe 0x416c36
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, ebx
je 0x416bdc
mov eax, edi
xor ecx, ecx
and eax, 0xff
or eax, ecx
jne 0x416bdc
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
cmp eax, ebx
jne 0x416c38
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
push esi
call dword [eax + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
cmp eax, 0x40
ja 0x416c3f
xor ecx, ecx
xor edx, edx
cmp eax, ebx
jbe 0x416c16
xor ecx, dword [ebp + edx - 0x50]
add edx, 4
cmp edx, eax
jb 0x416c0b
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x416c21
cmp ecx, dword [eax]
jne 0x416c3f
add edi, 1
adc dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jb 0x416bbd
ja 0x416c36
cmp edi, dword [ebp + 8]
jb 0x416bbd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
push 1
pop eax
jmp 0x416c38

Function at 0x4174e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x435be2
call fcn.00433e80
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.0041757a
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0040d5d1
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x419ab3
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x435f5e
call fcn.00433e80
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402980
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00419b0d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x419b5f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x435fa9
call fcn.00433e80
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.004224db
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0042e4c1
push dword [esi + 0x24]
call fcn.00401b54
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.0040155c
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0041a0db
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41b186
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4361aa
call fcn.00433e80
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x43a888
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x48]
mov dword [ebp - 4], edi
call fcn.00402980
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00402980
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi], fcn.0041aa4a
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42375f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x436c41
call fcn.00433e80
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.00402a53
and dword [ebp - 4], 0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00402a53
mov eax, dword [edi + 0x28]
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00402a53
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00402a53
mov al, byte [edi + 0x48]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x48], al
mov al, byte [edi + 0x49]
mov byte [esi + 0x49], al
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
mov al, byte [edi + 0x4b]
mov byte [esi + 0x4b], al
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov al, byte [edi + 0x4d]
mov byte [esi + 0x4d], al
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x401000
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
je 0x4011b7
cmp dword [ebp + 0x28], ebx
je 0x4011b7
push ebx
mov byte [0x4bc900], bl
call dword [sym.imp.ole32.dll_OleInitialize]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
cmp esi, ebx
jge 0x40105b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
mov esi, 0x4bc900
push str.0x_x:_CoInitialize_failed:_0x_x
push esi
call fcn.00402172
add esp, 0x10
mov eax, esi
jmp 0x4011bc
lea eax, [ebp - 4]
push eax
push 0x407528
push 1
push ebx
push 0x407518
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x401189
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x24], ebx
je 0x401099
mov eax, dword [ebp - 4]
push dword [ebp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp + 0xc], ebx
je 0x4010aa
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp word [ebp + 0x10], bx
je 0x4010bc
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp dword [ebp + 0x14], ebx
je 0x4010d0
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x1c], 0xffffffff
je 0x4010e2
mov eax, dword [ebp - 4]
push dword [ebp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
cmp dword [ebp + 0x20], ebx
je 0x4010f3
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
lea edx, [ebp + 8]
push edx
push 0x407508
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x401163
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0xffffffffffffffff
push dword [ebp + 0x28]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x20c]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov edi, eax
mov esi, 0x4bc900
cmp edi, ebx
jge 0x401157
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.0x_x:_Save_failed:_0x_x
push esi
call fcn.00402172
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
jmp 0x40117e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
mov esi, 0x4bc900
push str.0x_x:_QueryInterface_failed:_0x_x
push esi
call fcn.00402172
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4011a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
mov esi, 0x4bc900
push str.0x_x:_CoCreateInstance_failed:_0x_x
push esi
call fcn.00402172
add esp, 0x10
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [0x4bc900]
neg al
sbb eax, eax
and eax, esi
jmp 0x4011bc
mov eax, str.0xFFFFFFFF:_CommandLine_and_LinkName_are_required:_0x57
pop esi
pop ebx
leave
ret
Function at 0x403009
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4bc138
cmp edx, dword [eax]
je 0x40302b
add eax, 8
inc ecx
cmp eax, 0x4bc1c8
jl 0x40301c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4bc138]
jne 0x403159
mov eax, dword [0x4bc9b0]
cmp eax, 1
je 0x403133
test eax, eax
jne 0x40305c
cmp dword [0x4bc080], 1
je 0x403133
cmp edx, 0xfc
je 0x403159
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403093
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402410
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004021d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4030d6
lea eax, [ebp - 0x1a4]
push eax
call fcn.004021d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x407408
push edi
call fcn.004051a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402410
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402420
lea eax, [ebp - 0xa0]
push 0x4073e8
push eax
call fcn.00402420
push dword [esi + 0x4bc13c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402420
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040510c
add esp, 0x2c
pop edi
jmp 0x403159
lea eax, [ebp + 8]
lea esi, [esi + 0x4bc13c]
push 0
push eax
push dword [esi]
call fcn.004021d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
lea esi, [ebp - 0x30]
mov dword [esi], 0x30
mov dword [esi + 4], 0x1000
mov dword [esi + 8], 0x4015d0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov dword [section..data], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x28], str.ElasticCollisions
push 2
push 0
call sub.user32.dll_LoadIconA
mov dword [esi + 0x18], eax
mov dword [esi + 0x2c], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [esi + 0x1c], eax
push esi
call sub.user32.dll_RegisterClassExA
push 0
push dword [ebp + 8]
push 0
push 0
push 0x320
push 0x578
push 0
push 0x32
push 0x10ca0000
push str.ElasticCollisions
push str.ElasticCollisions
push 0
call sub.user32.dll_CreateWindowExA
mov ebx, eax
push 1
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_UpdateWindow
lea edi, [ebp - 0x4c]
push 0
push 0
push 0
push edi
call sub.user32.dll_GetMessageA
test eax, eax
je 0x4010c6
push edi
call sub.user32.dll_TranslateMessage
push edi
call sub.user32.dll_DispatchMessageA
jmp 0x4010a8
mov eax, dword [edi + 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a410
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret

Function at 0x40db10
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x40db19
mov eax, dword [esp + 0x2000]
add esp, 0xfffffb30
mov ebx, edx
mov esi, eax
lea edi, [esp + 0x10b4]
lea eax, [esp + 0xc14]
call fcn.0040638c
lea eax, [esp + 0xc40]
call fcn.0040638c
lea eax, [esp + 0xc6c]
call fcn.0040638c
push 0
lea ecx, [esp + 4]
mov edx, ebx
mov eax, esi
call fcn.0040574c
test al, al
jne 0x40db79
xor eax, eax
jmp 0x40dcc6
cmp byte [esp], 0
je 0x40db89
cmp byte [esp + 0xc98], 0
jne 0x40db90
xor eax, eax
jmp 0x40dcc6
mov eax, esp
call fcn.00405b5c
lea edx, [esp + 0xc98]
call fcn.00406ad8
test eax, eax
je 0x40dbbe
mov eax, esi
call fcn.00405b5c
lea edx, [esp + 0xc98]
call fcn.00406ad8
test eax, eax
je 0x40dbc5
xor eax, eax
jmp 0x40dcc6
xor ebx, ebx
mov eax, edi
mov ecx, 0x400
mov edx, esi
call fcn.0040f1c4
push ebx
push str.rtmp_d
mov eax, edi
call fcn.00405b5c
push eax
call fcn.0040f2ac
add esp, 0xc
mov eax, edi
xor edx, edx
call fcn.00406964
test al, al
je 0x40dc03
add ebx, 0x7b
cmp ebx, 0x2710
jl 0x40dbc7
mov eax, edi
xor edx, edx
call fcn.00406964
test al, al
je 0x40dc17
xor eax, eax
jmp 0x40dcc6
lea eax, [esp + 0x14b4]
mov ecx, 0x400
mov edx, esi
call fcn.0040f1c4
mov eax, esp
call fcn.00405b5c
push eax
lea eax, [esp + 0x14b8]
call fcn.00405b5c
pop edx
call fcn.0040f1b4
push edi
lea ecx, [esp + 0x14b8]
push ecx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
jne 0x40dc5a
xor eax, eax
jmp 0x40dcc6
lea eax, [esp + 0x18b4]
call fcn.0040dcd0
xor ebx, ebx
xor edx, edx
mov eax, esi
call fcn.00406964
test al, al
jne 0x40dc87
lea eax, [esp + 0x18b4]
xor ecx, ecx
mov edx, esi
call fcn.0040debc
mov ebx, eax
lea eax, [esp + 0x14b4]
push eax
push edi
call sub.KERNEL32.DLL_MoveFileA
test bl, bl
je 0x40dcb1
lea eax, [esp + 0x18b4]
call fcn.0040dfc0
lea eax, [esp + 0x18b4]
call fcn.0040e048
mov al, 1
push eax
lea eax, [esp + 0x18b8]
mov edx, 2
call fcn.0040dd24
pop eax
add esp, 0x24d4
pop edi
pop esi
pop ebx
ret
Function at 0x47fc64
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x524d84]
cmp byte [eax + 0xc], 0
je 0x47fdd1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47fdca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x529530], 0
jne 0x47fcb8
push 0x47fdd8
call sub.KERNEL32.DLL_GetModuleHandleA_1
mov ebx, eax
push 0x47fde0
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x529530], eax
cmp dword [0x51c9c4], 0
jne 0x47fdb3
push 0x47fdf0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x51c9c4], eax
cmp dword [0x51c9c4], 0
je 0x47fdb3
push 0x47fdfc
mov eax, dword [0x51c9c4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x529534], eax
push 0x47fe0c
mov eax, dword [0x51c9c4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x529538], eax
push 0x47fe20
mov eax, dword [0x51c9c4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x52953c], eax
push 0x47fe38
mov eax, dword [0x51c9c4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x529540], eax
push 0x47fe50
mov eax, dword [0x51c9c4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x529544], eax
push 0x47fe64
mov eax, dword [0x51c9c4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x529548], eax
push 0x47fe7c
mov eax, dword [0x51c9c4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x52954c], eax
push 0x47fe94
mov eax, dword [0x51c9c4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x529550], eax
push 0x47feb0
mov eax, dword [0x51c9c4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x529554], eax
push 0x47febc
mov eax, dword [0x51c9c4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x529558], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fdd1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x483e58
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.00405024
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x483ea7
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.00405294
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48b784
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x48b7d4]
test si, 4
je 0x48b798
or bl, 1
test si, 8
je 0x48b7a2
or bl, 4
test si, 1
je 0x48b7ac
or bl, 8
test si, 2
je 0x48b7b6
or bl, 0x10
test si, 0x10
je 0x48b7c0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48b7cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x10001ec8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1019e338], 0x67a
mov dword [0x1019e334], 0x1d3
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1018b57d]
mov dh, byte [eax + 0x1018b54e]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x10001ef3
lea eax, [ebp - 0x20]
mov dword [0x1019e338], 0x1461
mov dword [0x1019e334], 0x179e
mov dword [ebp - 0x30], eax
call fcn.10001c44
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10002c0b
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x10001ff6
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10001ffe
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], ecx
mov dword [0x1019e334], 0x1312
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x10], ecx
mov dword [0x1019e338], 0x1038
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10001ff6
mov eax, dword [ebp - 0x3c]
add eax, 0x1039
mov dword [0x1019e334], 0x1f5c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x10002231
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov dword [0x1019e334], 0x2e0
call fcn.10001090
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10002280
jmp 0x100023ae
mov dword [0x1019e334], 0x1682
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10002317
lea eax, [esp + 0x38]
mov dword [0x1019e334], 0x409
mov dword [esp + 0x18], eax
call fcn.1000265b
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x100023a6
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10002795
lea ecx, [0x1000257e]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], edx
mov dword [esp + 0x8c], 0x134e00
mov edx, dword [0x1019e320]
mov dword [esp + 0x88], edx
mov edx, dword [0x1019e324]
mov dword [esp + 0x74], edx
mov dword [0x1019e334], 0x229b
mov edx, dword [0x1019e328]
mov dword [esp + 0x5c], edx
mov edx, dword [0x1019e32c]
mov dword [esp + 0x84], edx
mov edx, dword [0x1019e330]
mov dword [esp + 0x60], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x1000225f
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x1000225f
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
mov dword [0x1019e334], 0x3e0
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x50], esi
mov dword [0x1019e338], 0xffffeca0
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10001ec8
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1019e334]
add ecx, 0xffffda83
mov dword [0x1019e338], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x100023b8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10001a6a
xor ecx, ecx
mov edx, eax
mov esi, dword [0x1019e334]
mov edi, esi
add edi, 0x21aa
mov dword [0x1019e338], edi
mov edi, dword [eax + 0x3c]
mov ebx, esi
add ebx, 0xfffffce1
mov dword [0x1019e334], ebx
mov edi, dword [eax + edi + 0x78]
add esi, 0x38d
mov dword [0x1019e334], esi
mov esi, edx
add esi, dword [eax + edi + 0x20]
mov eax, dword [eax + edi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
je 0x10002513
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x100024ac
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x41]
cmp dl, 0
setne ch
mov dh, byte [ebp - 0x42]
and dh, ch
and dh, cl
test dh, 1
mov dword [ebp - 0x3c], eax
jne 0x10002455
mov al, byte [ebp - 0x42]
test al, 1
jne 0x100024df
jmp 0x100024b5
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x30]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
jb 0x1000243b
jmp 0x10002513
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [edx + esi + 0x1c]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
add eax, ecx
mov dword [0x1019e334], 0x8c
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x4c]
add edx, dword [eax + esi*4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret