joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5194d0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.005123d5
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4b5a73
xor al, al
jmp 0x4b5b9f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4b5a95
xor al, al
jmp 0x4b5b9f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4b5aa8
xor al, al
jmp 0x4b5b9f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4b5abc
xor al, al
jmp 0x4b5b9f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.005067d6
test eax, eax
jne 0x4b5af0
xor al, al
jmp 0x4b5b9f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x55eb4c
mov dword [esp + 0x20], ebp
call fcn.005123d5
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.0050f2e9
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.0050f340
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4b5b84
mov ax, word [ebx]
test ax, ax
je 0x4b5b76
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004b5bc0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4b5b5a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.0050f340
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4b60d0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00510999
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4b6116
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004dac98
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x581280
push ecx
call fcn.004dcd48
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4bea80
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 0x4beacc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4beacc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4beab6
push eax
call ebp
test ax, ax
jl 0x4beac4
inc esi
add edi, 4
cmp esi, 6
jb 0x4beaa8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004be780
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4c1740
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4c17a0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4c17a0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4c17a0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4c17a0
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 0x4c17b0
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 0x4c5430
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6728bc]
xor edx, edx
cmp eax, edx
jne 0x4c5456
xor eax, eax
mov byte [eax + 0x6727bc], al
inc eax
cmp eax, 0x100
jl 0x4c543e
mov dword [0x6728bc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6727bc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4c54e7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4c54ba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4c5488
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4c5560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4c55b3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4c559a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cbf30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x519e8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004cc850
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5601bc
call fcn.00508210
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4cbfc3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00508210
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4cbfbc
push 0
mov ecx, eax
call fcn.004c3060
mov dword [esi + 0xc], eax
jmp 0x4cbfc5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4cbfc5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4f0650
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x4f0660
mov esi, 1
push esi
call fcn.004db977
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4f06b2
call fcn.004dc49d
mov edi, eax
call fcn.004f31b0
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 8
je 0x4f0696
mov edx, dword [0x593548]
mov dword [0x593544], edx
test al, 0x18
je 0x4f06a7
push esi
push 0x24
push 5
call fcn.004f3a00
add esp, 0xc
test edi, edi
je 0x4f06cd
push 1
call fcn.004ddf9e
test byte [esp + 0x14], 0x20
je 0x4f06cd
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4f17d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
test edx, edx
push ebx
push esi
push edi
je 0x4f18c4
cmp byte [edx], 0
je 0x4f18b7
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, 8
or ecx, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, ebx
call fcn.004f1750
mov edi, dword [ebp + 0xc]
push 8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.004f1750
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, edx
push eax
xor ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004f16c0
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp edi, eax
jae 0x4f1881
sub eax, edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.004f1700
fmul qword [0x564190]
push ecx
fstp qword [esp]
call fcn.004da308
fadd qword [0x564188]
add esp, 8
call fcn.004da3d8
mov byte [ebx], al
inc ebx
dec edi
jne 0x4f1854
lea ecx, [esp + 0x20]
push ecx
call fcn.004f1700
fmul qword [0x564190]
push ecx
fstp qword [esp]
call fcn.004da308
add esp, 8
call fcn.004da3d8
cmp esi, ebx
je 0x4f18ad
xor byte [esi], al
inc esi
cmp esi, ebx
jne 0x4f18a6
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [edx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f1c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x4f1cc0
mov byte [edi + esi], 2
jmp 0x4f1cf7
test al, 4
je 0x4f1cca
mov byte [edi + esi], 0xd
jmp 0x4f1cf7
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x4f1ce3
mov byte [edi + esi], 2
jmp 0x4f1cf7
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x4f1cf3
mov byte [edi + esi], 0x19
jmp 0x4f1cf7
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x4f1ca7
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x4f1d6b
cmp dl, 0xd
je 0x4f1d6b
xor edx, edx
jmp 0x4f1d70
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x4f1d5b
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x4f1d90
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.004f0650
mov esi, eax
add esp, 8
test esi, esi
jne 0x4f1db1
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.004f33f0
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4f1dd6
push esi
call fcn.004f06e0
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.004e5d4b
push ebx
push edi
mov ebp, eax
call fcn.004f3460
push 0x4f1e10
push ebp
push esi
call fcn.004f4790
push esi
call fcn.004f06e0
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4f3120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x692080
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x691fa8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4f319b
push 0x4c
push 1
call fcn.004dc8c5
mov esi, eax
add esp, 8
test esi, esi
jne 0x4f3163
push 0x692080
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x691fa8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x684a90]
inc eax
lea edx, [esi + 0xc]
mov dword [0x684a90], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.004f6bd0
add esp, 8
mov byte [esi + 0x3c], 1
push 0x692080
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x4f3620
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004dc49d
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.004e5d4b
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4f371a
call fcn.004dc49d
cmp dword [eax], 0
je 0x4f3667
call fcn.004dc49d
mov ebp, dword [eax]
jmp 0x4f366a
or ebp, 0xffffffff
call fcn.004f31b0
test esi, esi
mov dword [eax], ebp
jne 0x4f367f
call fcn.004dc49d
cmp dword [eax], 4
je 0x4f36cf
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x4f36b2
cmp esi, 0xffffffff
je 0x4f36f4
test al, 6
je 0x4f36b2
call fcn.004f31b0
mov ecx, dword [eax]
push ecx
push ebx
call fcn.004f6c00
add esp, 4
push eax
push 0x24
push 9
call fcn.004f3a00
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x4f3712
test al, 6
je 0x4f36c0
test ah, 2
je 0x4f3712
test esi, esi
jbe 0x4f371e
test ah, 2
je 0x4f371e
add dword [esp + 0x18], esi
sub edi, esi
call fcn.004dc49d
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.004e5d4b
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4f371a
jmp 0x4f3654
call fcn.004f31b0
mov eax, dword [eax]
push eax
push ebx
call fcn.004f6c00
add esp, 4
push eax
push 0x24
push 2
call fcn.004f3a00
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x4f372b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x4f3734
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x504b55
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004dc42a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x504b78
test byte [esp + 8], 2
je 0x504b78
call fcn.004dc49d
mov dword [eax], 0xd
call fcn.004dc4a6
mov dword [eax], 5
jmp 0x504b51
xor eax, eax
ret
Function at 0x50a8af
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x50a8e7
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.0050892a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00508902
jmp 0x50a8f3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x50c0a9
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 0x50c0eb
call fcn.005123d5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x50c0eb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x50c0e2
xor eax, eax
jmp 0x50c0f3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0050c0f9
pop edi
pop esi
pop ebx
ret 4

Function at 0x512905
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x512933
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x512951
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0051286b
jmp 0x512951
mov eax, dword [esi + 0x14]
test eax, eax
je 0x512951
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0051286b
test edi, edi
mov eax, edi
jne 0x51293b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x412565
Capabilities:
Read file on windows

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

Function at 0x41695c
Capabilities:
Set environment variable

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

Function at 0x416967
Capabilities:
Set environment variable

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

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x52f8624b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x3ff74f24
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401ac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
xor ecx, ecx
xor edx, edx
mov ebp, esp
push esi
push ebx
lea ebx, [ebp - 0x220]
sub esp, 0x24c
mov dword [ebx + edx], ecx
mov dword [ebx + edx + 4], ecx
add edx, 8
cmp edx, 0x18
jb 0x401ad5
lea esi, [ebp - 0x208]
mov ebx, dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], 0x100
mov dword [esp + 0x2c], 0
mov edx, dword [0x41a03c]
mov dword [esp + 0x24], 0x7d2
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], str.SysTabControl32
mov dword [esp], 0
call ebx
sub esp, 0x30
mov dword [0x41a004], eax
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], 0xfa
mov eax, dword [0x41a03c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
lea eax, [ebp - 0x224]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x133e
mov eax, dword [0x41a004]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov eax, dword [0x41a03c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov eax, dword [0x41a004]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000002
mov dword [esp + 8], 0
mov dword [esp + 4], 0x410020
mov dword [esp], 0x200
call ebx
sub esp, 0x30
mov dword [0x41a008], eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x403400
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ecx, 0x32
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x4d4]
mov esi, 0x40e0c0
push ebx
mov ebx, eax
sub esp, 0x504
mov dword [ebp - 0x4dc], edx
mov edx, dword [sym.imp.user32.dll_LoadStringW]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x40c]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
lea edi, [ebp - 0x20c]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x4d8], edx
call edx
sub esp, 0x10
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edi
mov dword [esp + 4], 2
mov dword [esp], ebx
mov edx, dword [ebp - 0x4d8]
call edx
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x80000000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
sub esp, 0x30
test eax, eax
je 0x403638
mov esi, eax
mov dword [esp + 4], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp], 0x50000000
call dword [sym.imp.comctl32.dll_CreateStatusWindowW]
lea ecx, [ebp - 0x4d4]
sub esp, 0x10
mov dword [0x41a028], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x50000000
call sub.comctl32.dll_CreateToolbarEx
mov edi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x34
mov dword [0x41a02c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6f
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0x401
mov eax, dword [0x41a02c]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x74
mov dword [esp + 4], 0x401
mov eax, dword [0x41a02c]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x4dc]
sub esp, 0x10
mov dword [0x41a020], esi
mov dword [0x41a03c], ebx
mov dword [0x41a040], 1
mov dword [0x41a044], 5
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp], esi
call dword [sym.imp.user32.dll_UpdateWindow]
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret