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

Disassembly:
push 0xffffffffffffffff
push 0x518756
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x51e14c
mov dword [esp + 0x2c], 4
call fcn.004effd0
mov eax, dword [esi + 0x1998]
lea edi, [esi + 0x1994]
push eax
mov byte [esp + 0x30], 3
mov ecx, dword [eax]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.004f0980
mov eax, dword [edi + 4]
push eax
call fcn.00512b1a
mov ebp, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
xor ebx, ebx
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x10]
xor edi, edi
call ebp
mov eax, dword [0x5e66ac]
dec eax
mov dword [0x5e66ac], eax
jne 0x4ef041
mov edi, dword [0x5dce70]
mov dword [0x5dce70], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp edi, ebx
je 0x4ef058
push edi
call fcn.00512b1a
add esp, 4
lea ecx, [esi + 0x1114]
mov byte [esp + 0x2c], 2
call fcn.0049a0e0
lea ecx, [esi + 0x890]
mov byte [esp + 0x2c], 1
call fcn.0049a0e0
mov eax, dword [esi + 0x884]
lea edi, [esi + 0x880]
push eax
mov byte [esp + 0x30], bl
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004f0d50
mov eax, dword [edi + 4]
push eax
call fcn.00512b1a
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x10]
xor edi, edi
call ebp
mov eax, dword [0x5e66a4]
dec eax
mov dword [0x5e66a4], eax
jne 0x4ef0cb
mov edi, dword [0x5e66a8]
mov dword [0x5e66a8], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp edi, ebx
je 0x4ef0e2
push edi
call fcn.00512b1a
add esp, 4
mov edi, dword [esi + 0x874]
mov ecx, dword [esi + 0x87c]
add esi, 0x870
cmp ecx, ebx
mov eax, dword [edi]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], eax
je 0x4ef13f
mov ecx, eax
cmp eax, ecx
jne 0x4ef13f
mov edx, dword [edi + 4]
mov ecx, esi
push edx
call fcn.004f1300
mov eax, dword [esi + 4]
mov ecx, dword [0x5dce70]
lea edx, [esp + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebx
push edx
mov dword [eax], eax
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [eax + 8], eax
call fcn.004b4ac0
jmp 0x4ef167
cmp eax, edi
je 0x4ef167
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.004f0920
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.004f0ed0
cmp dword [esp + 0x10], edi
jne 0x4ef143
mov eax, dword [esi + 4]
push eax
call fcn.00512b1a
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x14]
xor esi, esi
call ebp
mov eax, dword [0x5e66ac]
dec eax
mov dword [0x5e66ac], eax
jne 0x4ef19a
mov esi, dword [0x5dce70]
mov dword [0x5dce70], ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x4ef1b1
push esi
call fcn.00512b1a
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4f1d80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5187f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004fb040
lea ebp, [esi + 0xef0]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004e40f0
lea ecx, [esi + 0x2f74]
mov byte [esp + 0x18], 1
mov dword [esi + 0xef4], 0x51e114
call fcn.004e89f0
lea ecx, [esi + 0x3f3c]
mov dword [esi + 0x3f7c], edi
xor eax, eax
mov dword [esi], 0x51e1ac
mov dword [esi + 4], 0x51e198
mov dword [esi + 0x28], 0x51e194
mov dword [esi + 0x30], 0x51e184
mov dword [ebp], 0x51e16c
mov dword [esi + 0xef4], 0x51e150
mov dword [esi + 0x3f64], edi
mov dword [esi + 0xf04], 0x78
mov dword [esi + 0xf08], 0xa
mov dword [esi + 0xef8], edi
mov word [esi + 0xf1c], di
mov word [esi + 0x1f1c], di
mov dword [esi + 0xf10], edi
mov dword [esi + 0xf14], 0xff0000
mov dword [esi + 0x2f6c], edi
mov dword [esi + 0x2f70], edi
mov dword [esi + 0x2f64], edi
mov dword [esi + 0x3f2c], edi
mov dword [esi + 0x2f68], edi
mov dword [esi + 0x3f34], edi
mov dword [esi + 0x3f38], 0xffffffff
mov dword [esi + 0x3f30], edi
mov dword [ecx], eax
xor edx, edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x3f4c]
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
lea edx, [esi + 0x3f68]
mov eax, 0x64
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [esi + 0xf00], eax
mov dword [esi + 0xefc], eax
lea eax, [esi + 0x3f84]
mov edx, eax
mov dword [esi + 0x3f5c], edi
mov dword [esi + 0xf0c], 0x808080
mov dword [esi + 0xf18], edi
mov dword [esi + 0x3f60], 5
mov dword [esi + 0x4c], 1
mov dword [esi + 0x3f78], 1
mov dword [esi + 0x3f80], 2
mov dword [edx], ecx
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax], 0x10
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x518831
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0xef0]
mov dword [esi], 0x51e1ac
mov dword [esi + 4], 0x51e198
mov dword [esi + 0x28], 0x51e194
mov dword [esi + 0x30], 0x51e184
mov dword [edi], 0x51e16c
mov dword [esi + 0xef4], 0x51e150
lea ecx, [esi + 0x2f74]
mov dword [esp + 0x18], 1
call fcn.004e8ab0
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004e4120
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004fb090
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4f3031
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2f6c]
test eax, eax
je 0x4f3044
call fcn.004f31d0
mov eax, dword [esi + 0xefc]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jl 0x4f3147
mov ecx, dword [esi + 0xf00]
cmp eax, ecx
jg 0x4f3147
test ecx, ecx
je 0x4f3147
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov ecx, dword [esi + 0x2f68]
test ecx, ecx
mov dword [esi + 0xefc], eax
je 0x4f30e9
lea edi, [esi + 0x2f74]
push eax
push 0x64
push 0
mov ecx, edi
call fcn.004e8ad0
mov eax, dword [esi + 0xefc]
mov ecx, dword [esi + 0xf00]
cmp eax, ecx
jge 0x4f3147
test edi, edi
je 0x4f30bc
lea eax, [esi + 0x2f78]
jmp 0x4f30be
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4f3147
test edi, edi
je 0x4f30e0
mov ecx, dword [esi + 0x2f7c]
lea eax, [esi + 0x2f78]
push 5
jmp 0x4f3144
xor eax, eax
push 5
mov ecx, dword [eax + 4]
jmp 0x4f3144
mov edx, dword [esi + 0x3f2c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push edx
call edi
mov eax, dword [esi + 0xefc]
mov ecx, dword [esi + 0x3f2c]
push 0
push eax
push 0x402
push ecx
call edi
mov edx, dword [esi + 0xefc]
mov eax, dword [esi + 0xf00]
cmp edx, eax
jge 0x4f3147
mov eax, dword [esi + 0x3f2c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4f3147
mov ecx, dword [esi + 0x3f2c]
push 5
push ecx
call ebx
cmp dword [esi + 0xefc], 0xffffffff
jne 0x4f318e
mov eax, dword [esi + 0x2f68]
test eax, eax
je 0x4f3183
lea edx, [esi + 0x2f74]
test edx, edx
je 0x4f3176
lea eax, [esi + 0x2f78]
push 0
mov eax, dword [eax + 4]
push eax
call ebx
pop edi
pop esi
pop ebx
ret
xor eax, eax
push eax
mov eax, dword [eax + 4]
push eax
call ebx
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esi + 0x3f2c]
push 0
push ecx
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4f31d0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2f7c]
test eax, eax
jne 0x4f332e
mov eax, dword [esi + 0x3f2c]
test eax, eax
jne 0x4f332e
push edi
call fcn.004f3700
test eax, eax
jne 0x4f32b0
test esi, esi
mov dword [esi + 0x2f68], 1
je 0x4f3213
lea eax, [esi + 0xef4]
jmp 0x4f3215
xor eax, eax
mov edx, dword [esi + 0x2f74]
lea edi, [esi + 0x2f74]
push eax
mov ecx, edi
call dword [edx + 0x48]
push 5
push 0x560ec0
push 0x560ec0
push str.IMG_PROGRESS
push 0x560ec0
mov ecx, edi
call fcn.004e8b20
mov eax, dword [esi + 0x12c]
mov ecx, dword [esi + 8]
push 1
push 0
push 0
push 2
push eax
push ecx
push str.ProgressBar
mov ecx, edi
call fcn.004f4e40
push 0
push 0x64
push 0
mov ecx, edi
call fcn.004e8ad0
test edi, edi
je 0x4f3296
mov edx, dword [esi + 0x2f7c]
lea eax, [esi + 0x2f78]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x8c]
pop edi
pop esi
ret
xor eax, eax
push eax
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x8c]
pop edi
pop esi
ret
mov ecx, dword [esi + 8]
mov dword [esi + 0x2f68], 0
mov eax, dword [0x5e3f3c]
push 0
push eax
push 2
push ecx
push 0
push 0
push 0
push 0
push 0x44000001
push str.ProgressBar
push 0x55f670
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0x3f2c], eax
call edi
mov edx, dword [esi + 0x3f2c]
push 0
push 0
push 0x409
push edx
call edi
mov eax, dword [esi + 0x3f2c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x8c]
pop edi
pop esi
ret
Function at 0x4f7210
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
call fcn.004f7c80
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4f726a
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
shr eax, 8
test al, al
jne 0x4f7246
push 2
call edi
shr eax, 8
test al, al
je 0x4f726a
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [esi + 8]
je 0x4f72ec
mov eax, dword [esi + 0x10c]
mov dword [esi + 0x110], 0xffffffff
cmp eax, 0xffffffff
mov dword [esi + 0x10c], 0xffffffff
mov dword [esi + 0x114], 0
je 0x4f729b
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1f4], 4
call dword [eax + 0x30]
mov eax, dword [esi + 0xec]
test eax, eax
je 0x4f72e6
mov ecx, dword [esi + 8]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.004fbc50
mov edx, dword [esi + 8]
mov ecx, edi
push edx
call fcn.004fbbe0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x12c]
push eax
push 0xffffffffffffffff
push 0x37ea
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
add esp, 8
ret
Function at 0x4fa9a0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x50
cmp word [ecx + 0x6d8], 0
push ebx
push ebp
push esi
lea esi, [ecx + 0x6d8]
push edi
jne 0x4fa9c1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
push 0
push esi
call fcn.0043db40
add esp, 8
test eax, eax
jne 0x4fa9d8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push 0
push 0x20
push 3
push 0
push 1
push SysReAllocStringLen
push esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4fab02
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4faa22
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
lea edi, [ebp + 2]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
je 0x4faa58
lea eax, [esp + 0x18]
push 0
push eax
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
cmp eax, 0x18
jbe 0x4fab02
mov ecx, 6
mov esi, ebx
lea edi, [esp + 0x1c]
add eax, 0xffffffe8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
mov ebp, esi
imul ebp, dword [esp + 0x28]
cmp ebp, eax
ja 0x4fab02
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x48], eax
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x40]
push 0
push ecx
neg esi
push edx
mov dword [esp + 0x4c], 0x28
mov dword [esp + 0x54], esi
mov word [esp + 0x58], 1
mov word [esp + 0x5a], 0x20
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, dword [esp + 0x10]
mov ecx, ebp
mov edx, ecx
lea esi, [ebx + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x14], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x4fe160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4fe16b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4fe26e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x51f898]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x51f898]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x51f898]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x51f898]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x51f898]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x51f898]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x51f898]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x51f898]
xor eax, edx
inc ecx
dec edi
jne 0x4fe186
pop edi
test esi, esi
je 0x4fe290
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x51f898]
xor eax, edx
inc ecx
dec esi
jne 0x4fe272
pop esi
pop ebx
not eax
ret

Function at 0x4fec50
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x4fec91
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4fec86
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x4feca4
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x4ffc70
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x4ffd09
cmp dword [edi + 4], 0xffffffff
jne 0x4ffd09
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x52e88c
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
add esp, 8
cmp esi, 1
jne 0x4ffccf
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4ffccf
pop edi
pop esi
mov eax, 0x2000000
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push esi
push ecx
push ebx
call fcn.004fe9c0
add esp, 0x10
test eax, eax
jne 0x4ffcf2
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
ret 0xc
push eax
call fcn.004fef50
add esp, 4
mov dword [edi], eax
mov eax, dword [0x5e66c0]
pop edi
pop esi
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebx
pop ecx
ret 0xc

Function at 0x500190
Capabilities:
Create directory

Disassembly:
sub esp, 0x410
push edi
mov edi, dword [esp + 0x41c]
test edi, edi
je 0x500236
mov ax, word [edi]
test ax, ax
je 0x500236
push ebx
push esi
mov esi, edi
mov ecx, edi
cmp ax, 0x2f
je 0x5001c4
cmp ax, 0x5c
jne 0x5001c6
mov esi, ecx
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x5001b8
mov ebx, dword [esp + 0x420]
cmp esi, edi
je 0x500203
sub esi, edi
lea eax, [esp + 0xc]
sar esi, 1
push esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x18]
mov word [esp + esi*2 + 0x18], 0
push ecx
push ebx
call fcn.00500190
add esp, 0x14
lea edx, [esp + 0x214]
push ebx
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [esp + 0x21c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea ecx, [esp + 0x214]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
pop ebx
pop edi
add esp, 0x410
ret
Function at 0x5008e0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5189bb
push eax
mov eax, 0x1260
mov dword fs:[0], esp
call fcn.00512b50
push esi
mov esi, dword [esp + 0x1274]
push edi
push 0x55df34
mov edi, ecx
push esi
call fcn.0043e030
add esp, 8
test eax, eax
je 0x500a42
lea eax, [esp + 0x220]
push 0x824
push eax
push 0
push esi
call fcn.0043e070
add esp, 0x10
test eax, eax
je 0x5009db
lea ecx, [esp + 0x220]
push 0x54c580
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x500992
lea edx, [esp + 0x220]
push 0x824
push edx
push 1
push esi
call fcn.0043e070
add esp, 0x10
cmp word [esp + 0x220], 0
jne 0x500992
lea eax, [esp + 0x220]
push 0x824
push eax
push 0
push esi
call fcn.0043e070
add esp, 0x10
lea ecx, [esp + 0x220]
push ecx
push 0x52e450
push 0x824
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [edi + 0x1046], 0
push edi
call fcn.004b9010
mov ecx, dword [esp + 0x126c]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x126c
ret 4
lea ecx, [esp + 8]
call fcn.004a9dd0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1278], 0
call fcn.004a9ea0
mov esi, eax
test esi, esi
je 0x500a29
push esi
lea ecx, [esp + 0xc]
call fcn.004a9fa0
test eax, eax
je 0x500a1f
push 0x824
push edi
push esi
lea ecx, [esp + 0x14]
call fcn.004a9fe0
push esi
lea ecx, [esp + 0xc]
call fcn.004a9f10
lea ecx, [esp + 8]
mov dword [esp + 0x1270], 0xffffffff
call fcn.004a9e20
jmp 0x5009b7
push 0x530a20
push esi
call fcn.0043e030
add esp, 8
test eax, eax
push esi
je 0x50099a
push 0x824
push edi
push 0x560ec0
push 0x555d28
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x5009b7
Function at 0x501c00
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x501c0c
jmp 0x4fbf80
ret

Function at 0x5029c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x518b42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea ebp, [esi + 0x24]
lea ebx, [esi + 0x28]
mov dword [esi], 0x51fd14
mov dword [esi + 0x2c], 0x51fcf4
mov dword [ebp], 0x51fd10
mov dword [ebx], 0x51fcf8
mov dword [esi + 0x34], 0x51fce4
mov dword [esi + 0x38], 0x51fcdc
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push eax
mov dword [esp + 0x30], 7
call edi
mov ecx, dword [esi + 4]
push 0x65
push ecx
call edi
mov edx, dword [esi + 4]
push 0x66
push edx
call edi
mov ecx, dword [esi + 0x285c]
test ecx, ecx
je 0x502a5f
call fcn.0050a6b0
mov ecx, dword [esi + 0x285c]
test ecx, ecx
je 0x502a55
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x285c], 0
lea ecx, [esi + 0x28c8]
mov byte [esp + 0x28], 6
call fcn.004df500
lea ecx, [esi + 0x2860]
mov byte [esp + 0x28], 5
call fcn.00501310
lea ecx, [esi + 0xf2c]
mov byte [esp + 0x28], 4
call fcn.004f4c90
lea ecx, [esi + 0x3c]
mov byte [esp + 0x28], 3
call fcn.004f4c90
mov ecx, esi
lea eax, [esi + 0x2c]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x28], 2
and ecx, eax
call fcn.004fbbc0
mov ecx, esi
mov byte [esp + 0x28], 1
neg ecx
sbb ecx, ecx
and ecx, ebx
call fcn.004e4120
mov ecx, esi
mov byte [esp + 0x28], 0
neg ecx
sbb ecx, ecx
and ecx, ebp
call fcn.004ee9b0
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.00500ac0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x5069b5
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
lea edx, [esp + 0xc]
or ebx, 0xffffffff
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.00507210
cmp dword [esp + 0xc], ebx
je 0x506a4f
mov eax, dword [esi + 0x2924]
test eax, eax
jne 0x506a3b
mov eax, dword [esi + 0x2848]
cmp dword [eax], 0
je 0x506a3b
cmp dword [esi + 0x2920], ebx
je 0x506a3b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x506a3b
mov eax, dword [esi + 0x2928]
test eax, eax
jne 0x506aa9
push 1
mov ecx, esi
call fcn.00508bc0
test eax, eax
je 0x506a2f
mov dword [esi + 0x292c], 1
jmp 0x506aa9
mov dword [esi + 0x292c], 0
jmp 0x506aa9
mov ecx, dword [esi + 0x284c]
test ecx, ecx
je 0x506aa9
mov edx, dword [ecx]
push 0
push 2
call dword [edx]
jmp 0x506aa9
mov ecx, dword [esi + 0x2930]
test ecx, ecx
je 0x506a7c
cmp eax, 3
jne 0x506a7c
mov ecx, dword [esi + 0x284c]
mov dword [esi + 0x2930], 0
test ecx, ecx
je 0x506aa9
mov eax, dword [ecx]
push 1
push 1
call dword [eax]
jmp 0x506aa9
mov ecx, dword [esi + 0x284c]
test ecx, ecx
je 0x506a8e
mov edx, dword [ecx]
push 0
push 1
call dword [edx]
call fcn.00420e00
mov eax, dword [eax + 4]
push 0
push 0x7534
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi + 0x2920], ebx
mov dword [esi + 0x2928], 0
pop esi
pop ebx
ret 4

Function at 0x506ac4
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
lea edx, [esp + 8]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push edi
push edx
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x292c], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.00507210
push 1
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x506b0e
mov dword [esi + 0x2924], 1
jmp 0x506b18
mov dword [esi + 0x2924], 0
cmp edi, 3
jne 0x506b2c
mov dword [esi + 0x2930], 1
pop edi
pop esi
ret 4
mov eax, dword [esi + 0x2848]
cmp dword [eax], 0
je 0x506b46
mov ecx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x2920], ecx
pop esi
ret 4
mov dword [esi + 0x2920], 0xffffffff
pop edi
pop esi
ret 4