joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d4ba0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x2c
push esi
mov esi, ecx
cmp byte [esi + 0x21], 0
je 0x5d4bc7
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
or eax, dword [ecx + 4]
je 0x5d4bc7
mov eax, dword [esi]
push 1
push ecx
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x5d4c36
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebp
mov ebp, dword [esp + 0x44]
push edi
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x5d4c69
push ebp
push dword [esp + 0x48]
push dword [esp + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x5d4c05
test edi, edi
jns 0x5d4c2a
call ebx
cmp eax, 0x2714
je 0x5d4bd4
test edi, edi
jns 0x5d4c2a
call ebx
cmp eax, 0x2733
jne 0x5d4c1a
cmp byte [esi + 0x20], 0
je 0x5d4c2a
jmp 0x5d4c50
cmp eax, 0x274c
je 0x5d4c50
push eax
call fcn.005d4060
add esp, 4
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x2c
ret 0xc
push 0
lea ecx, [esp + 8]
call fcn.005bec50
push 0x6c44b4
lea eax, [esp + 8]
push eax
call fcn.005d6fc4
push eax
lea ecx, [esp + 0x14]
call fcn.005bec50
push 0x6c44b4
lea eax, [esp + 0x14]
push eax
call fcn.005d6fc4
push 0
lea ecx, [esp + 0x14]
call fcn.005cc740
push 0x6c572c
lea eax, [esp + 0x14]
push eax
call fcn.005d6fc4
int3

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x634c08
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x21], 0
je 0x5d4ce9
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
or eax, dword [ecx + 4]
je 0x5d4ce9
mov eax, dword [esi]
push 1
push ecx
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
jne 0x5d4ce9
push 0
lea ecx, [ebp - 0x58]
call fcn.005bec50
push 0x6c44b4
lea eax, [ebp - 0x58]
push eax
call fcn.005d6fc4
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x10], 0x1c
nop word [eax + eax]
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x5d4db7
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x5d4d39
test edi, edi
jns 0x5d4d3d
call ebx
cmp eax, 0x2714
je 0x5d4d00
test edi, edi
js 0x5d4d66
push dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x14]
call fcn.005c9400
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.005c95d0
lea ecx, [ebp + 0x14]
call fcn.005cd310
jmp 0x5d4da2
call ebx
cmp eax, 0x2733
jne 0x5d4d92
cmp byte [esi + 0x20], 0
je 0x5d4da2
push eax
lea ecx, [ebp - 0x84]
call fcn.005bec50
push 0x6c44b4
lea eax, [ebp - 0x84]
push eax
call fcn.005d6fc4
cmp eax, 0x274c
je 0x5d4d75
push eax
call fcn.005d4060
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push 0
lea ecx, [ebp - 0x58]
call fcn.005cc740
push 0x6c572c
lea eax, [ebp - 0x58]
push eax
call fcn.005d6fc4
int3
Function at 0x5d4dd0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x2c
push esi
mov esi, ecx
cmp byte [esi + 0x21], 0
je 0x5d4df7
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x18]
or eax, dword [ecx + 4]
je 0x5d4df7
mov eax, dword [esi]
push 2
push ecx
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x5d4e46
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebp
mov ebp, dword [esp + 0x44]
push edi
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x5d4e60
push ebp
push dword [esp + 0x48]
push dword [esp + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x5d4e31
test edi, edi
jns 0x5d4e3a
call ebx
cmp eax, 0x2714
je 0x5d4e04
test edi, edi
jns 0x5d4e3a
call fcn.005d4690
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x2c
ret 0xc
push 0
lea ecx, [esp + 8]
call fcn.005bec50
push 0x6c44b4
lea eax, [esp + 8]
push eax
call fcn.005d6fc4
push 0
lea ecx, [esp + 0x14]
call fcn.005cc740
push 0x6c572c
lea eax, [esp + 0x14]
push eax
call fcn.005d6fc4
int3

Function at 0x5d4e80
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0xffffffff
je 0x5d4ee8
mov ecx, ebp
call fcn.005c9a20
push eax
mov ecx, ebp
call fcn.005c9680
push eax
push dword [esp + 0x54]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_sendto]
cmp byte [edi + 0x20], 0
mov esi, eax
je 0x5d4ed3
test esi, esi
jns 0x5d4edc
call ebx
cmp eax, 0x2714
je 0x5d4e93
test esi, esi
jns 0x5d4edc
call fcn.005d4690
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
push 0
lea ecx, [esp + 0x14]
call fcn.005cc740
push 0x6c572c
lea eax, [esp + 0x14]
push eax
call fcn.005d6fc4
int3

Function at 0x5d4f10
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 8]
sub esp, 0x2c
cmp eax, 0xffffffff
je 0x5d4f3a
push 1
push 1
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x5d4f34
call fcn.005d4690
add esp, 0x2c
ret 4
push 0
lea ecx, [esp + 4]
call fcn.005cc740
push 0x6c572c
lea eax, [esp + 4]
push eax
call fcn.005d6fc4
int3

Function at 0x5d4fd0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [ecx + 8]
sub esp, 0x2c
cmp eax, 0xffffffff
je 0x5d5002
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x5d4ffc
call fcn.005d4690
add esp, 0x2c
ret 0x10
push 0
lea ecx, [esp + 4]
call fcn.005cc740
push 0x6c572c
lea eax, [esp + 4]
push eax
call fcn.005d6fc4
int3

Function at 0x5f79e4
Capabilities:
Read file on windows

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

Function at 0x5fc4cc
Capabilities:
Create thread
Print debug messages

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

Function at 0x5fd66b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005fd32b
Function at 0x60cf10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.005bd220
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
push 0xf
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a7bd0
add esp, 8
cmp dword [ebp - 4], 0
jg 0x60cf71
mov edx, dword [ebp - 4]
push edx
call fcn.0060d2f0
add esp, 4
test eax, eax
je 0x60cf71
push 0xa
mov eax, dword [ebp + 8]
push eax
call fcn.004a84c0
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x60d3e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.005bd220
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 6
je 0x60d41c
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0060dcb0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x60d41c
mov eax, dword [ebp - 4]
jmp 0x60d473
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
push 0xf
mov eax, dword [ebp + 8]
push eax
call fcn.004a7bd0
add esp, 8
cmp dword [ebp - 4], 0
jg 0x60d470
mov ecx, dword [ebp - 4]
push ecx
call fcn.0060d2f0
add esp, 4
test eax, eax
je 0x60d470
push 0xa
mov edx, dword [ebp + 8]
push edx
call fcn.004a84c0
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x6101a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.005bd220
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x6101e5
push 0x233
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call fcn.004b9a70
add esp, 0x14
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x612670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6351a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.00452c70
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x38], 0xffffffff
mov byte [ebx + 0x3c], 0
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, dword [ebx + 0x10]
mov dword [eax], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov edi, 0x6dbcf0
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x40], esi
and esi, 1
mov dword [ebx], vtable.Poco::Base64DecoderBuf.0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov eax, dword [ecx]
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], 0x6dbef8
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, 0x6dbef8
mov dword [ebx + 0x50], eax
mov eax, 0x6dbdf8
cmove eax, edi
mov dword [ebx + 0x54], eax
call fcn.005c5ac0
test esi, esi
je 0x612773
cmp byte [0x6dbdf1], 0
jne 0x6127b1
or eax, 0xffffffff
mov ecx, 0x40
mov edi, 0x6dbdf8
rep stosd dword es:[edi], eax
xor ecx, ecx
nop dword [eax]
movzx eax, byte [ecx + 0x69c140]
mov byte [eax + 0x6dbdf8], cl
inc ecx
cmp ecx, 0x40
jb 0x612750
mov byte [0x6dbe35], 0
mov byte [0x6dbdf1], 1
jmp 0x6127b1
cmp byte [0x6dbdf0], 0
jne 0x6127b1
or eax, 0xffffffff
mov ecx, 0x40
rep stosd dword es:[edi], eax
xor eax, eax
nop dword [eax + eax]
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx + 0x6dbcf0], al
inc eax
cmp eax, 0x40
jb 0x612790
mov byte [0x6dbd2d], 0
mov byte [0x6dbdf0], 1
lea ecx, [ebp + 0xc]
call fcn.005c50e0
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x62c700
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x633f98
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x62c76f
push 0x22
push str.cannot_allocate_thread_context_key
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
call fcn.00451070
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.005bebd0
push 0x6c44f4
lea eax, [ebp - 0x50]
push eax
call fcn.005d6fc4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0xd82410
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], edi
test edi, edi
je 0xd8253f
test ebx, ebx
je 0xd8253f
mov eax, 0xaaaaaaab
mul ebx
mov eax, ebx
shr edx, 1
push esi
mov esi, ebx
lea ecx, [edx + edx*2]
sub eax, ecx
je 0xd82447
lea esi, [ecx + 3]
mov eax, 0xaaaaaaab
mul esi
mov esi, edx
shr esi, 1
call dword [0xd9a00c]
mov ecx, eax
lea eax, [esi*4 + 0x100]
push eax
push 8
push ecx
call dword [0xd9a038]
mov dword [ebp - 0x10], eax
mov byte [eax + esi*4], 0
test ebx, ebx
je 0xd82538
not dword [ebp - 4]
lea esi, [eax + 2]
lea ecx, [ebx - 1]
mov dword [ebp - 8], esi
mov eax, 0xaaaaaaab
add edi, 2
mul ecx
mov eax, edx
mov edx, 2
shr eax, 1
inc eax
mov dword [ebp - 0xc], eax
nop dword [eax]
mov ecx, dword [ebp - 4]
movzx eax, byte [edi - 2]
add ecx, edi
shl eax, 8
cmp ecx, ebx
jae 0xd824b8
movzx ecx, byte [edi - 1]
or ecx, eax
jmp 0xd824ba
mov ecx, eax
shl ecx, 8
cmp edx, ebx
jae 0xd824c8
movzx eax, byte [edi]
or eax, ecx
jmp 0xd824ca
mov eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + 0xd9fab8]
mov byte [esi - 2], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0xd9fab8]
mov byte [esi - 1], cl
mov ecx, dword [ebp - 4]
add ecx, edi
cmp ecx, ebx
jae 0xd82504
mov ecx, eax
shr ecx, 6
and ecx, 0x3f
mov cl, byte [ecx + 0xd9fab8]
jmp 0xd82506
mov cl, 0x3d
mov esi, dword [ebp - 8]
mov byte [esi], cl
cmp edx, ebx
jae 0xd8251a
and eax, 0x3f
mov al, byte [eax + 0xd9fab8]
jmp 0xd8251c
mov al, 0x3d
mov byte [esi + 1], al
add edi, 3
add esi, 4
add edx, 3
sub dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
jne 0xd824a0
mov eax, dword [ebp - 0x10]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xd82680
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
call dword [0xd9a00c]
push 0x408
push 8
push eax
mov dword [ebp - 0xc], eax
call dword [0xd9a038]
movaps xmm1, xmmword [0xda0b40]
mov edi, eax
mov ecx, 8
mov dword [edi], 0
lea edx, [edi + 0x28]
mov dword [edi + 4], 0
lea eax, [ecx - 8]
movd xmm0, eax
lea edx, [edx + 0x40]
pshufd xmm0, xmm0, 0
lea eax, [ecx - 4]
paddd xmm0, xmm1
movups xmmword [edx - 0x60], xmm0
movd xmm0, eax
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, eax
lea eax, [ecx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
cmp eax, 0x100
jl 0xd826c4
xor edx, edx
xor ebx, ebx
xor esi, esi
nop word [eax + eax]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + esi*4 + 8]
mov al, byte [edx + eax]
add al, cl
add al, bl
movzx ebx, al
mov eax, dword [edi + ebx*4 + 8]
mov dword [edi + esi*4 + 8], eax
lea eax, [edx + 1]
xor edx, edx
mov dword [edi + ebx*4 + 8], ecx
inc esi
cmp eax, 0x20
cmovl edx, eax
cmp esi, 0x100
jl 0xd82730
mov edx, dword [edi]
xor esi, esi
mov ebx, dword [edi + 4]
cmp dword [ebp - 4], esi
jle 0xd827a0
nop dword [eax]
inc dl
movzx edx, dl
mov ecx, dword [edi + edx*4 + 8]
lea eax, [ebx + ecx]
movzx ebx, al
mov eax, dword [edi + ebx*4 + 8]
mov dword [edi + edx*4 + 8], eax
mov dword [edi + ebx*4 + 8], ecx
add cl, al
movzx eax, cl
mov ecx, dword [ebp - 8]
mov al, byte [edi + eax*4 + 8]
xor byte [esi + ecx], al
inc esi
cmp esi, dword [ebp - 4]
jl 0xd82770
push edi
push 0
push dword [ebp - 0xc]
mov dword [edi], edx
mov dword [edi + 4], ebx
call dword [section..rdata]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xd86d00
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
test bl, 7
jne 0xd86dda
push esi
push edi
push ebx
call fcn.00d87b1f
mov esi, dword [ebp + 8]
mov edx, eax
xor al, al
mov dword [ebp - 8], edx
mov ecx, ebx
mov edi, edx
rep stosb byte es:[edi], al
mov ecx, ebx
mov edi, edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
add esp, 4
mov dword [ebp - 4], ebx
test ecx, ecx
je 0xd86dce
mov esi, dword [ebx + edx]
lea eax, [ebx + edx]
mov dword [ebp - 0xc], eax
lea eax, [ebx + 4]
add eax, edx
mov dword [ebp + 8], 0x20
mov dword [ebp - 0x10], eax
mov edi, dword [eax]
mov eax, 0xc6ef3720
mov ebx, dword [ebp + 0x10]
mov edx, esi
shr edx, 5
mov ecx, esi
shl ecx, 4
xor edx, ecx
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
add ecx, eax
add eax, 0x61c88647
xor edx, ecx
sub edi, edx
mov edx, edi
mov ecx, edi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
add ecx, eax
xor edx, ecx
sub esi, edx
sub dword [ebp + 8], 1
jne 0xd86d63
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 4], ebx
mov dword [eax], esi
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
cmp ebx, dword [ebp + 0xc]
jb 0xd86d44
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x138c
call 0xd997e0
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov dword [esp + 0xc], edi
call fcn.00d87aba
mov dword [esp + 0x1394], 0xffffffff
mov esi, 1
mov dword [esp + 0x14], eax
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, esi
mov dword [esp + esi*4 + 0x14], eax
inc esi
cmp esi, 0x270
jb 0xd87604
xor eax, eax
mov dword [esp + 0x10], 0x270
test ebx, ebx
je 0xd8767d
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.00d876a0
mov ecx, 0x3e
mul ecx
cmp eax, ecx
jae 0xd87664
cmp eax, 4
jae 0xd87664
mov edi, ecx
nop dword [eax + eax]
lea ecx, [esp + 0x10]
call fcn.00d876a0
mul edi
cmp eax, 4
jb 0xd87650
mov edi, dword [esp + 0xc]
mov al, byte [edx + 0xd9fb00]
mov byte [esi + edi], al
inc esi
cmp esi, ebx
jb 0xd87630
mov byte [esi + edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax + edi], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xd876a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0xd876fd
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0xd876c0
mov eax, dword [esi]
jmp 0xd877d7
cmp eax, 0x4e0
jb 0xd877d7
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0xd87716
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0xd87760
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xd88264
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0xd9a0f0]
test eax, eax
je 0xd882a3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xd882a3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xd882a3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xd882a3
cmp dword [ecx + 0x74], 0xe
jbe 0xd882a3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x3da05c98
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x9455f3a
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x31c000]
lea eax, [edi + 0x3f45f0]
push dword [eax]
mov dword [eax], 0x1986c1e9
push eax
push edi
or ebp, 0xffffffff
jmp 0x84cf52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x84cf59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84cf48
mov eax, 1
add ebx, ebx
jne 0x84cf6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x84cf7c
jne 0x84cf9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84cf9b
dec eax
add ebx, ebx
jne 0x84cf88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x84cf60
add ebx, ebx
jne 0x84cf97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x84cfed
xor ecx, ecx
sub eax, 3
jb 0x84cfb3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x84d022
sar eax, 1
mov ebp, eax
jmp 0x84cfbe
add ebx, ebx
jne 0x84cfbe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84cf8c
inc ecx
add ebx, ebx
jne 0x84cfcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84cf8c
add ebx, ebx
jne 0x84cfd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x84cfce
jne 0x84cfea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x84cfce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x84d00c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x84cffe
jmp 0x84cf4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x84d00c
add edi, ecx
jmp 0x84cf4e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x13258
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x84d02e
cmp byte [edi], 0x62
jne 0x84d02e
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 0x84d033
lea edi, [esi + 0x432000]
mov eax, dword [edi]
or eax, eax
je 0x84d0ab
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x459ae8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x459cac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x84d060
mov ecx, edi
jns 0x84d08f
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 + 0x459cb4]
or eax, eax
je 0x84d0a5
mov dword [ebx], eax
add ebx, 4
jmp 0x84d07d
call dword [esi + 0x459cb0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x84d0dc
cmp al, 0xef
ja 0x84d0cf
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x84d0b1
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x84d0be
mov ebp, dword [esi + 0x459cb8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x277]
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 0x84d110
sub esp, 0xffffff80
jmp 0x5b4700