joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a4a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x464380]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x46893c], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x439ef0
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x43a1e0
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.00439ea0
je 0x43a512
movzx eax, word [esp + 0x234]
mov eax, dword [eax*8 + 0x465604]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00413385
add esp, 0x230
ret 4
push 0x104
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x43a60f
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.0041c465
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.00421a97
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x43a58d
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x43a5d4
push esi
call ebp
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.0041c465
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.00421a97
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x43a60b
push str.getaddrinfo
push esi
call ebx
test eax, eax
je 0x43a63f
xor edi, edi
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
test eax, eax
mov dword [esp + edi*8 + 0x14], eax
je 0x43a63f
add edi, 1
cmp edi, 3
jl 0x43a5d6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x465604], edx
mov dword [0x46560c], eax
mov dword [fcn.00439ea0], ecx
pop edi
pop esi
pop ebp
pop ebx
movzx edx, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
mov eax, dword [edx*8 + 0x465604]
xor ecx, esp
mov dword [0x46893c], 1
call fcn.00413385
add esp, 0x230
ret 4
push esi
call ebp
jmp 0x43a60b

Function at 0x43aba0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.00455072
add esp, 0x18
test eax, eax
je 0x43abc3
cmp eax, 0xffffffff
jne 0x43abc5
xor eax, eax
ret
Function at 0x4413d0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push str.Connected_for_receive
push 0x45b078
push ecx
call fcn.00437470
add esp, 0xc
mov eax, esi
mov dword [esi], 1
call fcn.00440570
test eax, eax
jne 0x441400
mov eax, esi
jmp fcn.00440a00
ret
Function at 0x441810
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [0x464380]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov ebx, dword [ebp]
push esi
mov esi, dword [ebp + 0x3d0]
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push 0
add edx, 4
lea edi, [esi + 0x15c]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x44189f
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0xc8]
push ecx
call fcn.00413020
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x148], edx
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x4418da
push str.Received_too_short_packet
push ebx
call fcn.00437500
add esp, 8
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00413385
add esp, 0x88
ret
mov eax, edi
call fcn.004406f0
movzx eax, ax
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x4418f3
jmp dword [eax*4 + 0x4419e0]
cmp edx, 4
jle case.0x4418f3.4
mov eax, edi
call fcn.00440700
movzx ecx, word [esi + 0x40]
add ecx, 1
cmp cx, ax
jne case.0x4418f3.4
add edx, 0xfffffffc
push edx
mov edx, dword [edi]
add edx, 4
push edx
push 1
push ebp
call fcn.004377e0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x441948
mov ecx, 5
mov eax, esi
call fcn.00441790
mov eax, edi
jmp 0x4418c1
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [ebx + 0x38], eax
mov ecx, dword [ebx + 0x38]
adc dword [ebx + 0x3c], edx
mov eax, dword [ebx + 0x3c]
push eax
push ecx
push ebx
call fcn.0044e3b0
jmp 0x4419b4
mov eax, edi
call fcn.00440700
movzx edx, ax
mov eax, dword [edi]
add eax, 4
push eax
push 0x45b078
push ebx
mov dword [esi + 8], edx
call fcn.00437470
jmp 0x4419b4
mov ecx, dword [edi]
add edx, 0xfffffffe
push edx
add ecx, 2
push ecx
push esi
call fcn.004407a0
add esp, 0xc
test eax, eax
je case.0x4418f3.4
jmp 0x4418c1
push str.Internal_error:_Unexpected_packet
push 0x45aee4
push ebx
call fcn.00437500
add esp, 0xc
push ebp
call fcn.0044e470
add esp, 4
test eax, eax
je 0x4418bf
mov ecx, 5
mov eax, esi
call fcn.00441790
mov eax, 0x2a
jmp 0x4418c1

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

Disassembly:
push ecx
mov edx, dword [edi + 0x130]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x443794
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00437500
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.00443640
add esp, 4
pop esi
pop ecx
ret
Function at 0x444de0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x464380]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esi + 0x134]
push ebp
push edi
mov edi, dword [esi]
push 1
push 0
push edi
or ebp, 0xffffffff
mov dword [esp + 0x18], 0x10
call fcn.00437940
add esp, 0xc
test eax, eax
jl 0x444e49
mov ecx, 0x3e8
cmp eax, ecx
jge 0x444e20
mov ecx, eax
push ecx
push 0xffffffffffffffff
push ebx
call fcn.0044ce30
add esp, 0xc
cmp eax, 0xffffffff
je 0x444ee4
test eax, eax
jne 0x444e6e
push 1
push eax
push edi
call fcn.00437940
add esp, 0xc
test eax, eax
jge 0x444e15
push str.Timeout_while_waiting_for_server_connect
push edi
call fcn.00437500
add esp, 8
pop edi
pop ebp
mov eax, 0x1c
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00413385
add esp, 0x18
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x444e9e
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebp, eax
push ebx
push esi
call fcn.00438150
add esp, 8
cmp ebp, 0xffffffff
jne 0x444eb4
push str.Error_accept__ing_server_connect
jmp 0x444ee9
push str.Connection_accepted_from_server_n
push edi
call fcn.00437470
push 1
push ebp
mov dword [esi + 0x134], ebp
call fcn.00450a00
add esp, 0x10
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00413385
add esp, 0x18
ret
push str.Error_while_waiting_for_server_connect
push edi
call fcn.00437500
mov ecx, dword [esp + 0x28]
add esp, 8
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x1e
call fcn.00413385
add esp, 0x18
ret
Function at 0x44ce30
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
sub esp, 0x31c
push ebx
mov ebx, dword [esp + 0x324]
push ebp
mov ebp, dword [esp + 0x32c]
push esi
xor esi, esi
cmp ebx, 0xffffffff
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
jne 0x44ce74
cmp ebp, ebx
jne 0x44ce74
mov eax, dword [esp + 0x334]
push eax
call fcn.0044ce00
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
push edi
mov edi, dword [esp + 0x338]
cmp edi, esi
jle 0x44ce8f
mov esi, edi
call fcn.0043c250
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
cmp ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x124], eax
je 0x44cec3
mov ecx, 1
mov dword [esp + 0x128], ebx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov edx, ebx
cmp ebp, 0xffffffff
mov dword [esp + 0x228], eax
je 0x44cf0a
test ecx, ecx
mov dword [esp + 0x22c], ebp
mov dword [esp + 0x228], 1
jbe 0x44cef2
cmp dword [esp + eax*4 + 0x24], ebp
je 0x44cef2
add eax, 1
cmp eax, ecx
jb 0x44cee5
cmp eax, ecx
jne 0x44cf04
cmp ecx, 0x40
jae 0x44cf04
mov dword [esp + eax*4 + 0x24], ebp
add dword [esp + 0x20], 1
cmp ebp, edx
jbe 0x44cf0a
mov edx, ebp
xor ebx, ebx
test edi, edi
setl bl
lea ecx, [esp + 0x18]
lea ebp, [edx + 1]
sub ebx, 1
and ebx, ecx
lea ecx, [ecx]
xor eax, eax
cmp edi, eax
jle 0x44cf51
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
imul eax, eax, 0x3e8
mov edx, esi
sub edx, eax
imul edx, edx, 0x3e8
mov dword [esp + 0x1c], edx
jmp 0x44cf5b
jne 0x44cf5b
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x230]
push ecx
lea edx, [esp + 0x130]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x44cfc5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x44cf8e
cmp eax, 0x2714
jne 0x44cfc9
test edi, edi
jle 0x44cf20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0043c250
push edx
push eax
call fcn.0043c280
mov esi, edi
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x44cf20
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
test eax, eax
jge 0x44cfd7
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
jne 0x44cfe6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x31c
ret
mov edi, dword [esp + 0x330]
xor esi, esi
cmp edi, 0xffffffff
je 0x44d01d
lea edx, [esp + 0x124]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44d00b
mov esi, 1
lea eax, [esp + 0x20]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44d01d
or esi, 4
mov edi, dword [esp + 0x334]
cmp edi, 0xffffffff
je 0x44d050
lea ecx, [esp + 0x228]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44d03e
or esi, 2
lea edx, [esp + 0x20]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44d050
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
Function at 0x44eba0
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x44ebaf
jmp dword [ecx*4 + 0x44ec04]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret

Function at 0x44ed90
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x464380]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.00428c33
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x44edf5
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [esp], 0
je 0x44edf5
lea edx, [esp]
push edx
call dword [0x4655f8]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00413385
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00413385
add esp, 0x108
ret
jmp 0x44ed90

Function at 0x44ee10
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x464380]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.00428c33
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x44edf5
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [esp], 0
je 0x44edf5
lea edx, [esp]
push edx
call dword [0x4655f8]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00413385
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00413385
add esp, 0x108
ret
jmp 0x44ed90

Function at 0x451890
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 0x1000ecef
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1000ecfb
or eax, 0xffffffff
pop esi
ret
movzx eax, word [esi]
push ebx
push edi
mov edi, 0x1505
xor ebx, ebx
jmp 0x1000ed23
movzx ecx, ax
add eax, 0xffffffbf
cmp ax, 0x19
lea edx, [ecx + 0x20]
cmova edx, ecx
imul edi, edi, 0x21
xor edi, edx
inc ebx
movzx eax, word [esi + ebx*2]
test ax, ax
jne 0x1000ed09
imul eax, edi, 0x41c64e6d
imul ecx, edi, 0x10dcd
pop edi
pop ebx
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x10010349
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10010358
pop dword [ebp - 0x50]
mov eax, 0x9df728cb
add eax, 0x7209da8d
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xe69a0249
sub dword [ebp - 0x60], 0x9847bcfe
mov dword [ebp - 0x5c], 0xcafdcbac
add dword [ebp - 0x5c], 0x67358099
mov dword [ebp - 0x58], 0xbc5fd54b
sub dword [ebp - 0x58], 0x7013911d
mov dword [ebp - 0x54], 0xc8a268c7
add dword [ebp - 0x54], 0x375d9739
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xd0ff92bc
add dword [ebp - 0x60], 0xa372d69a
mov dword [ebp - 0x5c], 0xb818b5ca
sub dword [ebp - 0x5c], 0x76ac5455
mov dword [ebp - 0x58], 0x84d96fcf
add dword [ebp - 0x58], 0xde95fc9d
mov dword [ebp - 0x54], 0xf98eecac
add dword [ebp - 0x54], 0x6711354
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x174f7d22
sub eax, 0x74dacde
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x38c52
push 0
call eax
mov ecx, 0x8fb7cca3
sub ecx, 0x8fb78aad
xor ebx, ebx
add ebx, eax
mov edi, 0xd214cf99
sub edi, 0xc2117f99
add edi, dword [ebp - 0x50]
mov edx, 0xb7913b0a
add edx, 0x91b79365
sub dword [ebp - 4], ebx
mov esi, dword [edi]
xor dword [ebp - 0x44], 0x8e9a8517
xor esi, edx
sub dword [ebp - 0x28], esi
mov dword [ebx], esi
add dword [ebp - 0x14], eax
add ebx, 0x851a118d
add ebx, 0x7ae5ee77
add edi, 0x1307e9d6
add edi, 0xecf8162e
loop 0x10010477
add eax, 0x51137c2a
sub eax, 0x5112817f
xor ebx, ebx
add ebx, eax
add eax, 0xfc7a47ab
sub eax, 0xfc7a47a6
mov ecx, 0x39b72344
add ecx, 0xd648dcbc
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x409168
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x43ac24], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x4091a5
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x409190
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x409182
mov dword [ecx*4 + 0x43ac20], eax
inc ecx
cmp ecx, 0x100
jne 0x40917b
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x4091c8
inc edx
mov cl, byte [edx - 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43ac20]
jmp 0x4091af
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x20d04f8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x20d0502
pushal
call 0x20d0508
pop ebp
sub ebp, 0x10
sub ebp, 0x1cd04f8
jmp 0x20d051e
mov eax, 0x1cd04f8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a7
mov edx, 0x34857da0
xor byte [eax], dl
inc eax
dec ecx
jne 0x20d0535
jmp 0x20d0548
sub ebp, dword [ebp + 0x2b]
sub dword [eax + 0x6121a0a0], ebx
pop eax
mov al, byte [0x6da3a0a0]
sbb byte [esi + 0x1aa0a0a0], ah
mov byte [eax + 0x4257a0a0], ah
mov dword [0xac212b68], eax
mov al, byte [0x65a3a0a0]
invalid

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x2a270df7
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, str._k_k
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x6b6a41c0
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x50ce50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.QNhjSkbP
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x50ce72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50ce79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ce68
mov eax, 1
add ebx, ebx
jne 0x50ce8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50ce80
jne 0x50ce9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50ce80
xor ecx, ecx
sub eax, 3
jb 0x50ceb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50cf22
mov ebp, eax
add ebx, ebx
jne 0x50cebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50cec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50ceec
inc ecx
add ebx, ebx
jne 0x50ced8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50cecd
jne 0x50cee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50cecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50cf0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50cefd
jmp 0x50ce6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50cf0c
add edi, ecx
jmp 0x50ce6e
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50cf6b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50cf29
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50cf65
mov dword [ebx], eax
add ebx, 4
jmp 0x50cf46
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50cf9f
sub esp, 0xffffff80
jmp section.bUItIFMf

Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid
Function at 0x401142
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [section..bss], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
sub esp, 0xc
mov ebx, eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0xc
push 0
push ebx
push 0
push eax
call fcn.00404924
sub esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4035ff
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
imul eax, dword [ebp + 0x10]
add esp, 0xc
leave
ret 0xc

Function at 0x403625
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
imul eax, dword [ebp + 0x10]
add esp, 0xc
leave
ret 0xc
Function at 0x403e78
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea esi, [ebp - 0x90]
sub esp, 0xac
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xa4], 0x1c
test edx, edx
je 0x403ec9
lea edi, [ebp - 0xa4]
mov dword [ebp - 0xac], edx
push eax
push edi
push esi
push edx
call dword [sym.imp.WS2_32.dll_getpeername]
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0x74]
push edi
push eax
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
pop eax
jmp 0x403edb
mov edi, esi
mov ecx, 0x38
mov eax, edx
test edi, edi
je 0x403edb
jecxz 0x403edb
cld
rep stosb byte es:[edi], al
lea eax, [ebp - 0xa0]
sub esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 0xc
push esi
lea esi, [ebp - 0x58]
push esi
call fcn.0040388f
add esp, 0x20
mov ecx, ebx
call fcn.00403b0a
mov ecx, dword [ebp + 0x14]
cmp ecx, 0x439504
jne 0x403f1c
mov eax, dword [ebx + 4]
mov dword [eax], 0x21215e
add eax, 3
mov dword [ebx + 4], eax
movzx edx, word [ebp - 0x72]
mov eax, edx
xchg al, ah
mov edx, eax
movzx eax, word [ebp - 0x8e]
xchg al, ah
movsx ecx, byte [ecx]
push edi
push edi
push dword [0x465778]
push dword [0x4659c8]
push edx
push ecx
push eax
movzx eax, word [ebp - 0x94]
push esi
push eax
movzx eax, word [ebp - 0x96]
push eax
movzx eax, word [ebp - 0x98]
push eax
movzx eax, word [ebp - 0x9e]
push eax
movzx eax, word [ebp - 0x9a]
push eax
push ecx
push str._r_n___c_2.2u__2.2u__2.2u:_2.2u:_2.2u___s:_u_c_u___t_d__d_
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x40
add eax, dword [ebx + 4]
cmp dword [ebp + 0xc], 0
lea edx, [ebx + 0x811c]
mov esi, eax
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x14]
je 0x403fa3
inc eax
push dword [ebp + 0xc]
push eax
push edx
push esi
call fcn.004277fb
jmp 0x403fb0
lea ecx, [ebp + 0x18]
inc eax
push ecx
push eax
push edx
push esi
call fcn.0042776b
sub eax, 2
add esp, 0x10
add dword [ebx + 4], eax
cmp dword [0x4656b8], 0
je 0x403fd4
sub esp, 0xc
push esi
call fcn.004038d4
sub eax, 2
add esp, 0x10
mov dword [ebx + 4], eax
test byte [0x46579d], 0x40
je 0x40403c
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax*4 + 0x42a030]
test eax, eax
je 0x40403c
push edx
push edx
push eax
push esi
call fcn.004034d9
add esp, 0x10
test eax, eax
mov edx, eax
je 0x404034
mov eax, dword [ebp - 0xa4]
mov edi, dword [eax*4 + 0x42a030]
cld
xor al, al
xor ecx, ecx
test edi, edi
je 0x404026
dec ecx
repne scasb al, byte es:[edi]
inc ecx
not ecx
add ecx, edx
cmp byte [ecx], 0xd
jbe 0x404034
inc ecx
mov byte [ecx - 1], 0x2a
jmp 0x404028
inc dword [ebp - 0xa4]
jmp 0x403fe7
lea eax, [ebp - 0xa0]
sub esp, 0xc
mov ecx, ebx
push eax
call fcn.00403b52
add esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40434d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
test byte [0x465798], 0x10
jne 0x40436d
push eax
push eax
push 0x42a260
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edx
pop ecx
mov dword [0x42a4a0], 0
mov dword [0x42a490], 1
call fcn.004040d1
sub esp, 0xc
push dword [0x465770]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4656a0]
call dword [sym.imp.USER32.dll_DestroyIcon]
add esp, 0xc
call fcn.0042830c
call fcn.004042e4
call fcn.00404316
sub esp, 0xc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [0x472c8c], 0
je 0x4043d8
call fcn.0042325b
sub esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]