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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x55686b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x55688f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x5568aa
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x5570ed
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x736300]
jne 0x5570fe
test ecx, 0xffff0000
jne 0x5570fe
ret
jmp fcn.00557103
Function at 0x55b5ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x55b5ce
cmp dword [edi + 0x3c], 0
jne 0x55b5ce
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00570dc8
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [0x7363a4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0055b5fb
pop edi
pop esi
pop ebx
ret 8

Function at 0x55b649
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00570dc8
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [0x7363a4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x55b67a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0055b68d
pop edi
pop esi
pop ebx
ret 8

Function at 0x55e7bb
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 0x55e7fd
call fcn.00570dc8
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [0x7363a4]
cmp eax, edi
je 0x55e7fd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x55e7f4
xor eax, eax
jmp 0x55e805
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0055e80b
pop edi
pop esi
pop ebx
ret 4

Function at 0x5727a9
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 0x5727d7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5727f5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0057270f
jmp 0x5727f5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5727f5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0057270f
test edi, edi
mov eax, edi
jne 0x5727df
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x572c8e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x572d41
mov ecx, 0x819a00
call fcn.00572896
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x572d1f
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x572cfa
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [0x7363a4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x572cfa
push ebx
push edi
push eax
call fcn.0055fc74
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [0x73646c]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.0055af82
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc

Function at 0x574a11
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x574a39
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x574a4a
push 2
call edi
test ax, ax
jge 0x574a4a
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0055c29a
cmp dword [esi + 0x30], ebx
jne 0x574b24
mov edi, dword [0x736538]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0055c29a
cmp eax, dword [esp + 0x34]
jne 0x574b24
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x574ac0
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x574b05
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x574b24
cmp eax, 0x205
je 0x574b24
cmp eax, 0x201
je 0x574b24
cmp eax, 0x204
je 0x574b24
cmp eax, ebx
jne 0x574aeb
cmp dword [esp + 0x1c], 0x1b
je 0x574b24
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x8194ac]
jbe 0x574b1a
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x574a7d
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x58a154c8
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x1ed27fb5
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10003b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x222af10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.10003430
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.100034b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.100034b0
lea ecx, [esi + 0xc]
call fcn.10012ebd
lea ecx, [esi + 0x10]
call fcn.10012ebd
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.10006120
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.10006120
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.10006120
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.10012f32
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.10012f32
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x402192
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
lea eax, [ebp - 0x64]
push esi
push 0x40
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
cmp esi, 6
jne 0x4021c0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
jmp 0x40221b
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x402219
sub esi, 0
je 0x402211
dec esi
je 0x402209
dec esi
je 0x402201
dec esi
je 0x4021f9
dec esi
je 0x4021f1
dec esi
jne 0x402219
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
jmp 0x40221d
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
jmp 0x40221d
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
jmp 0x40221d
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
jmp 0x40221d
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
jmp 0x40221d
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
jmp 0x40221d
xor eax, eax
xor edx, edx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40226b
Capabilities:
Check os version

Disassembly:
sub esp, 0x24c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push eax
mov esi, 0xc8
xor ebx, ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4023c3
mov eax, dword [esp + 0x20]
dec eax
je 0x4023a6
dec eax
jne 0x4023c3
lea eax, [esp + 0x140]
xor ebp, ebp
push eax
call fcn.00402224
pop ecx
test eax, eax
je 0x4022d7
mov ebx, dword [esp + 0x144]
mov edi, dword [esp + 0x148]
cmp byte [esp + 0x25a], 1
jmp 0x402304
lea eax, [esp + 0xa4]
mov dword [esp + 0xa4], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x402309
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x13e], 1
jne 0x402309
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x4023a2
dec ebx
je 0x40239e
dec ebx
je 0x40237d
dec ebx
je 0x402337
sub ebx, 4
jne 0x4023c3
test edi, edi
jne 0x4023c3
push 0x6e
jmp 0x4023c2
sub edi, 0
je 0x40236f
dec edi
je 0x402361
dec edi
je 0x402353
dec edi
jne 0x4023c3
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x4023c3
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x4023c3
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x4023c3
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x4023c3
sub edi, 0
je 0x40239a
dec edi
je 0x402396
dec edi
jne 0x4023c3
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x4023c3
push 0x3c
jmp 0x4023c2
push 0x32
jmp 0x4023c2
push 0x14
jmp 0x4023c2
push 5
jmp 0x4023c2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4023c0
cmp eax, 0xa
je 0x4023bc
cmp eax, 0x5a
jne 0x4023c3
push 0x28
jmp 0x4023c2
push 0x1e
jmp 0x4023c2
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
Function at 0x4027be
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x402813
push dword [esp + 0x10]
push 0x40273d
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0x4056c4]
test esi, esi
je 0x40286c
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x40280b
cmp byte [esi + 0x10], 0
je 0x40280b
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x4027e7
jmp 0x40286c
mov esi, dword [0x4056c4]
test esi, esi
je 0x40286c
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x402865
cmp byte [esi + 0x11], 0
je 0x402841
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x402858
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push ebp
push 0x4056c4
call fcn.004029af
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x402820
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x402b80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4050e0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx]
jb 0x402bbe
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 8], ecx
ja 0x402bbe
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax]
add ecx, 1
mov eax, ecx
jmp 0x402bc0
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x402bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4050e0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x402bf4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
add ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, 4
cmp dword [ebp - 8], eax
jl 0x402c41
mov ecx, dword [ebp - 8]
add ecx, 0x4000
mov edx, dword [ebp - 4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
add ecx, 5
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x4056f8]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x402d80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4050e0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x402e0c
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov esi, 0x4056e0
cmp dword [0x4056dc], edi
jne 0x402e3b
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4056dc], 1
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4056d8]
test esi, esi
je 0x402e96
test edi, edi
jne 0x402fdd
xor eax, eax
lea ecx, [esi + 0x114]
inc eax
cmp ebx, dword [ecx]
je 0x402e6c
inc eax
add ecx, 4
cmp eax, 0x40
jl 0x402e5d
jmp 0x402e88
push dword [esp + 0x1c]
add eax, 0x84
push dword [esp + 0x1c]
lea eax, [esi + eax*4]
push eax
call fcn.00402db5
xor edi, edi
add esp, 0xc
inc edi
mov esi, dword [esi]
test esi, esi
jne 0x402e4c
test edi, edi
jne 0x402fdd
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [esp + 0x10]
push ebp
push ebp
push 0x100000
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x402fdd
mov esi, dword [0x4056d8]
jmp 0x402ed7
cmp dword [esi + 0xc], 0x3f
jl 0x402f78
mov esi, dword [esi]
test esi, esi
jne 0x402ecb
push 0x310
push 8
push dword [0x4056a8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x402fd7
push ebp
push 1
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi + 8], eax
test eax, eax
je 0x402fc9
push ebp
push ebp
push esi
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
push 0x402ff0
mov dword [esi + 0x114], ebx
lea ebx, [esi + 0x214]
push 0x1000
mov dword [esi + 0x14], eax
mov dword [ebx], ebp
push ebp
mov dword [esi + 0xc], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x402fc4
push eax
call edi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
call fcn.00402db5
mov eax, dword [0x4056d8]
add esp, 0xc
mov dword [esi + 4], ebp
mov dword [esi], eax
test eax, eax
je 0x402f70
mov dword [eax + 4], esi
mov dword [0x4056d8], esi
jmp 0x402fdd
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
mov dword [esi + ecx*4 + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + eax*4 + 0x110], ebx
mov eax, dword [esi + 0xc]
mov dword [esi + eax*4 + 0x210], ebp
mov eax, dword [esi + 0xc]
add eax, 0x84
lea eax, [esi + eax*4]
push eax
call fcn.00402db5
add esp, 0xc
inc dword [esi + 0xc]
push ebp
push 1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x402fdd
push dword [esi + 8]
call edi
push esi
push ebp
push dword [0x4056a8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x10]
call edi
push 0x4056e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x52da10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd7000]
push edi
jmp 0x52da2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52da31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52da20
mov eax, 1
add ebx, ebx
jne 0x52da43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52da54
jne 0x52da73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52da73
dec eax
add ebx, ebx
jne 0x52da60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52da38
add ebx, ebx
jne 0x52da6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52dac5
xor ecx, ecx
sub eax, 3
jb 0x52da8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52dafa
sar eax, 1
mov ebp, eax
jmp 0x52da96
add ebx, ebx
jne 0x52da96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52da64
inc ecx
add ebx, ebx
jne 0x52daa4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52da64
add ebx, ebx
jne 0x52dab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52daa6
jne 0x52dac2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52daa6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52dae4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52dad6
jmp 0x52da26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52dae4
add edi, ecx
jmp 0x52da26
pop esi
mov edi, esi
mov ecx, 0x3ed3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52db02
cmp byte [edi], 0x11
jne 0x52db02
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 0x52db07
lea edi, [esi + 0x126000]
mov eax, dword [edi]
or eax, eax
je 0x52db7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x182a58]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x182bd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52db34
mov ecx, edi
jns 0x52db63
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 + 0x182bd8]
or eax, eax
je 0x52db79
mov dword [ebx], eax
add ebx, 4
jmp 0x52db51
call dword [esi + 0x182be8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52dbb0
cmp al, 0xef
ja 0x52dba3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52db85
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52db92
mov ebp, dword [esi + 0x182bdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x52dbe4
sub esp, 0xffffff80
jmp 0x427dcd
Function at 0x4188cb
Capabilities:
Encode data using xor

Disassembly:
push ds
pop edx
mov esi, 0x71ddbd9d
popfd
mov ebp, 0x215a71dd
sbb al, 0x90
cmc
dec edx
cmp byte [edx + 0x13058ad], dh
adc dword [edx + 0x69], ebx
jl 0x418864
inc edi
push ebx
aaa
xor eax, 0xd2f39318
call 0xb08d79c8
xchg ebp, eax
lcall 0x3b49, 0xbb5812ac
jp 0x41893b
pop edi
aas
wait
mov bl, 0x4b
lea esi, [eax]
inc ebp
sub byte [ecx + edi*2 + 0xf905e00], bl
inc esp
adc ebx, edi
pcmpeqd mm5, qword [edi + eax*2]
inc esp
jg 0x41891d
iretd
fistp dword [edx]
pop eax
add al, 0xb6
test byte [esi], al
invalid

Function at 0x44998b
Capabilities:
Encode data using xor

Disassembly:
inc dword [ecx + 0x119d578a]
xor al, 0x51
mov dl, byte [edi - 0x63]
adc dword [ecx + edx*2], esi
lodsb al, byte [esi]
arpl word [ebx], di
leave
jge 0x449989
sahf
invalid
invalid
invalid

Function at 0x4ac19f
Capabilities:
Encode data using xor

Disassembly:
invalid
pop edi
jp 0x4ac1df
pop edx
ja 0x4ac1fe
jle 0x4ac142
sti
adc eax, 0x94b572d0
fdiv st(2)
retf 0xa0ef

Function at 0x4ac1eb
Capabilities:
Encode data using xor

Disassembly:
xor byte [ecx], dh
out 0x26, al
add dword [ebx - 0x48], eax
inc ebx
invalid
invalid
jb 0x4ac161
xchg esp, eax
into
mov dh, byte [0x87c7b865]
pop esi
cmpsd dword [esi], dword es:[edi]
xchg esi, eax
xor dword [eax + edi*2 + 0x14], edx
jno 0x4ac20b
sahf
add dword [ebx + 0x54068903], edx
push es
push esp
enter 0x1e20, 0xffffffffffffffb9
dec esi
fist dword [ecx]
sbb byte [edx + eax*4], bh
adc al, 0xeb
jecxz 0x4ac1aa
jge 0x4ac1e6
jne fcn.004ac15f
pop esi
mov bl, 0xcf
add ebp, dword [esi + ecx + 0x69]
push cs
invalid
dec esp
invalid
sbb dl, byte [esi + 0x44]
mov eax, dword [0x11981b46]
pop ds
pop edx
push edi
jle 0x4ac1c2
test dh, 0xb2
sbb ecx, edx
inc edx
or eax, 0x5ebe5108
invalid