joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421340
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 4
jl 0x421366
cmp dword [ebp + 8], 0xb
jg 0x421366
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x46b130]
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1b
ja case.default.0x421379
mov ecx, dword [ebp - 8]
jmp dword [ecx*4 + 0x421588]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x1c]
jmp 0x421584
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x18]
jmp 0x421584
mov ecx, dword [0x46b128]
call fcn.0042a400
jmp 0x421584
mov eax, dword [0x46b140]
jmp 0x421584
mov eax, dword [ebp - 0x2c]
jmp 0x421584
mov eax, dword [ebp - 0x28]
jmp 0x421584
mov eax, dword [ebp - 0x24]
jmp 0x421584
mov eax, dword [ebp - 0x20]
jmp 0x421584
mov ecx, dword [0x46b130]
mov eax, dword [ecx + 0x5c]
jmp 0x421584
mov edx, dword [0x46b130]
mov eax, dword [edx + 0x60]
jmp 0x421584
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
jmp 0x421584
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
jmp 0x421584
mov eax, dword [0x46b130]
cmp dword [eax + 0x44], 1
je case.0x421379.26
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
mov ecx, dword [0x46b130]
call fcn.00427a40
mov eax, dword [ebp - 4]
jmp 0x421584
mov eax, dword [0x46b130]
mov eax, dword [eax + 4]
jmp 0x421584
mov ecx, dword [0x46b130]
cmp dword [ecx + 0x44], 1
je case.0x421379.27
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [0x46b130]
call fcn.00427a40
mov eax, dword [ebp - 0xc]
jmp 0x421584
mov ecx, dword [0x46b130]
mov eax, dword [ecx + 8]
jmp 0x421584
mov edx, dword [0x46b130]
mov eax, dword [edx + 0x110]
jmp 0x421584
mov eax, dword [0x46b130]
mov eax, dword [eax + 0x114]
jmp 0x421584
mov ecx, dword [0x46b130]
mov edx, dword [ecx + 0xa0]
and edx, 0xff
movzx eax, dl
jmp 0x421584
mov eax, dword [0x46b130]
movzx ecx, word [eax + 0xa0]
sar ecx, 8
and ecx, 0xff
movzx eax, cl
jmp 0x421584
mov edx, dword [0x46b130]
mov eax, dword [edx + 0xa0]
shr eax, 0x10
and eax, 0xff
movzx eax, al
jmp 0x421584
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
push 0x26
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
and eax, 0x100
je 0x421518
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 4]
jmp 0x421584
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x421584
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x421584
mov eax, dword [0x46b130]
mov eax, dword [eax + 0x6c]
jmp 0x421584
mov ecx, dword [0x46b130]
mov eax, dword [ecx + 0x70]
jmp 0x421584
mov edx, dword [0x46b134]
mov eax, dword [edx + 0x324]
jmp 0x421584
mov ecx, dword [0x46b128]
call fcn.0042a4e0
jmp 0x421584
mov dword [ebp - 0x14], 0x15
push 0x466400
lea eax, [ebp - 0x14]
push eax
call fcn.004367dc
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4222c0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456bdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov edx, dword [0x46b194]
mov eax, dword [edx + 0x30c]
and eax, 2
je 0x4223ac
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x200
jne 0x422382
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x18], ecx
cmp dword [0x46b1a8], 0
jne 0x422371
mov edx, dword [0x46b1ac]
cmp edx, dword [ebp - 0x14]
jne 0x42235a
mov eax, dword [0x46b1b0]
cmp eax, dword [ebp - 0x18]
je 0x42236f
mov dword [ebp - 0x1c], 0
push 0x466400
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004367dc
jmp 0x422382
mov edx, dword [ebp - 0x14]
mov dword [0x46b1ac], edx
mov eax, dword [ebp - 0x18]
mov dword [0x46b1b0], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x100
jne 0x4223ac
cmp dword [0x46b1a8], 0
jne 0x4223ac
mov dword [ebp - 0x20], 0
push 0x466400
lea edx, [ebp - 0x20]
push edx
call fcn.004367dc
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x422427
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 9
jne 0x4223c6
call fcn.0041df80
push 2
call fcn.00405f40
add esp, 4
test eax, eax
je 0x422427
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
push 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 2
call fcn.00405fb0
add esp, 0x10
jmp 0x422417
mov dword [ebp - 4], 0xffffffff
jmp 0x422427
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4257f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jge 0x425822
jmp 0x4258ca
mov ecx, dword [ebp + 8]
add ecx, 0x14
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x130]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.00429f00
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
je 0x42585d
cmp dword [ebp - 0x10], 2
je 0x425873
jmp 0x425889
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0xa]
mov dword [ebp - 8], ecx
jmp 0x42589c
mov edx, dword [ebp - 4]
movsx eax, word [edx + 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 6]
mov dword [ebp - 8], edx
jmp 0x42589c
mov eax, dword [ebp - 4]
movsx ecx, word [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
movsx eax, word [edx + 2]
mov dword [ebp - 8], eax
push 0xcc0020
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 2]
and edx, 0x200
je 0x425906
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_DrawFocusRect]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x138]
push eax
push 0xff
push 0xd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
push 1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x25
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x138]
push edx
call fcn.00410540
add esp, 8
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
lea ecx, [ebp - 0x14]
push ecx
call fcn.004105c0
add esp, 4
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x10], ecx
push 0x457e98
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00410540
add esp, 8
push eax
call fcn.00438fe5
add esp, 8
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.004105c0
add esp, 4
cmp dword [ebp - 8], 0
jne 0x4279a4
or eax, 0xffffffff
jmp 0x427a2c
mov edx, 0x4d42
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x10]
lea eax, [ecx + edx + 0xe]
mov dword [ebp - 0x1e], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3c]
add edx, 0xe
mov dword [ebp - 0x16], edx
xor eax, eax
mov word [ebp - 0x1a], ax
xor ecx, ecx
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
push edx
push 0xe
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.00439388
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
push eax
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call fcn.00439388
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
call fcn.00439388
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.004390d0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x429d80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456c72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0042a7c0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x324]
mov eax, dword [ebp + 8]
cmp dword [edx + eax*4], 0
je 0x429e25
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x324]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x324]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x429dff
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.0042af80
mov dword [ebp - 0x2c], eax
jmp 0x429e06
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x324]
mov eax, dword [ebp + 8]
mov dword [edx + eax*4], 0
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1a4
call fcn.00434bef
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x429e4f
mov ecx, dword [ebp - 0x20]
call fcn.004267d0
mov dword [ebp - 0x24], eax
jmp 0x429e56
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x324]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x130], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x44], 1
mov ecx, dword [ebp + 0x14]
and ecx, 1
je 0x429eab
mov dword [ebp - 0x28], 1
jmp 0x429eb2
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x320]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00426920
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x50], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x54], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x433b20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00410540
add esp, 8
push eax
call fcn.004435bb
add esp, 4
mov dword [ebp - 8], eax
lea edx, [ebp - 4]
push edx
call fcn.004105c0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x433bc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00410540
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 8], eax
lea edx, [ebp - 4]
push edx
call fcn.004105c0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x433c00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00410540
add esp, 8
mov dword [ebp - 8], 0
mov edx, dword [ebp + 0x10]
and edx, 1
je 0x433c38
mov eax, dword [ebp - 8]
or eax, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
and ecx, 2
je 0x433c49
mov edx, dword [ebp - 8]
or edx, 6
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00410540
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043bd62
add esp, 4
cmp dword [ebp - 0x18], 0xffffffff
jne 0x433c8a
xor eax, eax
jmp 0x433ddd
mov ecx, 1
test ecx, ecx
je 0x433dd0
mov edx, dword [ebp - 0x27c]
and edx, dword [ebp - 8]
jbe 0x433cab
mov dword [ebp - 0x20], 1
jmp 0x433cb2
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x10]
and ecx, 4
jne 0x433cdc
cmp dword [ebp - 0x14], 0
jne 0x433ccf
mov dword [ebp - 0x24], 1
jmp 0x433cd6
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x433da5
lea eax, [ebp - 0x250]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004105e0
add esp, 8
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x433d17
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x2e
jne 0x433d69
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x433d3c
mov dword [ebp - 0xc], 0
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movsx eax, byte [edx + ecx]
cmp eax, 0x2e
jne 0x433d69
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp - 4]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x433d69
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x433d99
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00413160
add esp, 8
push 0x458488
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00413160
add esp, 8
lea edx, [ebp - 4]
push edx
call fcn.00410660
add esp, 4
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x433dcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x12
jne 0x433dcb
jmp 0x433dd0
jmp 0x433c8a
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x434320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov ecx, 1
test ecx, ecx
je 0x4343b1
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
test ecx, ecx
jne 0x434350
jmp 0x4343b1
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
movzx eax, word [ebp - 4]
cmp eax, 0x20
jne 0x43439d
cmp dword [ebp - 0xc], 0
jne 0x43439d
mov ecx, 1
test ecx, ecx
je 0x43439b
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
test ecx, ecx
jne 0x434385
jmp 0x43439b
movzx edx, word [ebp - 4]
cmp edx, 0x20
je 0x434390
jmp 0x43439b
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
jmp 0x434368
jmp 0x4343b1
movzx ecx, word [ebp - 4]
cmp ecx, 0x22
jne 0x4343af
mov edx, dword [ebp - 0xc]
xor edx, 1
mov dword [ebp - 0xc], edx
jmp 0x434333
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4435b0
Capabilities:
Get common file path
Set current directory

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

Function at 0x44c57e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044c3fd
Function at 0x401210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x18
mov eax, edx
push ebx
mov ebx, dword [ebp + 0xc]
shr eax, 4
push esi
mov ecx, ebx
test eax, eax
je 0x401282
add ebx, 8
mov dword [ebp - 4], eax
nop
mov eax, dword [ecx]
xor dword [edi], eax
mov edx, dword [ebx - 4]
xor dword [edi + 4], edx
mov edx, dword [ebx]
xor dword [edi + 8], edx
mov edx, dword [ebx + 4]
xor dword [edi + 0xc], edx
add ecx, 0x10
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
add ebx, 0x10
call fcn.00401180
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
add esp, 4
dec dword [ebp - 4]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
jne 0x401230
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + edx]
cmp eax, ecx
jbe 0x4012f5
sub ebx, ecx
add ebx, edx
test ebx, ebx
jle 0x40129f
push ebx
push ecx
lea ecx, [ebp - 0x18]
push ecx
call fcn.0041b020
add esp, 0xc
mov eax, 0x10
sub eax, ebx
lea ecx, [ebp + ebx - 0x18]
je 0x4012b8
push eax
push 0
push ecx
call fcn.0041b050
add esp, 0xc
mov edx, dword [ebp - 0x18]
xor dword [edi], edx
mov ecx, dword [ebp - 0x14]
xor dword [edi + 4], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor dword [edi + 8], edx
xor dword [edi + 0xc], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
call fcn.00401180
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [edi], edx
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add esp, 4
mov dword [edi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4036b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
xor al, al
push esi
mov esi, dword [ebp + 0xc]
mov byte [ebp - 0x14], al
mov byte [ebp - 4], al
mov byte [ebp - 0xc], al
push 2
lea eax, [ebp - 8]
push eax
push esi
mov dword [ebp - 0x18], 0x38
mov dword [ebp - 8], 0x3031
mov dword [ebp - 0x28], 0x32313032
mov word [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x36313032
mov word [ebp - 0x2c], 0
mov dword [ebp - 0x10], 0x37
mov dword [ebp - 0x20], 0x38303032
mov word [ebp - 0x1c], 0
call fcn.0041b710
add esp, 0xc
test eax, eax
je 0x40371e
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], 1
push 1
lea edx, [ebp - 0x10]
push edx
push esi
call fcn.0041b710
add esp, 0xc
test eax, eax
jne 0x40379f
push 4
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0041b710
add esp, 0xc
test eax, eax
jne 0x40379f
push 1
lea ecx, [ebp - 0x18]
push ecx
push esi
call fcn.0041b710
add esp, 0xc
test eax, eax
jne 0x403795
push 2
lea edx, [ebp - 8]
push edx
push esi
call fcn.0041b710
add esp, 0xc
test eax, eax
jne 0x403795
push 4
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0041b710
add esp, 0xc
test eax, eax
jne 0x403795
push 4
lea ecx, [ebp - 0x30]
push ecx
push esi
call fcn.0041b710
add esp, 0xc
test eax, eax
jne 0x403795
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 8
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 7
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404780
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push esi
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x27e]
push ecx
mov word [ebp - 0x280], ax
call fcn.0041b050
push 0x40
lea ecx, [ebp - 0x7c]
push 0
push ecx
mov dword [ebp - 0x2c], 0x65005c
mov dword [ebp - 0x28], 0x700078
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x650072
mov dword [ebp - 0x1c], 0x2e0072
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.0041b050
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x10]
push ecx
xor edx, edx
push esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x10], 0x690077
mov dword [ebp - 0xc], 0x64006e
mov dword [ebp - 8], 0x720069
mov word [ebp - 4], dx
call fcn.0040b010
push 0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x280]
push eax
call fcn.0041b430
mov ecx, dword [esi + 0xba0]
push 0xad0121ab
push 0
push 0
push ecx
add esi, 0x1c
push esi
call fcn.00414f40
add esp, 0x44
pop esi
test eax, eax
je 0x404885
push 0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x280]
push edx
push 0
call eax
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x405f30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ebx
xor ebx, ebx
push esi
push 0x1fe
lea eax, [ebp - 0x29e]
xor edx, edx
push ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x5c], 0x18
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x2a0], dx
call fcn.0041b050
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 0x401
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.004191e0
add esp, 0x20
test eax, eax
js 0x406097
mov eax, dword [esi + 0xba0]
push edi
push 0xcc145ef7
push ebx
push ebx
push eax
lea edi, [esi + 0x1c]
push edi
mov dword [ebp - 0x2c], 0x65005c
mov dword [ebp - 0x28], 0x700078
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x650072
mov dword [ebp - 0x1c], 0x2e0072
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.00414f40
add esp, 0x14
cmp eax, ebx
je 0x405ff6
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
call eax
push 0x40
lea edx, [ebp - 0x9c]
push ebx
push edx
call fcn.0041b050
lea ecx, [ebp - 0x2a0]
push ecx
xor eax, eax
lea edx, [ebp - 0x10]
push edx
push esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xa0], 0x44
mov dword [ebp - 0x10], 0x690077
mov dword [ebp - 0xc], 0x64006e
mov dword [ebp - 8], 0x720069
mov word [ebp - 4], ax
call fcn.0040b010
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.0041b430
mov edx, dword [esi + 0xba0]
push 0xad0121ab
push ebx
push ebx
push edx
push edi
call fcn.00414f40
add esp, 0x38
pop edi
cmp eax, ebx
je 0x406097
push ebx
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0xa0]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x2a0]
push ecx
push ebx
call eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret