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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x41bbe1
call fcn.0041f3b1
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41bbde
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41bc31
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x41bc0e
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x462614]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x41bc0e
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x41bc2f
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x462614]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41c595
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x41c5e8
push esi
push dword [ebp + 8]
call fcn.0041c77e
mov edi, eax
test edi, edi
je 0x41c5e3
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41c5e3
mov eax, dword [ebp - 8]
jmp 0x41c5fa
mov eax, dword [ebp + 0x10]
jmp 0x41c5fa
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x41f4a2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0041f4fb
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41f4ea
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00414da1
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040f180
jmp 0x41f4f5
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0042185c
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4524ba
Capabilities:
Read file on windows

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

Function at 0x45a4c5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2dc
mov eax, dword fs:[0x30]
Function at 0x100256e
Capabilities:
Set registry value

Disassembly:
lea eax, [esp + 8]
push 4
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [eax*4 + 0x10050f0]
push dword [0x1005be4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x1002593
Capabilities:
Set registry value

Disassembly:
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esp + 8]
push dword [esp + 0xc]
push 1
push 0
push dword [eax*4 + 0x10050f0]
push dword [0x1005be4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x100271d
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x19a
call fcn.010026d7
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push dword [0x10052b8]
call esi
push 0x1a4
mov dword [0x1005ab0], eax
call fcn.010026d7
push eax
push dword [0x10052b8]
call esi
push 0x1ae
mov dword [0x1005b20], eax
call fcn.010026d7
push eax
push dword [0x10052b8]
call esi
mov ecx, dword [0x1005ab0]
xor ebx, ebx
cmp ecx, ebx
mov dword [0x1005b80], eax
je 0x10028e8
cmp dword [0x1005b20], ebx
je 0x10028e8
cmp eax, ebx
je 0x10028e8
mov esi, dword [sym.imp.KERNEL32.dll_LockResource]
push ecx
call esi
push dword [0x1005b20]
mov dword [0x1005be0], eax
call esi
push dword [0x1005b80]
mov dword [0x1005ad4], eax
call esi
cmp dword [0x10052e8], ebx
mov dword [0x1005a70], eax
jne 0x10027cd
push 7
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x10027db
push 0x808080
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
mov esi, dword [0x10052e8]
push 0x10
neg esi
sbb esi, esi
push 0x10
and esi, 0x38
mov dword [0x100517c], eax
add esi, 0x30
call fcn.010026fb
mov ecx, 0x1005b40
mov edx, esi
mov dword [ecx], edx
add ecx, 4
add edx, eax
cmp ecx, 0x1005b80
jl 0x1002800
push 0x17
push 0xd
call fcn.010026fb
mov ecx, 0x1005a80
mov edx, esi
mov dword [ecx], edx
add ecx, 4
add edx, eax
cmp ecx, 0x1005ab0
jl 0x100281f
push 0x18
push 0x18
call fcn.010026fb
mov ecx, 0x1005ac0
mov dword [ecx], esi
add ecx, 4
add esi, eax
cmp ecx, 0x1005ad4
jl 0x100283c
push dword [0x10052a8]
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
xor esi, esi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebx
mov dword [esi + 0x1005ae0], eax
jne 0x1002877
push 0x1001384
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10
push 0x10
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea edi, [esi + 0x1005ba0]
cmp eax, ebx
mov dword [edi], eax
jne 0x1002899
push 0x1001368
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [edi]
push dword [esi + 0x1005ae0]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x1005be0]
mov ecx, dword [esi + 0x1005b40]
push ebx
add ecx, eax
push eax
push ecx
push 0x10
push ebx
push ebx
push ebx
push 0x10
push 0x10
push ebx
push ebx
push dword [esi + 0x1005ae0]
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
add esi, 4
cmp esi, 0x40
jl 0x100285b
push ebp
push dword [0x10052a8]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
pop eax
jmp 0x10028ea
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100298e
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 1
mov dword [ebp - 8], 0x37
pop eax
cmp dword [0x1005a68], eax
mov dword [ebp - 0xc], eax
jl 0x1002a0f
push esi
push ebx
mov ebx, 0x1005720
push 1
mov dword [ebp - 4], 0xc
pop esi
cmp dword [0x10056f8], esi
jl 0x10029f8
mov al, byte [esi + ebx]
push 0xcc0020
push 0
and eax, 0x1f
push 0
push dword [eax*4 + 0x1005ae0]
push 0x10
push 0x10
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
add dword [ebp - 4], 0x10
inc esi
cmp esi, dword [0x10056f8]
jle 0x10029c2
inc dword [ebp - 0xc]
add dword [ebp - 8], 0x10
mov eax, dword [ebp - 0xc]
add ebx, 0x20
cmp eax, dword [0x1005a68]
jle 0x10029b0
pop ebx
pop esi
leave
ret 4

Function at 0x1003dd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013c0
push 0x1003fd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x1005be8], 0xffffffff
mov dword [0x1005bec], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x1005198]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x1005194]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x1005bf0], ecx
call fcn.01003fc0
mov eax, dword [0x1005158]
test eax, eax
jne 0x1003e61
push 0x1003fb0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add edi, edi
adc eax, sym.imp.MSVCRT.dll___setusermatherr
add esp, 4
call fcn.01003f90
push 0x100500c
push 0x1005008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x1005190]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x100518c]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x1005004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [edx]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x13
aaa
sub al, 0xc1
test eax, 0x89460005
jne 0x1003e57
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x1003ed5
cmp al, 0x22
jne 0x1003ec7
cmp byte [esi], 0x22
jne 0x1003ede
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x1003eee
cmp al, 0x20
ja 0x1003eee
inc esi
mov dword [ebp - 0x74], esi
jmp 0x1003ede
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x1003f0f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x1003f14
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x1003f54
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004075
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x10013e0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10040cd
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x100141c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10040c0
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10040cf
xor eax, eax
pop esi
leave
ret 4

Function at 0x456f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.DATA
lea edi, [esi - 0x49000]
push edi
or ebp, 0xffffffff
jmp 0x456f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x456f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456f38
mov eax, 1
add ebx, ebx
jne 0x456f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x456f6c
jne 0x456f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456f8b
dec eax
add ebx, ebx
jne 0x456f78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x456f50
add ebx, ebx
jne 0x456f87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x456fdd
xor ecx, ecx
sub eax, 3
jb 0x456fa3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x457012
sar eax, 1
mov ebp, eax
jmp 0x456fae
add ebx, ebx
jne 0x456fae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456f7c
inc ecx
add ebx, ebx
jne 0x456fbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456f7c
add ebx, ebx
jne 0x456fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x456fbe
jne 0x456fda
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x456fbe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x456ffc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x456fee
jmp 0x456f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x456ffc
add edi, ecx
jmp 0x456f3e
pop esi
mov edi, esi
mov ecx, 0x3a6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45701a
cmp byte [edi], 4
jne 0x45701a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45701f
lea edi, [esi + 0x54000]
mov eax, dword [edi]
or eax, eax
je 0x457097
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x57a6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x57ae4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45704c
mov ecx, edi
jns 0x45707b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x57ae8]
or eax, eax
je 0x457091
mov dword [ebx], eax
add ebx, 4
jmp 0x457069
call dword [esi + 0x57aec]
popal
jmp 0x4070b0
Function at 0x40688e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x40689c
call 0x85667e8
mov al, byte [0x8b640041]
cmp eax, 0x30
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x446630], eax
sub eax, eax
je 0x4068c1
call 0xa8cf50c7
invalid
call 0x401154
call 0x406651
pop edi
xor eax, eax
pop esi
ret

Function at 0x407515
Capabilities:
Parse pe header

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

Function at 0x40d5eb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2c8
push 0x41c2c0
push str.FlsAlloc
push 0x1e
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d61f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
jmp 0x40d625
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d669
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2d8
push 0x41c2d0
push str.FlsGetValue
push 0x20
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d6a0
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x42b5b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x42b5d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b5d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b5c8
mov eax, 1
add ebx, ebx
jne 0x42b5eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b5e0
jne 0x42b5fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b5e0
xor ecx, ecx
sub eax, 3
jb 0x42b610
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42b682
mov ebp, eax
add ebx, ebx
jne 0x42b61b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42b628
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42b64c
inc ecx
add ebx, ebx
jne 0x42b638
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42b62d
jne 0x42b649
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b62d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42b66c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42b65d
jmp 0x42b5ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42b66c
add edi, ecx
jmp 0x42b5ce
pop esi
mov edi, esi
mov ecx, 0x6a3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42b68a
cmp byte [edi], 6
jne 0x42b68a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x42b68f
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42b707
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d954]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2da30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42b6bc
mov ecx, edi
jns 0x42b6eb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2da34]
or eax, eax
je 0x42b701
mov dword [ebx], eax
add ebx, 4
jmp 0x42b6d9
call dword [esi + 0x2da38]
popal
jmp 0x418b9e
Function at 0x401cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop ebp
ret

Function at 0x401cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4040e5
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
push ebx
push esi
xor esi, esi
cmp dword [0x4b6ca0], 0x400
push edi
jne 0x40413e
push esi
call fcn.004043e9
pop ecx
push esi
push esi
call fcn.004047e2
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403af7
fstp st(0)
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403ad4
fstp st(0)
push esi
call fcn.00404af2
pop ecx
push esi
push esi
call fcn.00404477
pop ecx
pop ecx
mov eax, dword [0x4acbe4]
mov dword [0x4b6ca0], eax
mov eax, dword [0x4acbbc]
mov dword [0x4b6ca4], eax
call fcn.00403e02
mov dword [esp + 0x10], esi
mov ebx, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
cmp dword [esp + 0x10], ebx
jle 0x4041ad
cmp dword [esp + 0x18], 0x785074d5
jne 0x4041bb
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x1c1b
jl 0x404160
xor edi, edi
push esi
lea eax, [esp + 0x34]
push eax
push esi
push 0x403848
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea eax, [esp + 0x14]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadSelectorEntry]
cmp edi, ebx
jle 0x4041ec
cmp dword [esp + 0x18], 0x785074d5
jne 0x4041f5
inc edi
cmp edi, 0x11915
jl 0x4041bd
mov eax, dword [0x4b5bf0]
mov dword [0x4b6234], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40a294
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a67d4]
jne 0x40a29e
repz ret
jmp fcn.0040ea02
Function at 0x40e4fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407d8e
and dword [ebp - 4], 0
cmp dword [0x4ad520], 0
mov ebx, eax
jne 0x40e5ac
push 0x402bdc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e65d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402bd0
push edi
call esi
test eax, eax
je 0x40e65d
push eax
call fcn.00407d1c
mov dword [esp], 0x402bc0
push edi
mov dword [0x4ad520], eax
call esi
push eax
call fcn.00407d1c
mov dword [esp], 0x402bac
push edi
mov dword [0x4ad524], eax
call esi
push eax
call fcn.00407d1c
mov dword [esp], 0x402b90
push edi
mov dword [0x4ad528], eax
call esi
push eax
call fcn.00407d1c
pop ecx
mov dword [0x4ad530], eax
test eax, eax
je 0x40e5ac
push 0x402b78
push edi
call esi
push eax
call fcn.00407d1c
pop ecx
mov dword [0x4ad52c], eax
mov eax, dword [0x4ad52c]
cmp eax, ebx
je 0x40e604
cmp dword [0x4ad530], ebx
je 0x40e604
push eax
call fcn.00407d97
push dword [0x4ad530]
mov esi, eax
call fcn.00407d97
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e604
test edi, edi
je 0x40e604
call esi
test eax, eax
je 0x40e5fb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e5fb
test byte [ebp - 0xc], 1
jne 0x40e604
or dword [ebp + 0x10], 0x200000
jmp 0x40e63d
mov eax, dword [0x4ad524]
cmp eax, ebx
je 0x40e63d
push eax
call fcn.00407d97
pop ecx
test eax, eax
je 0x40e63d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e63d
mov eax, dword [0x4ad528]
cmp eax, ebx
je 0x40e63d
push eax
call fcn.00407d97
pop ecx
test eax, eax
je 0x40e63d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ad520]
call fcn.00407d97
pop ecx
test eax, eax
je 0x40e65d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e65f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x69f63c9f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3e1d660e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219