joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5547e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, eax
and edx, 0x800000ff
jns 0x5547f8
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + ecx + 0xc], dl
cdq
and edx, 0xff
add eax, edx
sar eax, 8
inc ecx
cmp ecx, 4
jl 0x5547e6
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x55483f
mov ecx, dword [esp + 8]
push ebx
mov edx, eax
and edx, reloc.WS2_32.dll_closesocket
jns 0x55482d
dec edx
or edx, 0xfffffffc
inc edx
mov dl, byte [esp + edx + 0x14]
mov bl, byte [eax + ecx]
xor bl, dl
mov byte [eax + ecx], bl
inc eax
cmp eax, esi
jl 0x55481e
pop ebx
pop esi
ret
Function at 0x5550c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x2c]
cmp eax, ecx
je 0x555263
call sub.WINMM.dll_timeGetTime
mov edx, dword [esi + 0x18]
mov dword [esp + 0x18], eax
sub eax, edx
cmp eax, 0x1f4
jbe 0x555263
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov eax, dword [esi + 0x48]
mov ebp, dword [esi + 0x38]
sub eax, ebp
sar eax, 2
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x2c]
lea ebx, [ecx + ecx*2]
mov ecx, dword [esi + 0x34]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esi + 0x3c]
mov eax, 0x2aaaaaab
sar edx, 2
mov ebp, edx
add edx, ebx
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x40]
sub ecx, edx
imul ecx
sar edx, 2
mov ecx, edx
add edx, ebp
shr ecx, 0x1f
lea edx, [ecx + edx - 0x15]
cmp edi, edx
jae 0x555263
mov ebx, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
mov ecx, ebx
mov ebp, dword [esi + 0x38]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, edi
mov edi, edx
js 0x555180
cmp edi, 0x15
jge 0x555180
add ebx, dword [esp + 0x10]
jmp 0x5551cb
test edi, edi
jle 0x555199
mov eax, 0x30c30c31
imul edi
mov eax, edx
sar eax, 2
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
jmp 0x5551b3
or ecx, 0xffffffff
mov eax, 0x86186187
sub ecx, edi
mul ecx
sub ecx, edx
or eax, 0xffffffff
shr ecx, 1
add ecx, edx
shr ecx, 4
sub eax, ecx
mov edx, dword [ebp + eax*4]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
sub edi, eax
lea ecx, [edi + edi*2]
lea ebx, [edx + ecx*8]
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x20]
mov edx, edi
sub edx, ecx
cmp edx, eax
jb 0x555263
mov edx, dword [esi + 0x74]
mov ecx, dword [esi + 0x78]
fld dword [esi + 0x20]
fcomp dword [0x5a83e4]
inc edx
xor eax, eax
mov dword [esi + 0x74], edx
mov ax, word [ebx + 0x10]
add ecx, eax
fnstsw ax
mov dword [esi + 0x78], ecx
and eax, 0x4100
jne 0x55522a
call fcn.0050b88e
cdq
fld dword [esi + 0x20]
mov ecx, 0x3e8
idiv ecx
fmul dword [0x5a9b40]
mov ebp, edx
call fcn.0050a970
cmp ebp, eax
jl 0x555248
mov ecx, dword [ebx + 0x14]
xor eax, eax
mov ax, word [ebx + 0x10]
lea edx, [ebx + 4]
push edx
push eax
push ecx
mov ecx, dword [esi + 4]
call fcn.00555570
test eax, eax
jle 0x555263
mov dword [esi + 0x18], edi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x18
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov edi, ecx
jmp 0x5550fa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x555490
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
je 0x55549d
call fcn.00555740
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x5554bc
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
mov byte [esi + 4], 0
pop esi
ret 4
cmp eax, 2
jne 0x5554ce
push 0
push 1
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
mov byte [esi + 4], 0
pop esi
ret 4
Function at 0x555570
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp dword [esi], 0xffffffff
jne 0x555587
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
push ecx
call fcn.00555530
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 8]
push 0x10
push edx
mov edx, dword [esi]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov edi, eax
test edi, edi
jge 0x5555d8
mov al, byte [esi + 4]
test al, al
je 0x5555d8
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x5555d8
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret 0xc

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

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x555608
pop edi
or eax, eax
pop esi
add esp, 0x14
ret 0xc
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push 0
push ecx
push edx
push eax
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
test edi, edi
jge 0x555650
mov al, byte [esi + 4]
test al, al
je 0x555650
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x555650
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 0xc
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.00555670
add esp, 8
mov eax, edi
pop edi
pop esi
add esp, 0x14
ret 0xc

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

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x5556b2
pop edi
or eax, eax
pop esi
ret 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jge 0x5556e5
mov al, byte [esi + 4]
test al, al
je 0x5556e5
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x5556e5
pop edi
xor eax, eax
pop esi
ret 8
mov eax, edi
pop edi
pop esi
ret 8

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

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x555702
pop edi
or eax, eax
pop esi
ret 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jge 0x555735
mov al, byte [esi + 4]
test al, al
je 0x555735
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x555735
pop edi
xor eax, eax
pop esi
ret 8
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x555770
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
jne 0x555784
xor al, al
pop esi
add esp, 0x10
ret 4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 4]
push eax
push ecx
call fcn.00555530
mov eax, dword [esi]
add esp, 8
lea edx, [esp + 4]
push 0x10
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jge 0x5557c6
mov al, byte [esi + 4]
test al, al
je 0x5557bd
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x5557c6
xor al, al
pop esi
add esp, 0x10
ret 4
mov al, 1
pop esi
add esp, 0x10
ret 4

Function at 0x5557d0
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [0x7265dc]
sub esp, 0x190
inc eax
cmp eax, 1
mov dword [0x7265dc], eax
jne 0x555813
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x555813
mov dword [0x7265dc], 0
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
add esp, 0x190
ret
mov al, 1
add esp, 0x190
ret

Function at 0x555840
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x55584f
xor al, al
pop esi
ret 8
mov eax, dword [esp + 0xc]
push eax
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x555868
mov byte [esi], 0
xor al, al
pop esi
ret 8
mov al, 1
pop esi
ret 8

Function at 0x555870
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [ecx]
sub esp, 0x14
cmp eax, 0xffffffff
je 0x5558a9
lea ecx, [esp]
lea edx, [esp + 4]
push ecx
push edx
push eax
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x5558a9
mov ecx, dword [esp + 0x18]
lea eax, [esp + 4]
push eax
push ecx
call fcn.00555670
add esp, 8
add esp, 0x14
ret 4

Function at 0x555960
Capabilities:
Get socket status

Disassembly:
mov eax, dword [ecx]
sub esp, 0x104
cmp eax, 0xffffffff
jne 0x555976
xor al, al
add esp, 0x104
ret
push 0x7265e0
mov dword [esp + 8], eax
push 0
lea ecx, [esp + 8]
push 0
inc eax
push ecx
push eax
mov dword [esp + 0x14], 1
call dword [sym.imp.WS2_32.dll_select]
xor edx, edx
test eax, eax
setg dl
mov al, dl
add esp, 0x104
ret

Function at 0x5559b0
Capabilities:
Get socket status

Disassembly:
mov eax, dword [ecx]
sub esp, 0x104
cmp eax, 0xffffffff
jne 0x5559c6
xor al, al
add esp, 0x104
ret
push 0x7265e0
lea ecx, [esp + 4]
mov dword [esp + 8], eax
push 0
push ecx
inc eax
push 0
push eax
mov dword [esp + 0x14], 1
call dword [sym.imp.WS2_32.dll_select]
xor edx, edx
test eax, eax
setg dl
mov al, dl
add esp, 0x104
ret

Function at 0x555a00
Capabilities:
Get socket status

Disassembly:
mov eax, dword [ecx]
sub esp, 0x104
cmp eax, 0xffffffff
jne 0x555a16
xor al, al
add esp, 0x104
ret
lea ecx, [esp]
push 0x7265e0
mov dword [esp + 8], eax
push ecx
push 0
inc eax
push 0
push eax
mov dword [esp + 0x14], 1
call dword [sym.imp.WS2_32.dll_select]
xor edx, edx
test eax, eax
setg dl
mov al, dl
add esp, 0x104
ret
Function at 0x555b40
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x56fcc3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
push esi
mov esi, ecx
mov al, byte [esi + 0x58]
test al, al
je 0x56fceb
call fcn.0056fbc0
mov eax, dword [esi + 0x128]
test eax, eax
jne 0x56fceb
mov ecx, dword [esi + 0x12c]
test ecx, ecx
je 0x56fceb
mov eax, dword [ecx]
call dword [eax + 0x74]
mov eax, dword [esi + 0x40]
push ebp
xor ebp, ebp
push edi
test eax, eax
jle 0x56fd40
mov ecx, dword [esi + 0x4c]
mov edi, dword [ecx + ebp*4]
mov ecx, edi
call fcn.00584190
fcomp dword [esi + 0x24]
fnstsw ax
and eax, 0x4100
je 0x56fd38
mov edx, dword [edi + 0x1ec]
mov al, byte [edx + 0x5d]
test al, al
jne 0x56fd38
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x74]
mov al, byte [esi + 0x58]
test al, al
je 0x56fd38
mov al, byte [esi + 0x59]
test al, al
je 0x56fd38
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x78]
mov eax, dword [esi + 0x40]
inc ebp
cmp ebp, eax
jl 0x56fcf6
push 0
push 0x12
call fcn.00475b30
mov eax, dword [esi + 0x40]
add esp, 8
xor ebp, ebp
test eax, eax
jle 0x56fd9f
mov eax, dword [esi + 0x4c]
mov edi, dword [eax + ebp*4]
mov ecx, edi
call fcn.00584190
fcomp dword [esi + 0x24]
fnstsw ax
and eax, 0x4100
je 0x56fd97
mov ecx, dword [edi + 0x1ec]
mov al, byte [ecx + 0x5d]
test al, al
je 0x56fd97
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x74]
mov al, byte [esi + 0x58]
test al, al
je 0x56fd97
mov al, byte [esi + 0x59]
test al, al
je 0x56fd97
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
mov eax, dword [esi + 0x40]
inc ebp
cmp ebp, eax
jl 0x56fd55
push 1
push 0x12
call fcn.00475b30
mov al, byte [esi + 0x3c]
add esp, 8
test al, al
pop edi
pop ebp
je 0x56fea9
fld dword [esi + 0xc4]
fadd dword [esi + 0xb8]
fld dword [esi + 0xc8]
fadd dword [esi + 0xbc]
fld dword [esi + 0xcc]
fadd dword [esi + 0xc0]
mov al, 0xff
mov byte [esp + 4], 0
mov byte [esp + 5], al
mov byte [esp + 7], al
mov byte [esp + 6], 0
fstp dword [esp + 0x28]
fxch st(1)
fmul dword [0x5a83e8]
fstp dword [esp + 8]
mov ecx, dword [esp + 8]
fmul dword [0x5a83e8]
mov dword [esp + 0x20], ecx
fstp dword [esp + 0xc]
fld dword [esp + 0x28]
fmul dword [0x5a83e8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], edx
fstp dword [esp + 0x10]
fld dword [esi + 0xc4]
fsub dword [esp + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
fstp dword [esp + 0x14]
fld dword [esi + 0xc8]
fsub dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x2c]
fstp dword [esp + 0x18]
fld dword [esi + 0xcc]
fsub dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
call fcn.00477760
lea ecx, [esp + 0x20]
push ecx
push 3
lea ecx, [esp + 0x34]
call fcn.004780f0
push 0
call fcn.0047a4e0
lea edx, [esp + 8]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.004759a0
add esp, 0x10
pop esi
add esp, 0x68
ret
Function at 0x57b3b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
push 0x5d11b8
push 0x5caa20
call fcn.0050af12
add esp, 0xc
push 2
call fcn.0050d6b8
nop
nop
Function at 0x5815a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a734d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x38]
call fcn.0058f030
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
lea ebp, [esi + 0xf4]
mov ebx, 1
mov ecx, 0x5d5740
mov byte [esp + 0x20], bl
mov dword [esp + 0x14], ebp
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
call fcn.00402360
mov eax, dword [0x5d5700]
mov byte [esp + 0x20], 2
cmp eax, edi
jne 0x581622
push 8
call fcn.004031e0
add esp, 4
jmp 0x58162a
mov ecx, dword [eax]
mov dword [0x5d5700], ecx
mov dword [0x5d5740], edi
mov dword [ebp], eax
mov dword [ebp + 4], eax
add eax, 8
mov dword [ebp + 8], eax
mov ecx, ebp
mov byte [esp + 0x20], 4
call fcn.00402970
lea ebp, [esi + 0x100]
push 8
mov byte [esp + 0x24], 5
mov dword [esp + 0x18], ebp
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
call fcn.00402b20
mov dword [ebp], eax
mov dword [ebp + 4], eax
add eax, 8
add esp, 4
mov dword [ebp + 8], eax
mov ecx, ebp
mov byte [esp + 0x20], 8
call fcn.00402970
lea ecx, [esi + 0x10c]
mov byte [esp + 0x20], 9
call fcn.0047c6a0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0x1fc], edi
mov dword [esi + 0x200], edi
mov dword [esi + 0x204], edx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x28], bl
mov byte [esi + 0x29], bl
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x584690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a757e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov dword [ebp], fcn.00582870
mov dword [esp + 0x20], 2
call fcn.00585450
push fcn.004025c0
push 5
lea eax, [ebp + 0x8e0]
push 0xc
push eax
mov byte [esp + 0x30], 1
call fcn.0050bc93
mov ebx, dword [ebp + 0x268]
mov eax, dword [ebp + 0x270]
sub eax, ebx
mov byte [esp + 0x20], 0
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x58482c
test eax, eax
je 0x58482c
cmp eax, 0x80
jbe 0x58471a
push ebx
call fcn.0050a62f
add esp, 4
jmp 0x58482c
add eax, 7
push esi
shr eax, 3
push edi
push 1
lea ecx, [eax*4 + 0x5d56fc]
push 0x5d5740
mov dword [esp + 0x20], ecx
call fcn.00442e50
add esp, 8
test eax, eax
je 0x584816
mov edi, dword [0x5c4264]
mov eax, dword [0x5d5744]
xor esi, esi
mov dword [esp + 0x10], 0x11
test edi, edi
jbe 0x5847dc
mov ebx, eax
shr ebx, 1
cmp esi, ebx
jb 0x584797
mov eax, dword [0x5d5740]
test eax, eax
jne 0x584797
push 1
push 0x5d5740
call fcn.00442e50
add esp, 8
test eax, eax
jne 0x5847d3
mov ebx, dword [esp + 0x14]
mov dword [0x5d5744], esi
mov dword [0x5c4264], 0x3e8
jmp 0x584816
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
imul edx, eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
imul ecx, edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
imul edx, eax
mov dword [esp + 0x10], edx
inc esi
cmp esi, edi
jb 0x584761
mov ebx, dword [esp + 0x14]
mov dword [0x5c4264], 0x1e
mov esi, 6
cmp esi, 0x1b
mov edi, esi
jle 0x5847f7
mov edi, 0x1b
push 1
push 0x5d5740
call fcn.00442e50
add esp, 8
test eax, eax
je 0x584816
push edi
call fcn.00442e70
add esp, 4
inc esi
jmp 0x5847eb
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov ecx, dword [eax]
mov dword [ebx], ecx
mov dword [eax], ebx
mov dword [0x5d5740], 0
mov ecx, ebp
mov dword [esp + 0x20], 0xffffffff
call fcn.00581ff0
mov ecx, dword [esp + 0x18]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x3010f689
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x301a8598
call fcn.3010fafc
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x301fcec4
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x3010f428
cmp eax, esi
jne 0x3010f41b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x3010f42b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x3010f402
xor esi, esi
inc esi
mov eax, dword [0x301fcec0]
cmp eax, esi
jne 0x3010f43e
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x3010f46d
mov eax, dword [0x301fcec0]
test eax, eax
jne 0x3010f467
mov dword [0x301fcec0], esi
push 0x3000156c
push 0x30001560
call fcn.302be000
pop ecx
pop ecx
test eax, eax
je 0x3010f46d
jmp 0x3010f595
mov dword [0x301f8cf0], esi
mov eax, dword [0x301fcec0]
cmp eax, esi
jne 0x3010f491
push 0x3000155c
push 0x3000150c
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x301fcec0], 2
test ebx, ebx
jne 0x3010f49d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x301fced0], 0
je 0x3010f4c1
push 0x301fced0
call fcn.3010fdd2
pop ecx
test eax, eax
je 0x3010f4c1
push 0
push 2
push 0
call dword [0x301fced0]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x3010f51d
test al, al
je 0x3010f4db
cmp dword [ebp - 0x1c], 0
jne 0x3010f51d
mov al, byte [esi]
test al, al
je 0x3010f4eb
cmp al, 0x20
ja 0x3010f4eb
inc esi
mov dword [ebp - 0x20], esi
jmp 0x3010f4db
test byte [ebp - 0x3c], 1
je 0x3010f4f7
movzx eax, word [ebp - 0x38]
jmp 0x3010f4fa
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x301f8cec], eax
cmp dword [0x301f8ce0], 0
jne 0x3010f571
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x3010f52c
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x3010f53f
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x3010f4c8
cmp dword [0x301f8cf0], 0
jne 0x3010f580
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x301f8cec]
jmp 0x3010f5a1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.3010fb41
ret
call fcn.3010f2b1
jmp 0x3010f3c8
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
jmp 0x41fe5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41fe61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41fe50
mov eax, 1
add ebx, ebx
jne 0x41fe73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41fe68
jne 0x41fe84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41fe68
xor ecx, ecx
sub eax, 3
jb 0x41fe98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ff0a
mov ebp, eax
add ebx, ebx
jne 0x41fea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41feb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41fed4
inc ecx
add ebx, ebx
jne 0x41fec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41feb5
jne 0x41fed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41feb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41fef4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41fee5
jmp 0x41fe56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41fef4
add edi, ecx
jmp 0x41fe56
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ff12
cmp byte [edi], 9
jne 0x41ff12
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 0x41ff17
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41ff8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x20a04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20ae4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ff44
mov ecx, edi
jns 0x41ff73
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 + 0x20aec]
or eax, eax
je 0x41ff89
mov dword [ebx], eax
add ebx, 4
jmp 0x41ff61
call dword [esi + 0x20ae8]
mov ebp, dword [esi + 0x20af0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x41ffc3
sub esp, 0xffffff80
jmp 0x41382f