joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c85d
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x5816c5
call fcn.0055cfc5
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x44c9ee
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x44c9c0
sub eax, 1
je 0x44c8dc
sub eax, 1
je 0x44c8b4
sub eax, 1
je 0x44c8dc
push 0x5c1ccc
mov ecx, edi
call fcn.00407ab0
mov eax, edi
call fcn.0055cf74
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x44c89e
lea eax, [ebp - 0x4e8]
push eax
jmp 0x44c8a3
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x44c89e
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.00443263
test eax, eax
je 0x44c89e
lea ecx, [ebp - 0x700]
call fcn.00402830
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x44c976
test byte [ebp - 0x428], 0x18
jne 0x44c998
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x58ea24]
mov ecx, ebx
call esi
jmp 0x44c998
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x58ea24]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.00402880
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.004029b0
jmp 0x44c8aa
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x44c89e
lea eax, [ebp - 0x6f0]
jmp 0x44c8d9
call fcn.0041f3cd
int3

Function at 0x44cb66
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00492a12
call fcn.0042edb8
cmp dword [eax + 0x14], 0
jne 0x44cb81
mov ecx, esi
pop esi
jmp fcn.0044be42
pop esi
ret
Function at 0x44cec2
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x44d008
mov ecx, 0x5e5538
call fcn.0041e7e6
mov esi, eax
test esi, esi
je 0x44cffd
xor eax, eax
cmp word [esi + 8], ax
jne 0x44cfc7
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x44cf83
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x44cf49
push 0x59570c
call fcn.0044d046
pop ecx
test eax, eax
je 0x44cf49
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x44cf64
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44cf83
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x44cf89
push ebx
push edi
push eax
call fcn.0043d072
add esp, 0xc
jmp 0x44cf89
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 2
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.0041e2f9
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x44d002
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.004377d1
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x44cfca
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x44cfd8
push edi
call fcn.005637de
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.00402c30
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.0041f3cd
call fcn.0041f3e7
int3

Function at 0x45d07c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x5e6000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x45d0e6
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x45d0cb
lea eax, [ebp - 0x2ac]
push eax
jmp 0x45d0d0
push 0x598320
call fcn.00407ab0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0055cc1b
leave
ret 8
call fcn.0041f3cd
int3

Function at 0x45d5cb
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00402500
call fcn.0042edb8
cmp dword [eax + 0x14], 0
jne 0x45d5e6
mov ecx, esi
pop esi
jmp fcn.0045ce26
pop esi
ret
Function at 0x464a45
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x464a5e
call fcn.0042ed64
mov esi, dword [eax + 0xc]
push 0x5c09b4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x464aa0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x464aa0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x464aa0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00464aa9
jmp 0x464aa2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x48c68d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x48c814
je 0x48c83b
sub eax, 0xa1
je 0x48c83b
sub eax, 1
je 0x48c83b
dec eax
sub eax, 1
je 0x48c83b
sub eax, 1
je 0x48c83b
dec eax
sub eax, 1
je 0x48c83b
sub eax, 1
je 0x48c83b
sub eax, 0x58
jne 0x48c879
cmp dword [edi + 0xc0], 0xffffffff
je 0x48c83b
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x48c83b
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x48c769
sub eax, 1
jne 0x48c83b
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x48c758
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x58ea24]
mov ecx, edi
call esi
test eax, eax
jne 0x48c7b5
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x48c72e
jmp 0x48c893
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x48c893
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x58ea24]
mov ecx, edi
call esi
test eax, eax
jne 0x48c7b5
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x48c780
jmp 0x48c893
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x58ea24]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x58ea24]
mov ecx, edi
call esi
mov ecx, eax
call fcn.004303ef
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x58ea24]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x48c893
sub eax, 0x200
je 0x48c83b
sub eax, 1
je 0x48c83b
sub eax, 1
je 0x48c83b
dec eax
sub eax, 1
je 0x48c83b
sub eax, 1
je 0x48c83b
dec eax
sub eax, 1
je 0x48c83b
sub eax, 1
jne 0x48c879
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x48c85a
cmp dword [eax + 0x20], ebx
je 0x48c85a
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x48c879
cmp dword [eax + 0x20], ebx
je 0x48c879
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x48c898
lea eax, [edi + 0x2250]
test eax, eax
je 0x48c88f
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x48c898
xor eax, eax
inc eax
jmp 0x48c8a0
push esi
mov ecx, edi
call fcn.00484779
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4a8ed2
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5e6000]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x4a8efe
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4a8f29
cmp dword [0x5ed27c], 0
jne 0x4a8f29
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x4a8f25
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4a8f25
push edi
call fcn.0056e565
pop ecx
jmp 0x4a8fa0
mov eax, edi
jmp 0x4a8fa0
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00560490
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4a8faf
push esi
call fcn.0042a371
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push esi
push 1
push 2
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0055cc1b
leave
ret 4
call fcn.0041f3cd
int3
Function at 0x4c5a1a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x4c5b78
push esi
push edi
push 0x5a4c90
call fcn.00437704
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x4c5ab3
mov edi, dword [ebx + 0x168]
jmp 0x4c5a9f
mov esi, dword [edi + 8]
mov edi, dword [edi]
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c5a9f
push esi
call fcn.004254be
push eax
push 0x5e58b8
call fcn.00437665
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x4c5a9f
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x58ea24]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x4c5a9f
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x4c5a4e
lea ecx, [ebx + 0x164]
call fcn.00421f2c
jmp 0x4c5b76
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4c5b76
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.0041af2a
mov edi, dword [eax]
test edi, edi
jne 0x4c5adf
xor esi, esi
jmp 0x4c5ae2
mov esi, dword [edi + 0x20]
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c5b66
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c5b66
cmp dword [ebp - 0x10], 0
jne 0x4c5b3b
push edi
push 0x5e58b8
call fcn.00437665
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x58ea24]
mov ecx, edi
call esi
push eax
push 0x599e7c
call fcn.00437665
pop ecx
pop ecx
test eax, eax
je 0x4c5b66
mov esi, dword [ebp - 4]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [ebp - 8]
lea esi, [ebx + 0x164]
push eax
mov ecx, esi
call fcn.004c4b8b
test eax, eax
jne 0x4c5b66
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.004c2cc1
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x4c5aca
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4fe165
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4fe192
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x4fe1a7
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4fe1a7
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004254be
jmp 0x4fe278
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004254be
cmp eax, edi
jne 0x4fe282
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4fe214
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4fe258
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x4fe282
cmp eax, 0x205
je 0x4fe282
cmp eax, 0x201
je 0x4fe282
cmp eax, 0x204
je 0x4fe282
cmp eax, 0x100
jne 0x4fe240
cmp dword [ebp - 0x18], 0x1b
je 0x4fe282
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x4fe278
ja 0x4fe271
cmp eax, dword [0x5ee6d0]
jbe 0x4fe278
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x4fe1c9
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4fe65a
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x4fe690
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.0041f9d3
test eax, eax
je 0x4fe678
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x504f27
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5e57b8], 0
push esi
push edi
je 0x504faf
cmp dword [0x5e5ae8], 0xfffffffe
jne 0x504f9b
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x504faf
mov edi, 0x5ee6fc
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5ee714], 0
jne 0x504fb3
push 0
push 0
push 0x504fb9
call fcn.00564152
add esp, 0xc
mov dword [0x5ee714], eax
test eax, eax
je 0x504f8b
cmp eax, 0xffffffff
je 0x504f8b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x5e5ae8], esi
jmp 0x504f92
and dword [0x5ee714], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x504faf
mov eax, dword [ebp + 8]
mov dword [0x5e5ae8], eax
cmp eax, 0xffffffff
jne 0x504faf
and dword [0x5ee714], 0
pop edi
pop esi
pop ebp
ret
call fcn.0041f3cd
int3
Function at 0x50e589
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x50e628
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x50e624
mov eax, dword [eax + 0x20]
test eax, eax
je 0x50e624
cmp dword [ebx], eax
jne 0x50e624
mov eax, dword [ebx + 4]
sub eax, 1
je 0x50e5fe
sub eax, 1
je 0x50e5ce
sub eax, 1
jne 0x50e624
mov edi, 0x428e
jmp 0x50e603
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x50e603
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x58ea24]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x50e603
add edi, 3
jmp 0x50e603
mov edi, 0x3ea0
push edi
mov ecx, 0x5ee758
call fcn.00407a20
test eax, eax
je 0x50e628
mov eax, dword [0x5ee758]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x50e61d
call fcn.0041f3cd
int3

Function at 0x518522
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0056e595
pop ecx
test eax, eax
jne 0x518564
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0042c7f0
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x51852a
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x51ffa1
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x57f12d
call fcn.0055cf92
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x52008d
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x52008d
cmp esi, 0x43
je 0x51ffe3
cmp esi, 0x2d
jne 0x52008d
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x52008d
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00402830
movzx eax, byte [edi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [edi + 0xe5]
push eax
movzx eax, byte [edi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push 0x5ae8b8
push eax
call fcn.004077d0
mov esi, dword [ebp - 0x10]
add esp, 0x14
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x52007b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x52007b
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
call fcn.004029b0
push ebx
mov ecx, edi
call fcn.0051e2f4
call fcn.0055cf60
ret 4
Function at 0x55da52
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x55da91
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x55da91
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x55da91
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x55da91
cmp dword [ecx + 0x74], 0xe
jbe 0x55da91
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x573d15
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005739c6

Function at 0x573d20
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00573b50

Function at 0x5777c6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00577443

Function at 0x57d6a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x57d6cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x57d6cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40650d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7af], 0x91
mov byte [ebp - 0x7ae], 0xfd
call fcn.0040471b
invalid

Function at 0x4068df
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [eax + 8]
push eax
call fcn.0040471b
fcmovnb st(0), st(6)
mov cl, 0x4e
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.0040471b
test byte [eax + ecx*8 + 0x348b492a], bl
mov eax, dword [ebx]
idiv dword [eax + 0x50746547]
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x406908
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x406908
call fcn.0040471b
inc edx
inc esp
sub eax, 0x245a8b7f
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.0040471b
xchg al, al
xchg byte [ebx - 0xf78a01], al
jne 0x406951
push dword [ebp]
call fcn.00404f1b
clc
dec dword [edi]
xchg ebp, eax
ror dword [ebx + 0x5e5f5bc1], 0xc2
add al, 0
xor eax, eax
jmp 0x40695c
invalid
pop ebx
pop edi
pop esi
ret 4
Function at 0x405770
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x181c
call fcn.00412c20
mov eax, dword [0x42d51c]
mov ecx, dword [0x42d47c]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40587b
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x42d51c], 0x5d
jne 0x405866
push esi
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
call edi
push esi
push esi
lea eax, [ebp - 0x1018]
push eax
push esi
call ebx
push esi
lea eax, [ebp - 0x1818]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x405130
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
call edi
push esi
push esi
push esi
push esi
call ebx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
push esi
push 0x40515c
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push dword [ebp - 4]
call fcn.004055bc
add dword [ebp - 4], 8
dec dword [ebp - 8]
jne 0x4057aa
pop edi
pop esi
pop ebx
leave
ret