joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10030d9d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x10079ef8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x7ff
push eax
call fcn.10037560
add esp, 0x10
lea eax, [ebp - 0x804]
push eax
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035943
leave
ret

Function at 0x10034518
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, ecx
xor ecx, ecx
mov eax, 0x10081704
inc ecx
lock xadd dword [eax], ecx
inc ecx
cmp ecx, 1
jne 0x10034569
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x28]
mov dword [0x10081708], eax
mov ax, word [ebp - 0x30]
mov word [0x1008170c], ax
mov eax, dword [ebp - 0x18]
mov dword [0x10081710], eax
mov eax, dword [ebp - 0x40]
mov dword [0x10081714], eax
mov eax, esi
pop esi
leave
ret

Function at 0x10035943
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10079ef8]
jne 0x10038e5a
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10081998], eax
mov dword [0x10081994], ecx
mov dword [0x10081990], edx
mov dword [0x1008198c], ebx
mov dword [0x10081988], esi
mov dword [0x10081984], edi
mov word [0x100819b0], ss
mov word [0x100819a4], cs
mov word [0x10081980], ds
mov word [0x1008197c], es
mov word [0x10081978], fs
mov word [0x10081974], gs
pushfd
pop dword [0x100819a8]
mov eax, dword [ebp]
mov dword [0x1008199c], eax
mov eax, dword [ebp + 4]
mov dword [0x100819a0], eax
lea eax, [ebp + 8]
mov dword [0x100819ac], eax
mov eax, dword [ebp - 0x320]
mov dword [0x100818e8], 0x10001
mov eax, dword [0x100819a0]
mov dword [0x1008189c], eax
mov dword [0x10081890], 0xc0000409
mov dword [0x10081894], 1
mov eax, dword [0x10079ef8]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10079efc]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x100818e0], eax
push 1
call fcn.100402fd
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x1001c1c8
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x100818e0], 0
jne 0x10038f46
push 1
call fcn.100402fd
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x10040305
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.10037ab9
and dword [ebp - 4], 0
cmp dword [0x1008207c], 0
mov ebx, eax
jne 0x100403b6
push 0x1001c938
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10040467
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001c92c
push edi
call esi
test eax, eax
je 0x10040467
push eax
call fcn.10037a47
mov dword [esp], 0x1001c91c
push edi
mov dword [0x1008207c], eax
call esi
push eax
call fcn.10037a47
mov dword [esp], 0x1001c908
push edi
mov dword [0x10082080], eax
call esi
push eax
call fcn.10037a47
mov dword [esp], 0x1001c8ec
push edi
mov dword [0x10082084], eax
call esi
push eax
call fcn.10037a47
pop ecx
mov dword [0x1008208c], eax
test eax, eax
je 0x100403b6
push 0x1001c8d4
push edi
call esi
push eax
call fcn.10037a47
pop ecx
mov dword [0x10082088], eax
mov eax, dword [0x10082088]
cmp eax, ebx
je 0x1004040e
cmp dword [0x1008208c], ebx
je 0x1004040e
push eax
call fcn.10037ac2
push dword [0x1008208c]
mov esi, eax
call fcn.10037ac2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1004040e
test edi, edi
je 0x1004040e
call esi
test eax, eax
je 0x10040405
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10040405
test byte [ebp - 0xc], 1
jne 0x1004040e
or dword [ebp + 0x10], 0x200000
jmp 0x10040447
mov eax, dword [0x10082080]
cmp eax, ebx
je 0x10040447
push eax
call fcn.10037ac2
pop ecx
test eax, eax
je 0x10040447
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10040447
mov eax, dword [0x10082084]
cmp eax, ebx
je 0x10040447
push eax
call fcn.10037ac2
pop ecx
test eax, eax
je 0x10040447
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1008207c]
call fcn.10037ac2
pop ecx
test eax, eax
je 0x10040467
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10040469
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10045193
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10079ef8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x100451fb
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x100451f2
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.10035943
leave
ret
Function at 0x100455f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x10079ef8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x464]
push esi
push eax
mov dword [ebp - 0x468], 0x44
call fcn.10035951
xor eax, eax
mov dword [ebp - 0x424], esi
lea edi, [ebp - 0x420]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push ebx
stosd dword es:[edi], eax
call fcn.1001dd17
cmp eax, 0x104
jg 0x100456ae
push dword [ebp + 0xc]
lea eax, [ebp - 0x414]
push 0x6b
push ebx
push 0x1001d0bc
push 0x208
push eax
call fcn.1003667c
add esp, 0x18
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x468]
push eax
push esi
push esi
push 0x4000020
push esi
push esi
push esi
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100456ae
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
jmp 0x100456b9
push esi
push 0x30303030
call fcn.1001f84f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10035943
leave
ret 8
Function at 0x401f64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, word [ebp + 8]
push ebx
push esi
push edi
push 0xa
push eax
push dword [0x40c080]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x401f9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push dword [0x40c080]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
ja 0x401fa6
xor eax, eax
jmp 0x402096
push edi
push dword [0x40c080]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0x40
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push esi
push ebx
push edi
mov dword [ebp - 8], edi
call fcn.00402900
sub esi, 0x20
push 0x20
mov dword [ebp - 0xc], esi
lea eax, [edi + esi]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00402900
add esp, 0x18
xor eax, eax
xor ebx, ebx
movzx ecx, byte [ebp + eax - 0x2c]
add ebx, ecx
inc eax
cmp eax, 0x20
jb 0x401fee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp ebx, eax
jne 0x402032
test ebx, ebx
je 0x402053
xor edx, edx
xor ecx, ecx
test esi, esi
jbe 0x402053
mov al, dl
and al, 0x23
xor al, byte [edx + edi]
or al, byte [ebp + ecx - 0x2c]
inc ecx
cmp ecx, 0x10
mov byte [edx + edi], al
jne 0x402027
xor ecx, ecx
inc edx
cmp edx, esi
jb 0x402011
test ecx, ecx
jne 0x402009
jmp 0x402053
xor edx, edx
xor ecx, ecx
test esi, esi
jbe 0x402053
mov al, byte [ebp + ecx - 0x2c]
xor al, byte [edx + edi]
xor al, dl
inc ecx
cmp ecx, 0x10
mov byte [edx + edi], al
jne 0x40204e
xor ecx, ecx
inc edx
cmp edx, esi
jb 0x40203a
mov edi, dword [edi]
mov dword [ebp + 8], edi
add edi, 0x100
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
sub eax, 4
push eax
mov eax, dword [ebp - 8]
add eax, 4
push eax
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00401c26
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4024d3
Capabilities:
Copy file
Create directory
Create service
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x40911c
jmp loc.0040db50

Function at 0x402626
Capabilities:
Accept command line arguments
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
push 0x409198
jmp loc.0040dafd
Function at 0x10019050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10093824], 0
jne 0x10019065
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0
push 0x10078108
mov eax, dword [0x10093824]
push eax
call fcn.100144e0
add esp, 8
mov dword [ebp - 4], eax
call dword [ebp - 4]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1001d380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073765
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10091ef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x8c]
mov dword [eax], vtable.CChartAxis.0
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x8c]
mov byte [edx + 0xc], 1
mov eax, dword [ebp - 0x8c]
mov byte [eax + 0xd], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x8c]
mov byte [edx + 0x14], 1
mov eax, dword [ebp - 0x8c]
mov byte [eax + 0x15], 0
mov ecx, dword [ebp - 0x8c]
fldz
fstp qword [ecx + 0x18]
mov edx, dword [ebp - 0x8c]
fldz
fstp qword [edx + 0x20]
mov eax, dword [ebp - 0x8c]
fldz
fstp qword [eax + 0x28]
mov ecx, dword [ebp - 0x8c]
fldz
fstp qword [ecx + 0x30]
mov edx, dword [ebp - 0x8c]
mov byte [edx + 0x38], 1
mov eax, dword [ebp - 0x8c]
mov byte [eax + 0x39], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x54], 0x50
push 0x100789e8
mov ecx, dword [ebp - 0x8c]
add ecx, 0x58
call fcn.1001b600
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x74], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x78], 0
mov ecx, dword [ebp - 0x8c]
add ecx, 0x84
call fcn.1001f9e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x8c]
mov byte [eax + 0x90], 1
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x94], 0
mov edx, dword [ebp - 0x8c]
mov byte [edx + 0x98], 1
mov eax, dword [ebp - 0x8c]
fld qword [0x100789e0]
fstp qword [eax + 0xa0]
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0xa8], 0
push 0x20
call fcn.1003bef4
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 0
je 0x1001d51f
mov ecx, dword [ebp - 0x14]
call fcn.100275d0
mov dword [ebp - 0x90], eax
jmp 0x1001d529
mov dword [ebp - 0x90], 0
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x7c], ecx
push 0x74
call fcn.1003bef4
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 0
je 0x1001d569
mov ecx, dword [ebp - 0x1c]
call fcn.10020710
mov dword [ebp - 0x94], eax
jmp 0x1001d573
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x80], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10032860
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007478b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10091ef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
mov dword [eax], vtable.CChartSerie.0
mov ecx, dword [ebp - 0x70]
add ecx, 0x10
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x15]
mov dword [ebp - 0x14], edx
push 0
push 0
mov ecx, dword [ebp - 0x30]
call fcn.1001b7a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
push 0x10078803
call fcn.10058900
add esp, 4
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
push edx
push 0x10078803
mov ecx, dword [ebp - 0x70]
add ecx, 0x10
call fcn.1001b850
mov eax, dword [ebp - 0x70]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x70]
mov eax, dword [0x100938b4]
mov dword [edx + 0x4c], eax
mov ecx, dword [0x100938b4]
add ecx, 1
mov dword [0x100938b4], ecx
mov edx, dword [ebp - 0x70]
mov byte [edx + 0x2c], 1
mov eax, dword [ebp - 0x70]
mov byte [eax + 0x2d], 0
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x34], 0x969696
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x38], 2
mov ecx, dword [ebp - 0x70]
mov byte [ecx + 0x50], 1
mov edx, dword [ebp - 0x70]
mov byte [edx + 0x51], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1003ece0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x1003ed00
cmp dword [edi + 0x54], 0
jne 0x1003ed00
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.10046414
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1003eca7
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x1003f208
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x1003f24e
call fcn.10046414
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1003f24e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x1003f291
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x1003f27a
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x1003f27a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x1003f28e
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1004358f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x100435c8
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10026df0
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10026e80
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x100451de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x10045221
call fcn.10046414
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10045221
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1004523c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.10044d95
test ebx, ebx
mov esi, eax
je 0x1004523a
test edi, edi
je 0x1004523a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x10045959
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1007527f
call fcn.1005cd43
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1004597e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x100459ca
call fcn.10047887
push eax
lea ecx, [ebp - 0x10]
call fcn.10026ef0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10045243
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.1003c59f
mov eax, esi
call fcn.1005ce1b
ret 8
Function at 0x100580f5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10091ef0]
jne 0x100580ff
repz ret
jmp fcn.1005f7dc

Function at 0x1006a217
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1005f1c2
xor ebx, ebx
cmp dword [0x10096198], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1006a2ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1006a257
xor eax, eax
jmp 0x1006a3b0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100835e8
push edi
call esi
cmp eax, ebx
je 0x1006a250
push eax
call fcn.1005f15f
mov dword [esp], 0x100835d8
push edi
mov dword [0x10096198], eax
call esi
push eax
call fcn.1005f15f
mov dword [esp], 0x100835c4
push edi
mov dword [0x1009619c], eax
call esi
push eax
call fcn.1005f15f
mov dword [0x100961a0], eax
lea eax, [ebp - 8]
push eax
call fcn.1005cef6
test eax, eax
pop ecx
pop ecx
je 0x1006a2ba
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100599c5
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1006a2ec
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1005f15f
cmp eax, ebx
pop ecx
mov dword [0x100961a8], eax
je 0x1006a2ec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1005f15f
pop ecx
mov dword [0x100961a4], eax
mov eax, dword [0x100961a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1006a365
cmp dword [0x100961a8], esi
je 0x1006a365
push eax
call fcn.1005f1cb
pop ecx
call eax
cmp eax, ebx
je 0x1006a332
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x100961a8]
call fcn.1005f1cb
pop ecx
call eax
test eax, eax
je 0x1006a332
test byte [ebp - 0x18], 1
jne 0x1006a365
lea eax, [ebp - 0xc]
push eax
call fcn.1005cf2d
test eax, eax
pop ecx
je 0x1006a34d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100599c5
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1006a35c
or dword [ebp + 0x10], 0x200000
jmp 0x1006a396
or dword [ebp + 0x10], 0x40000
jmp 0x1006a396
mov eax, dword [0x1009619c]
cmp eax, esi
je 0x1006a396
push eax
call fcn.1005f1cb
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1006a396
mov eax, dword [0x100961a0]
cmp eax, esi
je 0x1006a396
push dword [ebp - 4]
push eax
call fcn.1005f1cb
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10096198]
call fcn.1005f1cb
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x318418b7
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0xf97320c
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x9688c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x39c000]
push edi
or ebp, 0xffffffff
jmp 0x9688e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9688e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9688d8
mov eax, 1
add ebx, ebx
jne 0x9688fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x96890c
jne 0x96892b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x96892b
dec eax
add ebx, ebx
jne 0x968918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9688f0
add ebx, ebx
jne 0x968927
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x96897d
xor ecx, ecx
sub eax, 3
jb 0x968943
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9689b2
sar eax, 1
mov ebp, eax
jmp 0x96894e
add ebx, ebx
jne 0x96894e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x96891c
inc ecx
add ebx, ebx
jne 0x96895c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x96891c
add ebx, ebx
jne 0x968969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x96895e
jne 0x96897a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x96895e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x96899c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x96898e
jmp 0x9688de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x96899c
add edi, ecx
jmp 0x9688de
pop esi
mov edi, esi
mov ecx, 0x11299
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9689ba
cmp byte [edi], 0x67
jne 0x9689ba
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 0x9689bf
lea edi, [esi + 0x564000]
mov eax, dword [edi]
or eax, eax
je 0x968a37
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x56a92c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x56aaf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9689ec
mov ecx, edi
jns 0x968a1b
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 + 0x56aafc]
or eax, eax
je 0x968a31
mov dword [ebx], eax
add ebx, 4
jmp 0x968a09
call dword [esi + 0x56aaf8]
mov ebp, dword [esi + 0x56ab00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x968a6b
sub esp, 0xffffff80
jmp 0x6e3323