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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 4
jl 0x420c46
cmp dword [ebp + 8], 0xb
jg 0x420c46
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x46b340]
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.0x420c59
mov ecx, dword [ebp - 8]
jmp dword [ecx*4 + 0x420e68]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x1c]
jmp 0x420e64
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x18]
jmp 0x420e64
mov ecx, dword [0x46b338]
call fcn.00429cd0
jmp 0x420e64
mov eax, dword [0x46b350]
jmp 0x420e64
mov eax, dword [ebp - 0x2c]
jmp 0x420e64
mov eax, dword [ebp - 0x28]
jmp 0x420e64
mov eax, dword [ebp - 0x24]
jmp 0x420e64
mov eax, dword [ebp - 0x20]
jmp 0x420e64
mov ecx, dword [0x46b340]
mov eax, dword [ecx + 0x5c]
jmp 0x420e64
mov edx, dword [0x46b340]
mov eax, dword [edx + 0x60]
jmp 0x420e64
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
jmp 0x420e64
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
jmp 0x420e64
mov eax, dword [0x46b340]
cmp dword [eax + 0x44], 1
je case.0x420c59.26
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
mov ecx, dword [0x46b340]
call fcn.00427310
mov eax, dword [ebp - 4]
jmp 0x420e64
mov eax, dword [0x46b340]
mov eax, dword [eax + 4]
jmp 0x420e64
mov ecx, dword [0x46b340]
cmp dword [ecx + 0x44], 1
je case.0x420c59.27
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [0x46b340]
call fcn.00427310
mov eax, dword [ebp - 0xc]
jmp 0x420e64
mov ecx, dword [0x46b340]
mov eax, dword [ecx + 8]
jmp 0x420e64
mov edx, dword [0x46b340]
mov eax, dword [edx + 0x110]
jmp 0x420e64
mov eax, dword [0x46b340]
mov eax, dword [eax + 0x114]
jmp 0x420e64
mov ecx, dword [0x46b340]
mov edx, dword [ecx + 0xa0]
and edx, 0xff
movzx eax, dl
jmp 0x420e64
mov eax, dword [0x46b340]
movzx ecx, word [eax + 0xa0]
sar ecx, 8
and ecx, 0xff
movzx eax, cl
jmp 0x420e64
mov edx, dword [0x46b340]
mov eax, dword [edx + 0xa0]
shr eax, 0x10
and eax, 0xff
movzx eax, al
jmp 0x420e64
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 0x420df8
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 0x420e64
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x420e64
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x420e64
mov eax, dword [0x46b340]
mov eax, dword [eax + 0x6c]
jmp 0x420e64
mov ecx, dword [0x46b340]
mov eax, dword [ecx + 0x70]
jmp 0x420e64
mov edx, dword [0x46b344]
mov eax, dword [edx + 0x324]
jmp 0x420e64
mov ecx, dword [0x46b338]
call fcn.00429db0
jmp 0x420e64
mov dword [ebp - 0x14], 0x15
push 0x465e94
lea eax, [ebp - 0x14]
push eax
call fcn.004363b5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x421bb0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456c20
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 [0x46b3a4]
mov eax, dword [edx + 0x30c]
and eax, 2
je 0x421c9c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x200
jne 0x421c72
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 [0x46b3b8], 0
jne 0x421c61
mov edx, dword [0x46b3bc]
cmp edx, dword [ebp - 0x14]
jne 0x421c4a
mov eax, dword [0x46b3c0]
cmp eax, dword [ebp - 0x18]
je 0x421c5f
mov dword [ebp - 0x1c], 0
push 0x465e94
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004363b5
jmp 0x421c72
mov edx, dword [ebp - 0x14]
mov dword [0x46b3bc], edx
mov eax, dword [ebp - 0x18]
mov dword [0x46b3c0], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x100
jne 0x421c9c
cmp dword [0x46b3b8], 0
jne 0x421c9c
mov dword [ebp - 0x20], 0
push 0x465e94
lea edx, [ebp - 0x20]
push edx
call fcn.004363b5
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x421d17
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 9
jne 0x421cb6
call fcn.0041d870
push 2
call fcn.00404ed0
add esp, 4
test eax, eax
je 0x421d17
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.00404f40
add esp, 0x10
jmp 0x421d07
mov dword [ebp - 4], 0xffffffff
jmp 0x421d17
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4250d0
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 0x425102
jmp 0x4251aa
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.004297d0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
je 0x42513d
cmp dword [ebp - 0x10], 2
je 0x425153
jmp 0x425169
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 0x42517c
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 0x42517c
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 0x4251e6
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.00432e80
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.00432f00
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 0x427220
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 0x457a50
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00432e80
add esp, 8
push eax
call fcn.00439380
add esp, 8
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00432f00
add esp, 4
cmp dword [ebp - 8], 0
jne 0x427274
or eax, 0xffffffff
jmp 0x4272fc
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.0043c45b
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.0043c45b
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.0043c45b
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043b531
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x429650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456ca2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0042a0a0
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 0x4296fb
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 - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x4296d5
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.0042a830
mov dword [ebp - 0x30], eax
jmp 0x4296dc
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x324]
mov ecx, dword [ebp + 8]
mov dword [eax + ecx*4], 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1a4
call fcn.0043472c
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x429725
mov ecx, dword [ebp - 0x20]
call fcn.004260b0
mov dword [ebp - 0x24], eax
jmp 0x42972c
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x324]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x48], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x130], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x44], 1
mov edx, dword [ebp + 0x14]
and edx, 1
je 0x429781
mov dword [ebp - 0x28], 1
jmp 0x429788
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x320]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.004261f0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x54], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
cmp dword [ebp + 0x14], 0
jge 0x433146
push 0x458040
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00432e80
add esp, 8
push eax
call fcn.00439380
add esp, 8
mov dword [ebp - 4], eax
jmp 0x433167
push 0x458048
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00432e80
add esp, 8
push eax
call fcn.00439380
add esp, 8
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
call fcn.00432f00
add esp, 4
cmp dword [ebp - 4], 0
jne 0x43317e
or eax, 0xffffffff
jmp 0x4331ca
cmp dword [ebp + 0x14], 0
jl 0x433196
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0043bca6
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043c45b
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043b531
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.0043c4b3
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4336e0
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.00432e80
add esp, 8
push eax
call fcn.00443681
add esp, 4
mov dword [ebp - 8], eax
lea edx, [ebp - 4]
push edx
call fcn.00432f00
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x433780
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.00432e80
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.00432f00
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4337c0
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.00432e80
add esp, 8
mov dword [ebp - 8], 0
mov edx, dword [ebp + 0x10]
and edx, 1
je 0x4337f8
mov eax, dword [ebp - 8]
or eax, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
and ecx, 2
je 0x433809
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.00432e80
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.0043c4b3
add esp, 4
cmp dword [ebp - 0x18], 0xffffffff
jne 0x43384a
xor eax, eax
jmp 0x43399d
mov ecx, 1
test ecx, ecx
je 0x433990
mov edx, dword [ebp - 0x27c]
and edx, dword [ebp - 8]
jbe 0x43386b
mov dword [ebp - 0x20], 1
jmp 0x433872
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x10]
and ecx, 4
jne 0x43389c
cmp dword [ebp - 0x14], 0
jne 0x43388f
mov dword [ebp - 0x24], 1
jmp 0x433896
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x433965
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.00432f20
add esp, 8
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4338d7
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x2e
jne 0x433929
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x4338fc
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 0x433929
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp - 4]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x433929
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x433959
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.00412710
add esp, 8
push 0x458050
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00412710
add esp, 8
lea edx, [ebp - 4]
push edx
call fcn.00432fa0
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 0x43398b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x12
jne 0x43398b
jmp 0x433990
jmp 0x43384a
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 0x433ee0
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 0x433f71
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
test ecx, ecx
jne 0x433f10
jmp 0x433f71
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
movzx eax, word [ebp - 4]
cmp eax, 0x20
jne 0x433f5d
cmp dword [ebp - 0xc], 0
jne 0x433f5d
mov ecx, 1
test ecx, ecx
je 0x433f5b
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
test ecx, ecx
jne 0x433f45
jmp 0x433f5b
movzx edx, word [ebp - 4]
cmp edx, 0x20
je 0x433f50
jmp 0x433f5b
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
jmp 0x433f28
jmp 0x433f71
movzx ecx, word [ebp - 4]
cmp ecx, 0x22
jne 0x433f6f
mov edx, dword [ebp - 0xc]
xor edx, 1
mov dword [ebp - 0xc], edx
jmp 0x433ef3
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

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

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

Function at 0x44842c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004482ab
Function at 0x42edd1
Capabilities:
Parse pe header

Disassembly:
push esp
push edi
push edi
add esp, 4
mov dword [esp], edx
mov eax, dword [esp + 4]
add esp, 8
push edx
mov dword [esp], ecx
add ecx, 0x72206f58
push esp
sub ecx, 0x72206f58
mov dword [esp], ecx
mov eax, dword [esp + 8]
add esp, 0xc
push esi
mov dword [esp], ebx
push edi
push edi
add esp, 4
mov dword [esp], ecx
mov ecx, esp
mov ecx, dword [ecx]
add esp, 4
add eax, 0x68f83169
push esp
sub eax, 0x68f83169
mov dword [esp], eax
add ecx, 0x45c81f6e
push esp
sub ecx, 0x45c81f6e
mov dword [esp], ecx
mov ecx, esp
mov ecx, dword [ecx]
add esp, 4
push ecx
pop ecx
push esi
push esi
add esp, 4
mov ebx, dword [esp + 4]
add esp, 8
push ebx
push 0xd76dbffe
pop ebx
sub dword [esp], ebx
pop ebx
push esi
mov esi, 0x28b25054
add esi, 0xffdfefae
sub ebx, esi
pop esi
push 0xf
sub ebx, dword [esp]
add esp, 4
push esp
mov dword [esp], ebx
push esi
push esi
mov eax, dword [esp + 8]
add esp, 0xc
push esp
push edx
mov ebx, dword [esp + 4]
add esp, 8
push esp
pop ebx
pop ebx
push edi
mov dword [esp], ecx
add ebx, 0x188849e0
push esp
sub ebx, 0x188849e0
mov dword [esp], ebx
push esp
pop ebx
pop ebx
push ebx
mov dword [esp], esi
mov ecx, esp
mov dword [ecx], 0x20154052
push esi
add esp, 4
pop ecx
sub eax, 0x38e90d3a
add eax, 0x38e90d3a
mov dword [esp - 4], eax
push eax
push edx
push edx
add esp, 4
mov dword [esp], ecx
push esi
push esi
mov eax, dword [esp + 8]
add esp, 0xc
push ebx
push eax
pop ebx
sub ebx, 0x2015404e
mov eax, ebx
pop ebx
push eax
push eax
pop eax
pop ecx
mov eax, dword [esp]
add esp, 4
push ecx
push esi
add esp, 4
push ecx
push edx
sub edx, ecx
pop edx
mov ecx, esp
mov ecx, dword [ecx]
add esp, 4
push edx
mov edi, dword [esp + 4]
add esp, 8
add esp, 4
mov ecx, dword [esp - 4]
mov dword [eax], edi
push ebx
push eax
mov eax, ebx
pop eax
add ebx, 0x1f7871aa
push esp
sub ebx, 0x1f7871aa
mov dword [esp], ebx
add esp, 4
mov dword [esp], esi
add esp, 4
mov eax, esp
mov eax, dword [eax]
add esp, 4
add esp, 4
mov edi, dword [esp - 4]
pushal
call 0x42edd1
jmp 0x42edb3
call fcn.0042ed0f
push 0x86abc981
push 0x5ac18765
xor eax, eax
js 0x42ee37
insb byte es:[edi], dx
imul esi, dword [eax + eax + 0x61], 0xa6e9
add byte [ebp - 0x75], dl
in al, dx
mov ebx, 0x77000000
add ebx, 0x10000
cmp ebx, 0x80000000
jne 0x42edec
mov ebx, 0xbff00000
call fcn.0042ee30
cmp eax, 0
je 0x42edd9
cmp word [ebx], 0x5a4d
jne 0x42edd9
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp word [eax], 0x4550
jne 0x42edd9
test byte [eax + 0x17], 0x20
je 0x42edd9
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, dword [eax + 0xc]
add edx, ebx
cmp dword [edx], 0x4e52454b
jne 0x42edd9
cmp dword [edx + 4], 0x32334c45
jne 0x42edd9
mov eax, ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x50031134
sub edx, 0x5003110e
add eax, edx
push eax
push dword fs:[0]
mov dword fs:[0], esp
mov ecx, dword [ebx]
mov ecx, 1
jmp 0x42ee69
pop dword fs:[0]
pop eax
mov dword [esp + 0x1c], ecx
popal
ret
Function at 0x100073e1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000747e
push ebx
push esi
call fcn.100073aa
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100072f3
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000742b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000747d
push edi
push eax
call fcn.10008398
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000744b
call fcn.10005f85
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000747c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100072f3
add esp, 0x20
test eax, eax
jne 0x1000746a
push edi
call fcn.10005f85
jmp 0x10007472
push ebx
call fcn.10005f85
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100076e9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f980
push 0x1000f978
push str.FlsAlloc
push 0x1e
call fcn.10007607
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000771d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e12c]
call esi
jmp 0x10007723
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007767
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f990
push 0x1000f988
push str.FlsGetValue
push 0x20
call fcn.10007607
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000779e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e12c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1000d200
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000d22d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000d22d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret