joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10126410
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.10120bc0
test eax, eax
je 0x101264ff
mov ecx, edi
call fcn.10120bc0
mov ecx, eax
call fcn.1011e120
test eax, eax
jne 0x101264ff
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x101264ff
mov eax, dword [0x101fd568]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x10126472
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.10120bc0
mov ecx, eax
call fcn.1011e350
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x101264ff
cmp ebx, eax
jne 0x101264ff
cmp dword [esp + 0x10], eax
jne 0x101264e5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x10129130
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1016fb88
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x10129169
inc eax
mov dword [esi + 0x10], eax
jmp 0x1012927c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x1012917d
mov eax, 0xffffffc7
jmp 0x1012927e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x1012918e
cmp dword [esi + 8], eax
jne 0x1012917d
cmp dword [esi + 8], eax
jne 0x101291a7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x101291a7
mov eax, 0xffffffc7
jmp 0x1012927e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x101291bb
push eax
mov ecx, ebx
call fcn.10128960
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.100fa9d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x101291ec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.100fa9f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.101280d0
test eax, eax
mov dword [esp + 0x38], eax
je 0x1012921f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x101c8408
call fcn.100fabd0
mov eax, dword [esp + 0x38]
jmp 0x1012927e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.10128f90
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x10129263
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.10128fb0
mov esi, eax
test esi, esi
jne 0x10129293
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.10128f90
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x10129235
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x101c8408
call fcn.100fabd0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x101c8408
call fcn.100fabd0
mov eax, esi
jmp 0x1012927e

Function at 0x1012c3a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x1012c400
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x1012c400
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x1012c400
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x1012c400
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x1012c440
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x10132350
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101701b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.10168d85
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.10131cf0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10168cb3
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.1016555d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.1016555d
push 1
push 0
push 0
mov ecx, esi
call fcn.10165505
push 1
push 0
push 1
mov ecx, esi
call fcn.10165505
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10168df7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x101324d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101701d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.10168d85
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.10131cf0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.10168cb3
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x10132594
cmp dword [esp + 0x40], 1
jne 0x10132592
cmp ecx, eax
jge 0x10132594
mov eax, ecx
cmp eax, 0xc8
jge 0x101325a0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10132350
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10168df7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10132d20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10170243
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.1016397a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1016902d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1016a58c
test eax, eax
je 0x10132e3c
mov ecx, dword [esp + 0x3c]
call fcn.1016905a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10132e00
push edi
mov ecx, esi
call fcn.101666a7
mov ecx, esi
call fcn.10132fa0
cmp dword [esp + 0x38], 1
jne 0x10132e35
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.101667e2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x10135880
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x101358b3
push esi
call fcn.10138990
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x101358ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10135939
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10135922
mov eax, dword [esi + 8]
test eax, eax
je 0x101358d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1013591e
cmp eax, 2
je 0x10135922
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x101358ca
cmp eax, 3
je 0x101358fd
cmp eax, 1
jne 0x101358ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x101358ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x101358ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10135960
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10135948
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10135960
add esp, 4
pop esi
ret

Function at 0x10143c50
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x10143cf3
test eax, eax
jbe 0x10143cf3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x10143cf3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x10143c9e
xor esi, esi
jmp 0x10143ca4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x10143ccf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.10145b50
add esi, eax
push esi
mov ebx, esi
call fcn.10145b50
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x10143cb0
pop ebp
test edi, edi
pop edi
jne 0x10143cf3
test ebx, ebx
je 0x10143cf3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.10153560
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x10143e30
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10143f4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10143f4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.10163dcc
mov esi, eax
test esi, esi
je 0x10143f4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x10143f4d
mov ecx, esi
call fcn.10143da0
cmp edi, eax
jge 0x10143f4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x10143ed3
mov dword [esp + 0x34], 1
jmp 0x10143f2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x10143f4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.10143390
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x1014c870
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x1014c8bc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x1014c8bc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x1014c8a6
push eax
call ebp
test ax, ax
jl 0x1014c8b4
inc esi
add edi, 4
cmp esi, 6
jb 0x1014c898
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.1014c570
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x101505c0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x10150620
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x10150620
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x10150620
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x10150620
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x10150630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x10164770
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x101647a8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10162827
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.101627ff
jmp 0x101647b4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10165e61
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10165ea3
call fcn.1016bb02
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10165ea3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10165e9a
xor eax, eax
jmp 0x10165eab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10165eb1
pop edi
pop esi
pop ebx
ret 4
Function at 0x405a3d
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.shell32.dll_ShellExecuteExW]
ret 4

Function at 0x405b23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x405b32
pop dword [ebp - 0x50]
mov eax, 0xcb5c186d
add eax, 0x34e442c5
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x8344dd89
sub dword [ebp - 0x60], 0x34f2983e
mov dword [ebp - 0x5c], 0xf95fdbc9
add dword [ebp - 0x5c], 0x38d3707c
mov dword [ebp - 0x58], 0x17945422
sub dword [ebp - 0x58], 0xcb480ff4
mov dword [ebp - 0x54], 0xc06f086e
add dword [ebp - 0x54], 0x3f90f792
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x98831f71
add dword [ebp - 0x60], 0xdbef49e5
mov dword [ebp - 0x5c], 0x1412ef61
sub dword [ebp - 0x5c], 0xd2a68dec
mov dword [ebp - 0x58], 0xe1d8859f
add dword [ebp - 0x58], 0x8196e6cd
mov dword [ebp - 0x54], 0x24ccea1c
add dword [ebp - 0x54], 0xdb3315e4
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xc09c3041
add eax, 0x3fa4503b
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x36448
push 0
call eax
mov ecx, 0x4508
mov edi, eax
mov ebx, str.9_s_
add ebx, dword [ebp - 0x50]
mov edx, 0xf85eaa9d
sub edx, 0x8476c121
xor dword [ebp - 0x14], 0x978e6594
mov esi, dword [ebx]
sub dword [ebp - 0x20], 0xd3981f31
sub esi, edx
xor dword [ebp - 0x18], edi
mov dword [edi], esi
add dword [ebp - 0x34], eax
add edi, 0xe6313ed1
add edi, 0x19cec133
add ebx, 0x2b4e635e
sub ebx, 0x2b4e635a
loop 0x405c43
add eax, 0xdca32f2
sub eax, 0xdc92bff
xor ebx, ebx
add ebx, eax
add eax, 0x38ef6b74
add eax, 0xc7109491
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa70
push esi
call fcn.00406411
push esi
call fcn.00405d91
mov edi, eax
test edi, edi
jne 0x405e0f
xor eax, eax
jmp 0x405e67
push edi
call fcn.004066c0
test byte [0x434f1c], 0x80
je 0x405e2c
mov ax, word [edi]
test ax, ax
je 0x405e0b
cmp ax, 0x5c
je 0x405e0b
sub edi, esi
sar edi, 1
jmp 0x405e46
call fcn.0040676f
test eax, eax
je 0x405e40
test byte [eax], 0x10
je 0x405e0b
push esi
call fcn.00405d32
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405e32
call fcn.00405ce6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

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

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f01
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4
Function at 0x403cf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x224
mov eax, dword [0x480c80]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x228]
push ebx
push ebp
push esi
push edi
push 0x2c
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], 0
call fcn.0040ab06
mov esi, dword [esp + 0x248]
mov ebx, eax
mov edi, dword [esp + 0x244]
add esp, 4
xor ecx, ecx
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [ebx + 8], ebx
mov word [ebx + 0xc], 0x101
mov dword [esp + 0x18], ebx
nop dword [eax]
mov eax, ecx
mov byte [esp + ecx + 0x30], cl
cdq
idiv esi
mov al, byte [edx + edi]
mov byte [esp + ecx + 0x130], al
inc ecx
cmp ecx, 0x100
jl 0x403d50
xor esi, esi
xor edi, edi
mov dl, byte [esp + esi + 0x30]
movzx eax, byte [esp + esi + 0x130]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x403d93
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x30]
mov byte [esp + esi + 0x30], al
inc esi
mov byte [esp + edi + 0x30], dl
cmp esi, 0x100
jl 0x403d70
mov ebp, dword [esp + 0x23c]
xor eax, eax
xor ecx, ecx
xor edi, edi
test ebp, ebp
jle 0x403ebb
nop dword [eax]
inc eax
and eax, 0x800000ff
jns 0x403dcf
dec eax
or eax, 0xffffff00
inc eax
mov bl, byte [esp + eax + 0x30]
movzx esi, bl
add ecx, esi
mov dword [esp + 0x10], eax
and ecx, 0x800000ff
jns 0x403dec
dec ecx
or ecx, 0xffffff00
inc ecx
push 0
push 0
push 0
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push 0
movzx eax, byte [esp + edx + 0x38]
mov byte [esp + ecx + 0x38], al
push 0
mov byte [esp + edx + 0x3c], bl
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
movzx eax, byte [esp + eax + 0x30]
add eax, esi
movzx eax, al
add eax, ecx
lea ecx, [esp + 0x20]
push eax
push 0
call fcn.00401680
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
movzx eax, byte [edx]
xor byte [ecx + edi], al
mov eax, edx
mov ecx, dword [esp + 0x28]
sub ecx, edx
cmp ecx, 0x1000
jb 0x403e83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ef1
push ecx
push edx
call fcn.0040ab36
inc edi
mov dword [esp + 0x28], 0
add esp, 8
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
cmp edi, ebp
jge 0x403eb7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x403dc0
mov ebx, dword [esp + 0x18]
push dword [ebx + 4]
lea eax, [esp + 0x1c]
push eax
mov ecx, eax
call fcn.004019a0
push 0x2c
push dword [esp + 0x1c]
call fcn.0040ab36
mov ecx, dword [esp + 0x238]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040ab49
add esp, 0x224
ret
call fcn.0040f5af
int3
Function at 0x41b600
Capabilities:
Read file on windows

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

Function at 0x41b60b
Capabilities:
Read file on windows

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

Function at 0x41ba05
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b8f0
mov eax, dword [0x480c80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041a497
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ba47
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41bba3
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427370
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x482c20]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041cbd5
mov ecx, dword [esi*4 + 0x482c20]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41bb9c
cmp eax, dword [edi + ecx + 0x24]
jne 0x41bb9c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bb9c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041cbd5
add esp, 0x14
test edx, edx
jl 0x41bb9c
jg 0x41bb12
test eax, eax
jb 0x41bb9c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41bb9c
jl 0x41bb2c
cmp dword [ebp - 0x1008], eax
ja 0x41bb9c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41bb4a
test ebx, ebx
je 0x41bb83
cmp ecx, edi
jae 0x41bb83
mov al, byte [ecx]
cmp al, 0xd
jne 0x41bb64
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41bb70
cmp byte [ecx + 1], 0xa
jne 0x41bb70
inc ecx
jmp 0x41bb70
movzx eax, al
movsx eax, byte [eax + 0x480f40]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41bb4a
cmp edx, ebx
jne 0x41bb4a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41bba1
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040ab49
leave
ret