joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003db70
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov ebp, 0x811c9dc5
cmp esi, 0xfffffffe
je 0x1003db95
test esi, esi
je 0x1003db90
cmp esi, dword [esp + 0x1c]
je 0x1003db95
call fcn.1004923a
cmp edi, dword [esp + 0x20]
je 0x1003dc01
cmp esi, 0xfffffffe
mov ebx, edi
je 0x1003dbc7
test esi, esi
jne 0x1003dbab
call fcn.1004923a
cmp dword [esi + 0x18], 0x10
jb 0x1003dbb6
mov eax, dword [esi + 4]
jmp 0x1003dbb9
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp edi, ecx
jb 0x1003dbc7
call fcn.100491fb
add edi, 1
cmp esi, 0xfffffffe
je 0x1003dbf4
test esi, esi
jne 0x1003dbd8
call fcn.1004923a
cmp dword [esi + 0x18], 0x10
jb 0x1003dbe3
mov eax, dword [esi + 4]
jmp 0x1003dbe6
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp ebx, edx
jb 0x1003dbf4
call fcn.100491fb
movsx eax, byte [ebx]
imul ebp, ebp, 0x1000193
xor ebp, eax
jmp 0x1003db81
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x1003e9f0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [eax + 4]
test eax, eax
jne 0x1003e9fc
xor al, al
ret 4
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
add eax, 1
ret 4

Function at 0x1003ea90
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
jne 0x1003eaa2
xor al, al
add esp, 8
ret 4
mov ecx, 4
mov dword [esp], ecx
mov dword [esp + 4], ecx
lea ecx, [esp]
push ecx
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
add eax, 1
add esp, 8
ret 4

Function at 0x1003f810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
test esi, esi
jne 0x1003f823
pop esi
xor al, al
pop ebp
ret 4
test ebp, ebp
mov dword [ecx + 4], 0xffffffff
jbe 0x1003f85a
push edi
mov edi, dword [ecx]
shl edi, 8
movzx edx, byte [esi]
mov eax, dword [ecx + 4]
xor edx, eax
and edx, 0xff
add edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x10092098]
add esi, 1
sub ebp, 1
mov dword [ecx + 4], eax
jne 0x1003f834
pop edi
movzx edx, word [ecx + 6]
movzx ecx, word [ecx + 4]
push ebx
mov bl, dh
mov al, ch
add al, bl
pop ebx
add al, dl
pop esi
add al, cl
pop ebp
ret 4
Function at 0x1003fa10
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
cmp dword [esi + 4], 0xffffffff
mov byte [esi + 0xa8], 1
jne 0x1003fa55
push 1
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x1003fa55
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
pop esi
xor eax, eax
pop ebp
ret 4
xor eax, eax
test bp, bp
push edi
lea edi, [esi + 0xb8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov word [edi], 2
jbe 0x1003fa93
mov ecx, dword [esi + 4]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0xffff
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
push ebp
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 4]
push 0x10
push edi
push edx
mov word [esi + 0xba], ax
mov dword [esi + 0xbc], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
pop edi
jne 0x1003facb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop esi
xor eax, eax
pop ebp
ret 4
call fcn.1003fd00
test eax, eax
je 0x1003fa4e
mov eax, esi
call fcn.1003fd30
pop esi
mov eax, 1
pop ebp
ret 4

Function at 0x10040410
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0x8c]
sub esp, 8
cmp eax, ecx
push ebp
push esi
lea esi, [edi + 0x50]
jne 0x1004042f
xor ebp, ebp
mov dword [esi + 0x38], ebp
jmp 0x1004044a
sub eax, ecx
push ebx
mov ebx, eax
mov eax, dword [esi + 0x34]
push ebx
add ecx, eax
push ecx
push eax
call fcn.1004be00
add esp, 0xc
mov dword [esi + 0x38], ebx
xor ebp, ebp
pop ebx
mov eax, esi
mov dword [esi + 0x3c], ebp
call fcn.1002ea70
push ebp
push esi
lea eax, [edi + 0xc8]
push eax
mov dword [eax], 0x10
lea edx, [edi + 0xb8]
push edx
mov edx, dword [edi + 0x70]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [edi + 4]
push edx
lea eax, [edi + 0x74]
push eax
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
pop esi
pop ebp
jne 0x100404c7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x100404c7
cmp eax, 0x2733
je 0x100404be
cmp eax, 8
je 0x100404be
cmp eax, 0x2747
je 0x100404be
mov eax, 0x8002
add esp, 8
ret
mov eax, 0x8005
add esp, 8
ret
xor eax, eax
add esp, 8
ret

Function at 0x100410a0
Capabilities:
Resolve dns

Disassembly:
push ecx
test esi, esi
jne 0x100410a9
xor eax, eax
pop ecx
ret
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100410b0
sub eax, edx
je 0x100410a5
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x100410e7
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x100410d9
or eax, 0xffffffff
pop ecx
ret
cmp word [eax + 0xa], 4
jne 0x100410d4
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop ecx
ret
Function at 0x100412e0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x198
mov eax, dword [0x1008d0a0]
xor eax, esp
mov dword [esp + 0x194], eax
cmp dword [esi + 4], 0
je 0x10041316
mov eax, 1
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.10049338
add esp, 0x198
ret 4
xor ecx, ecx
mov ch, byte [esp + 0x19c]
lea eax, [esp]
push eax
mov cl, bl
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10041366
mov ax, word [esp]
cmp al, bl
jne 0x10041360
cmp ah, byte [esp + 0x19c]
jne 0x10041360
mov eax, 1
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.10049338
add esp, 0x198
ret 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
xor ecx, esp
xor eax, eax
call fcn.10049338
add esp, 0x198
ret 4

Function at 0x100416f0
Capabilities:
Access peb ldr_data
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x100793fa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1008d0a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
push esi
call fcn.100417a0
xor edi, edi
mov dword [esp + 0x38], edi
lea eax, [esp + 0xc]
push eax
mov dword [esi], vtable.CProactorIOCP.0
mov dword [esi + 0x4c], edi
mov dword [esi + 4], edi
mov dword [esi + 0x50], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x20]
add eax, eax
push eax
push edi
push edi
push 0xffffffffffffffff
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x4c], eax
mov dword [esp + 0x38], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4

Function at 0x10043d70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
push esi
push edi
mov esi, ecx
jne 0x10043dd9
lea edi, [esi + 4]
push edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebx], 0
jne 0x10043dd2
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ecx]
call ebx
mov ecx, dword [esi + 0x4c]
mov edi, eax
mov eax, dword [esi + 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10043dce
call ebx
sub eax, edi
push eax
lea edi, [esi + 0x70]
call fcn.10043fd0
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x10043da0
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10044d70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1007278b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1008d0a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov dword [edi], vtable.CKeyExchangeBase.0
lea esi, [edi + 0x20]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
call fcn.100452d0
mov dword [esp + 0x18], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x100464a0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
push ebp
push 1
push 1
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [ebp + 0x250]
test eax, eax
je 0x1004668f
push ebx
push esi
push edi
push 0
push 1
push 0
lea ecx, [ebp + 0x50]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov esi, eax
test esi, esi
je 0x1004668c
cmp esi, 0x102
je 0x10046589
cmp esi, 0xffffffff
je 0x1004667d
cmp esi, 1
jne 0x10046505
mov eax, dword [ebp + 0x54]
push eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
jmp 0x1004665b
mov ecx, dword [ebp + esi*4 + 0x50]
push ecx
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push esi
mov ecx, ebp
call fcn.100467f0
mov edi, eax
test edi, edi
je 0x1004665b
mov ebx, dword [edi + 0x40]
lea edx, [esp + 0x18]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0
mov eax, dword [ebx + 4]
push edi
push eax
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
jne 0x10046563
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e4
je 0x10046589
mov edx, dword [ebp]
mov eax, dword [edx + 0x1c]
push esi
push ebx
mov ecx, ebp
call eax
jmp 0x10046589
mov edx, dword [ebx]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 8]
push edi
push eax
mov ecx, ebx
call edx
test eax, eax
je 0x10046589
test eax, 0x8000
je 0x10046589
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
push esi
push ebx
mov ecx, ebp
call edx
mov eax, dword [0x10092094]
mov ecx, dword [ebp + 0x4c]
mov edi, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push 0
push 1
lea eax, [esp + 0x18]
push eax
call edx
cmp eax, 1
jne 0x1004665b
lea esp, [esp]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1004665b
push 0x10046470
mov dword [eax + 0x10], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
push eax
push 0x10
lea edx, [eax + 0x106c]
push edx
push 0
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax + 0x20]
push edx
add eax, 0x24
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x1004663f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x3e5
je 0x1004663f
mov eax, dword [0x10092070]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
cmp esi, 0x2733
je 0x1004662f
cmp esi, 8
je 0x1004662f
cmp esi, 0x2747
je 0x1004662f
push esi
push str.WSASend_____Unknow_NERROR:__d
jmp 0x10046635
push esi
push str.WSASend_____NERR_TOO_MANY_OUTSTANDING:__d
push 0
call fcn.100215b0
add esp, 0xc
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push 0
push 1
lea eax, [esp + 0x18]
push eax
call edx
cmp eax, 1
je 0x100465b0
push 1
push 1
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [ebp + 0x250]
test eax, eax
jne 0x100464c1
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x10
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.1001c700
add esp, 4
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x10
ret 8
Function at 0x10048c00
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x14], 0
jne 0x10048c33
lea eax, [esi + 0x1c]
push eax
mov eax, dword [esp + 8]
push 4
push ecx
lea edx, [esi + 4]
push edx
push eax
push 0
call fcn.1004c28e
add esp, 0x18
test eax, eax
mov dword [esi + 0x14], eax
je 0x10048c3b
mov ecx, dword [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
ret 8
xor eax, eax
ret 8

Function at 0x10048c40
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esi + 0x14]
test eax, eax
push ebx
je 0x10048c83
cmp dword [esi + 0x18], 1
jne 0x10048c83
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x10048c60
xor eax, eax
pop ebx
ret
cmp eax, 1
jbe 0x10048c7c
push edi
lea edi, [eax - 1]
test edi, edi
jbe 0x10048c7b
lea ecx, [ecx]
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x10048c70
pop edi
mov dword [esi + 0x18], 0
mov eax, 1
pop ebx
ret

Function at 0x10048c90
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10048cd5
cmp dword [esi + 0x18], 0
jne 0x10048cd5
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10048cb3
mov dword [esi + 0x18], 0
xor eax, eax
ret
test eax, eax
jbe 0x10048cce
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov edi, eax
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x10048cc1
pop edi
pop ebx
mov dword [esi + 0x18], 1
mov eax, 1
ret

Function at 0x10048e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100786a3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1008d0a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 4]
mov dword [esi], vtable.CSimpleThread.0
mov dword [esi + 0x18], 1
mov ecx, 0x10049170
sub ecx, eax
xor edi, edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
push 0xe
sub ecx, 0xe
push eax
mov byte [eax], 0xb8
mov dword [eax + 1], esi
mov dword [eax + 5], 0x50240487
mov byte [eax + 9], 0xe9
mov dword [eax + 0xa], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CThreadControl.0
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
lea edx, [esi + 0x44]
mov dword [esi + 0x30], eax
push edx
mov dword [esi + 0x2c], 0xffffffff
call fcn.1001c690
mov byte [esp + 0x14], 1
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x18], 1
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x10049338
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1008d0a0]
jne 0x10049342
repz ret
jmp fcn.1004cd48
Function at 0x10052b6a
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x1008d418]
je 0x10052b85
inc edi
cmp edi, 0x17
jb 0x10052b76
cmp edi, 0x17
jae 0x10052d05
push ebp
push 3
call fcn.10061bae
cmp eax, 1
pop ecx
je 0x10052cd1
push 3
call fcn.10061bae
test eax, eax
pop ecx
jne 0x10052bb9
cmp dword [0x10090520], 1
je 0x10052cd1
cmp ebx, 0xfc
je 0x10052d04
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x10090a88
push ebp
call fcn.10049482
add esp, 0xc
test eax, eax
je 0x10052bef
push esi
push esi
push esi
push esi
push esi
call fcn.1004b632
add esp, 0x14
push 0x104
mov esi, 0x10090aa1
push esi
push 0
mov byte [0x10090ba5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10052c33
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10049482
add esp, 0xc
test eax, eax
je 0x10052c33
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1004b632
add esp, 0x14
push esi
call fcn.1004c340
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10052c78
push esi
call fcn.1004c340
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10090d9c
push 0x1007bc80
sub ecx, eax
push ecx
push eax
call fcn.100567bb
add esp, 0x14
test eax, eax
je 0x10052c78
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1004b632
add esp, 0x14
jmp 0x10052c7a
xor esi, esi
push 0x1007f050
push ebx
push ebp
call fcn.10061b3d
add esp, 0xc
test eax, eax
je 0x10052c9a
push esi
push esi
push esi
push esi
push esi
call fcn.1004b632
add esp, 0x14
push dword [edi*8 + 0x1008d41c]
push ebx
push ebp
call fcn.10061b3d
add esp, 0xc
test eax, eax
je 0x10052cbc
push esi
push esi
push esi
push esi
push esi
call fcn.1004b632
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.10061980
add esp, 0xc
jmp 0x10052d04
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10052d04
cmp ebp, 0xffffffff
je 0x10052d04
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1008d41c]
push dword [esi]
call fcn.1004c340
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10061980
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1004cfb4
xor ebx, ebx
cmp dword [0x10090fac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10061a56
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10061b36
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1007c968
push edi
call esi
cmp eax, ebx
je 0x10061b36
push eax
call fcn.1004cf46
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10090fac], eax
call esi
push eax
call fcn.1004cf46
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10090fb0], eax
call esi
push eax
call fcn.1004cf46
mov dword [0x10090fb4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1004d7fb
test eax, eax
pop ecx
pop ecx
je 0x10061a24
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1004b632
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10061a56
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1004cf46
cmp eax, ebx
pop ecx
mov dword [0x10090fbc], eax
je 0x10061a56
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1004cf46
pop ecx
mov dword [0x10090fb8], eax
mov eax, dword [0x10090fb8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10061adb
cmp dword [0x10090fbc], ecx
je 0x10061adb
push eax
call fcn.1004cfbd
push dword [0x10090fbc]
mov esi, eax
call fcn.1004cfbd
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10061adb
cmp edi, ebx
je 0x10061adb
call esi
cmp eax, ebx
je 0x10061aa8
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10061aa8
test byte [ebp - 0x18], 1
jne 0x10061adb
lea eax, [ebp - 0x10]
push eax
call fcn.1004d8aa
test eax, eax
pop ecx
je 0x10061ac3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1004b632
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10061ad2
or dword [ebp + 0x10], 0x200000
jmp 0x10061b16
or dword [ebp + 0x10], 0x40000
jmp 0x10061b16
mov eax, dword [0x10090fb0]
cmp eax, dword [ebp - 8]
je 0x10061b16
push eax
call fcn.1004cfbd
cmp eax, ebx
pop ecx
je 0x10061b16
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10061b16
mov eax, dword [0x10090fb4]
cmp eax, dword [ebp - 8]
je 0x10061b16
push eax
call fcn.1004cfbd
cmp eax, ebx
pop ecx
je 0x10061b16
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10090fac]
call fcn.1004cfbd
cmp eax, ebx
pop ecx
je 0x10061b36
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10061b38
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x572451cb
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1e1629aa
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4f8870
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x66000]
push edi
jmp 0x4f888a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f8891
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f8880
mov eax, 1
add ebx, ebx
jne 0x4f88a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f88b4
jne 0x4f88d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f88d3
dec eax
add ebx, ebx
jne 0x4f88c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f8898
add ebx, ebx
jne 0x4f88cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f8925
xor ecx, ecx
sub eax, 3
jb 0x4f88eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f895a
sar eax, 1
mov ebp, eax
jmp 0x4f88f6
add ebx, ebx
jne 0x4f88f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f88c4
inc ecx
add ebx, ebx
jne 0x4f8904
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f88c4
add ebx, ebx
jne 0x4f8911
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f8906
jne 0x4f8922
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f8906
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f8944
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f8936
jmp 0x4f8886
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f8944
add edi, ecx
jmp 0x4f8886
pop esi
mov edi, esi
mov ecx, 0x24fb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f8962
cmp byte [edi], 0x13
jne 0x4f8962
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 0x4f8967
lea edi, [esi + 0xf5000]
mov eax, dword [edi]
or eax, eax
je 0x4f89df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf98b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf99b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f8994
mov ecx, edi
jns 0x4f89c3
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 + 0xf99b8]
or eax, eax
je 0x4f89d9
mov dword [ebx], eax
add ebx, 4
jmp 0x4f89b1
call dword [esi + 0xf99c8]
mov ebp, dword [esi + 0xf99bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4f8a13
sub esp, 0xffffff80
jmp 0x444531