joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f4e
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
mov dword [ebp - 8], ecx
cmp dword [eax], ecx
je 0x404fcb
push esi
mov esi, dword [ebp + 0x10]
cmp esi, ecx
push edi
jle 0x404f75
mov eax, dword [ebp + 0xc]
add eax, ecx
not byte [eax]
inc ecx
cmp ecx, esi
jl 0x404f69
lea eax, [esi + 7]
push eax
mov dword [ebp - 4], eax
call fcn.00408cf9
push dword [ebp + 0x10]
mov ebx, eax
push dword [ebp + 0xc]
add esi, 5
mov word [ebx], si
lea edi, [ebx + 2]
mov esi, 0x434fa4
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 7]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00419870
mov eax, dword [ebp + 8]
add esp, 0x10
push 0
push dword [ebp - 4]
push ebx
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
pop edi
pop esi
cmp eax, 0xffffffff
je 0x404fce
cmp eax, dword [ebp - 4]
jne 0x404fce
mov dword [ebp - 8], 1
jmp 0x404fce
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x404fd9
push ebx
call fcn.00408d28
pop ecx
mov eax, dword [ebp - 8]
pop ebx
leave
ret

Function at 0x405172
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x8e0
mov eax, dword [0x433c20]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x78]
xor ebx, ebx
mov dword [ebp - 0x870], eax
mov dword [ebp - 0x86c], ecx
mov dword [ebp - 0x868], edi
lea eax, [ebp - 0x85c]
cmp edx, ebx
je 0x4051b0
mov eax, edx
xor edx, edx
mov word [eax], dx
mov esi, dword [ecx]
mov dword [ebp - 0x864], ebx
cmp esi, ebx
je 0x4052ce
cmp edi, ebx
je 0x4052ce
push 0xc7
lea eax, [ebp - 0x5b]
push ebx
push eax
mov byte [ebp - 0x5c], dl
call fcn.00415580
add esp, 0xc
push ebx
push 2
lea eax, [ebp - 0x5c]
push eax
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
call esi
cmp eax, 0xffffffff
je 0x4052ce
cmp eax, ebx
je 0x4052ce
movzx edi, word [ebp - 0x5c]
lea eax, [edi + 2]
push eax
call fcn.00408cf9
pop ecx
mov dword [ebp - 0x860], eax
test edi, edi
jle 0x4052b9
push 0
mov eax, edi
sub eax, ebx
push eax
mov eax, dword [ebp - 0x860]
add eax, ebx
push eax
mov eax, dword [ebp - 0x86c]
push dword [eax]
call esi
cmp eax, 0xffffffff
je 0x405297
test eax, eax
je 0x405297
add ebx, eax
cmp edi, ebx
jg 0x40521f
push 5
pop ecx
cmp ebx, ecx
jl 0x4052b9
mov edi, dword [ebp - 0x860]
sub ebx, ecx
mov esi, 0x434fa4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4052b9
mov ecx, dword [ebp - 0x860]
test ebx, ebx
jle 0x405277
lea eax, [ecx + 5]
mov edx, ebx
not byte [eax]
inc eax
dec edx
jne 0x405271
mov esi, dword [ebp - 0x870]
mov eax, dword [esi]
add ecx, 5
cmp eax, ebx
jl 0x40529f
push ebx
push ecx
push dword [ebp - 0x868]
call fcn.00419870
mov dword [esi], ebx
jmp 0x4052ac
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x4052b9
push eax
push ecx
push dword [ebp - 0x868]
call fcn.00419870
add esp, 0xc
mov dword [ebp - 0x864], 1
cmp dword [ebp - 0x860], 0
je 0x4052ce
push dword [ebp - 0x860]
call fcn.00408d28
pop ecx
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp - 0x864]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413157
add ebp, 0x70
leave
ret
Function at 0x40551f
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.00417a30
mov eax, dword [0x433c20]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
mov eax, dword [ebp + 0xf98]
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
xor ebx, ebx
push ebx
mov dword [ebp - 0x7c], eax
push 4
lea eax, [ebp - 0x78]
push eax
push dword [edi]
call esi
cmp eax, 4
je 0x405565
xor eax, eax
jmp 0x4055ad
cmp dword [ebp - 0x78], ebx
jbe 0x40559c
push 0
push 0x1000
lea eax, [ebp - 0x74]
push eax
push dword [edi]
call esi
mov dword [ebp - 0x80], eax
test eax, eax
je 0x40559c
mov ecx, dword [ebp - 0x7c]
push dword [ecx]
push eax
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.0041380e
add ebx, dword [ebp - 0x80]
add esp, 0x10
cmp ebx, dword [ebp - 0x78]
jb 0x40556a
mov eax, dword [ebp - 0x7c]
push dword [eax]
call fcn.00413630
cmp ebx, dword [ebp - 0x78]
pop ecx
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0xf8c]
pop esi
xor ecx, ebp
pop ebx
call fcn.00413157
add ebp, 0xf90
leave
ret

Function at 0x4055c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x405635
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 4]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [eax], esi
call fcn.00408cf9
push esi
mov edi, eax
push 0
push edi
call fcn.00415580
push esi
push dword [ebp - 4]
push edi
call fcn.00419870
add esp, 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret

Function at 0x40563b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x405668
push dword [ebp + 8]
call fcn.004056de
pop ecx
cmp eax, dword [ebp + 0x10]
jne 0x405668
inc ebx
jmp 0x4056d5
mov edi, 0x200000
push edi
call fcn.0041452a
pop ecx
mov esi, eax
push esi
push dword [ebp + 0x10]
mov dword [esp + 0x18], edi
push dword [ebp + 0xc]
lea edi, [esp + 0x1c]
call fcn.00405733
add esp, 0xc
test eax, eax
je 0x4056ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0041418d
pop ecx
call fcn.0040409d
mov edi, dword [esp + 0x10]
push eax
lea ebx, [edi + esi]
mov dword [esp + 0x18], eax
call fcn.00404176
add edi, dword [esp + 0x18]
pop ecx
push edi
push esi
push dword [ebp + 8]
call fcn.004057a1
add esp, 0xc
mov ebx, eax
dec ebx
neg ebx
sbb ebx, ebx
inc ebx
push esi
call fcn.00414a9d
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4056de
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push connect
push dword [ebp + 8]
or esi, 0xffffffff
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
jne 0x40570d
mov edx, esi
jmp 0x40572c
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
jne 0x405723
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4057a1
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4057c1
mov eax, dword [ebp + 8]
call fcn.0040580c
test eax, eax
je 0x405807
push edi
push esi
push esi
push 2
push esi
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x405806
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jne 0x4057ff
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x40580c
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40581f
xor eax, eax
pop esi
ret
test al, 1
je 0x405826
xor eax, 1
test al, 4
je 0x40582d
xor eax, 4
test al, 2
je 0x405834
xor eax, 2
test al, 0x20
je 0x40583b
xor eax, 0x20
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
pop esi
ret
Function at 0x40702a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x407035
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x4070e7
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x42dc20]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x42dc20]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x42dc20]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x42dc20]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x42dc20]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x42dc20]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x42dc20]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x42dc20]
inc ecx
sub edi, 8
dec esi
jne 0x40704c
pop ebx
test edi, edi
je 0x407100
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x42dc20]
inc ecx
dec edi
jne 0x4070eb
pop esi
not eax
pop edi
ret

Function at 0x407105
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x42dc20]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x42dc20]
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x40777a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x4077aa
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4077a5
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4077d2
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4077bb
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00419870
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret
Function at 0x408482
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [ebx], 0
push esi
push edi
jne 0x408528
cmp dword [ebx + 4], 0xffffffff
jne 0x408528
lea esi, [ebx + 0x244]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4084af
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp ax, 0x5c
je 0x4084e6
cmp ax, 0x2f
je 0x4084e6
dec esi
dec esi
mov ax, word [esi + 2]
inc esi
inc esi
test ax, ax
jne 0x4084d3
mov edi, esi
mov esi, 0x42e6bc
movsd dword es:[edi], dword [esi]
push 0x20
call fcn.00408cf9
and dword [eax + 0x1c], 0
and dword [eax + 0xc], 0
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x14]
push eax
mov byte [eax], 0
mov byte [eax + 1], 1
mov byte [eax + 0x10], 0
mov dword [eax + 0x18], ecx
call fcn.004079f3
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x40852d
mov eax, 0x1000000
pop edi
pop esi
pop ecx
ret 8

Function at 0x413157
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433c20]
jne 0x413161
repz ret
jmp fcn.00417a5b

Function at 0x422a5b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041bedf
and dword [ebp - 4], 0
cmp dword [0x437abc], 0
mov ebx, eax
jne 0x422b0c
push 0x42bdfc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422bbd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42bdf0
push edi
call esi
test eax, eax
je 0x422bbd
push eax
call fcn.0041be6d
mov dword [esp], 0x42bde0
push edi
mov dword [0x437abc], eax
call esi
push eax
call fcn.0041be6d
mov dword [esp], 0x42bdcc
push edi
mov dword [0x437ac0], eax
call esi
push eax
call fcn.0041be6d
mov dword [esp], 0x42bdb0
push edi
mov dword [0x437ac4], eax
call esi
push eax
call fcn.0041be6d
pop ecx
mov dword [0x437acc], eax
test eax, eax
je 0x422b0c
push 0x42bd98
push edi
call esi
push eax
call fcn.0041be6d
pop ecx
mov dword [0x437ac8], eax
mov eax, dword [0x437ac8]
cmp eax, ebx
je 0x422b64
cmp dword [0x437acc], ebx
je 0x422b64
push eax
call fcn.0041bee8
push dword [0x437acc]
mov esi, eax
call fcn.0041bee8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422b64
test edi, edi
je 0x422b64
call esi
test eax, eax
je 0x422b5b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422b5b
test byte [ebp - 0xc], 1
jne 0x422b64
or dword [ebp + 0x10], 0x200000
jmp 0x422b9d
mov eax, dword [0x437ac0]
cmp eax, ebx
je 0x422b9d
push eax
call fcn.0041bee8
pop ecx
test eax, eax
je 0x422b9d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422b9d
mov eax, dword [0x437ac4]
cmp eax, ebx
je 0x422b9d
push eax
call fcn.0041bee8
pop ecx
test eax, eax
je 0x422b9d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x437abc]
call fcn.0041bee8
pop ecx
test eax, eax
je 0x422bbd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422bbf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402afc
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x442125
call fcn.00441730
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x44a580
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
push 3
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.00403337
lea ecx, [esi + 0x18]
push 3
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.00403337
lea ecx, [esi + 0x24]
push 3
mov byte [ebp - 4], 2
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.00403337
lea ecx, [esi + 0x30]
push 3
mov byte [ebp - 4], 3
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.00403337
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], 4
mov dword [esi + 0x3c], 0x44a538
mov dword [esi], 0x44a550
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x44216c
call fcn.00441730
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x44a538
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00428471
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00428448
push dword [esi + 0x30]
call fcn.00428622
push dword [esi + 0x24]
call fcn.00428622
push dword [esi + 0x18]
call fcn.00428622
push dword [esi + 0xc]
call fcn.00428622
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword [esi], 0x44a5b0
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret

Function at 0x405e1e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x405e68
cmp dword [ebp - 0x84], 2
jne 0x405e68
cmp dword [ebp - 0x90], 5
jb 0x405e68
jbe 0x405e5a
mov al, 1
leave
ret
cmp dword [ebp - 0x8c], 1
jb 0x405e68
seta al
leave
ret
xor al, al
leave
ret
Function at 0x40831c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x442c2b
call fcn.00441730
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 3
mov dword [ebp - 0x10], esi
mov dword [esi], 0x44ac78
mov dword [esi + 4], 0x44ac68
mov dword [esi + 8], 0x44ac38
mov dword [esi + 0xc], 0x44ac28
mov dword [esi + 0x10], 0x44ac18
mov dword [esi + 0x14], 0x44ac08
lea ecx, [esi + 0x20]
mov dword [esi + 0x18], 0x44abf8
mov dword [esi + 0x1c], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00403337
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
call fcn.004083fa
push 4
lea eax, [esi + 0x90]
pop ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x44abf0
lea eax, [esi + 0xac]
mov dword [esi + 0xa4], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0x44abe8
mov byte [esi + 0xc0], bl
or dword [esi + 0xc4], 0xffffffff
mov dword [esi], 0x44abb8
mov dword [esi + 4], 0x44aba8
mov dword [esi + 8], 0x44ab78
mov dword [esi + 0xc], 0x44ab68
mov dword [esi + 0x10], 0x44ab58
mov dword [esi + 0x14], 0x44ab48
mov dword [esi + 0x18], 0x44ab38
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40b1bc
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x443348
call fcn.00441730
sub esp, 0x40
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp si, ax
jne 0x40b2c0
mov esi, eax
push 4
shr ax, 0xa
lea ecx, [ebp - 0x4c]
and esi, 0x3ff
mov ebx, eax
call fcn.00402708
mov edi, 0x44a538
mov dword [ebp - 0x4c], edi
and dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
movzx ecx, si
call fcn.0040b2ef
lea ecx, [ebp - 0x20]
call fcn.0040ad65
and dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
movzx eax, bx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x44]
jge 0x40b290
mov ecx, dword [ebp - 0x40]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 4], 0
je 0x40b290
push esi
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x38]
call fcn.0040350b
push 0x45a6f8
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040736e
mov edx, dword [eax]
mov ecx, 0x45c488
mov byte [ebp - 4], 3
call fcn.0040ad59
mov bl, al
push dword [ebp - 0x2c]
call fcn.00428622
push dword [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00428622
pop ecx
test bl, bl
pop ecx
jne 0x40b2cf
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x40b228
push dword [ebp - 0x20]
call fcn.00428622
pop ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.00428471
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00428448
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push esi
mov ecx, 0x45c4b8
call fcn.004030cd
push dword [ebp - 0x20]
call fcn.00428622
pop ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 4], 4
jmp 0x40b2ac
Function at 0x40c06f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp ecx, 0x3e8
jl 0x40c0dc
push esi
push ecx
mov ecx, dword [0x45c06c]
imul ecx, ecx, 0x18c
add ecx, 0x45c0e4
call fcn.004199e7
mov eax, dword [0x45c06c]
mov esi, eax
imul esi, esi, 0x18c
add esi, 0x45c258
mov ecx, dword [esi]
test ecx, ecx
je 0x40c0bb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi], 0
mov eax, dword [0x45c06c]
imul eax, eax, 0x18c
add eax, 0x45c25c
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x40c0d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esi], 0
mov al, 1
pop esi
leave
ret
lea eax, [ecx - 0x21c]
cmp eax, 0x10
ja case.default.0x40c0eb
jmp dword [eax*4 + 0x40c261]
push 1
jmp 0x40c114
mov ecx, dword [0x45c06c]
imul ecx, ecx, 0x18c
add ecx, 0x45c0e4
call fcn.004172d7
jmp 0x40c259
push 0
mov ecx, dword [0x45c06c]
imul ecx, ecx, 0x18c
add ecx, 0x45c0e4
call fcn.00417316
jmp 0x40c259
push 0
jmp 0x40c136
push 1
mov ecx, dword [0x45c06c]
imul ecx, ecx, 0x18c
add ecx, 0x45c0e4
call fcn.0041729b
jmp 0x40c259
mov ecx, dword [0x45c06c]
imul ecx, ecx, 0x18c
add ecx, 0x45c0e4
call fcn.0041b069
jmp 0x40c259
push dword [0x45c06c]
push 0
push 0
jmp 0x40c184
push dword [0x45c06c]
push 0
push 1
mov ecx, 0x45c060
call fcn.00401e47
jmp 0x40c259
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x45c06c]
imul ecx, ecx, 0x18c
shr eax, 0xf
not al
and al, 1
add ecx, 0x45c0e4
mov byte [ebp - 4], al
push dword [ebp - 4]
call fcn.00419f4a
jmp 0x40c259
mov ecx, 0x45c060
call fcn.004106b7
jmp 0x40c259
mov ecx, 0x45c060
call fcn.004144eb
jmp 0x40c259
mov ecx, 0x45c060
call fcn.0041c576
jmp 0x40c259
mov ecx, 0x45c060
call fcn.0041ce67
jmp 0x40c259
mov ecx, dword [0x45c06c]
imul ecx, ecx, 0x18c
add ecx, 0x45c0e4
call fcn.00418c79
jmp 0x40c259
mov ecx, dword [0x45c06c]
imul ecx, ecx, 0x18c
add ecx, 0x45c0e4
call fcn.0041b08a
jmp 0x40c259
mov ecx, dword [0x45c06c]
imul ecx, ecx, 0x18c
add ecx, 0x45c0e4
call fcn.0041a9e6
jmp 0x40c259
mov ecx, dword [0x45c06c]
imul ecx, ecx, 0x18c
add ecx, 0x45c0e4
call fcn.0041ae1c
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x40dde8
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
lea eax, [esp]
neg cl
sbb ecx, ecx
and cl, 1
add ecx, 0x100
or cx, 0x4010
push ecx
push 0x160
push eax
push 0x90
push 0x45c4d4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
add esp, 0x160
ret
Function at 0x414bfa
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x444720
call fcn.00441730
sub esp, 0x60
push ebx
xor ebx, ebx
cmp byte [0x45c45c], bl
push esi
mov esi, ecx
je 0x414c7b
mov eax, dword [edx]
cmp dword [esi + 4], ebx
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x140
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ebx
jne 0x414c3a
xor esi, esi
jmp 0x414c3c
mov esi, dword [esi]
push str.ShellExecuteExW
push 0x45aaf0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x414d24
lea ecx, [ebp - 0x6c]
push ecx
call eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x414cef
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x140
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.0043a509
mov edx, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0043a509
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
mov dword [ebp - 0x50], 1
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x4c]
mov dword [eax], ecx
call fcn.00428622
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call fcn.00428622
pop ecx
pop ecx
cmp esi, 0x20
ja 0x414d24
cmp esi, 0x1f
jne 0x414d24
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00429905
push 0x10
push 0x45a144
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x30]
call fcn.00428622
pop ecx
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8