joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42593f
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4935a4
call fcn.004903f0
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi + 4], eax
mov edi, dword [ebp + 0xc]
mov dl, byte [ebp + 0xf]
xor ecx, ecx
lea eax, [esi + 0x58c]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ecx
mov byte [esi + 0x14], 0xfe
mov word [esi + 0x15], cx
mov dword [ebp - 4], ecx
mov byte [eax], dl
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dl, byte [ebp + 0xf]
lea eax, [esi + 0x59c]
mov byte [eax], dl
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
cmp edi, 0xffffffff
mov byte [ebp - 4], 2
mov dword [esi], 0x49a898
je 0x425a03
lea eax, [ebp - 0x10]
push ebx
push eax
push 0x8004667e
push edi
mov dword [ebp - 0x10], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
lea eax, [ebp + 8]
push 4
push eax
mov ebx, 0xffff
push 0x1002
push ebx
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [esi + 0x10], 2
mov dword [ebp + 8], 0x10000
call edi
lea eax, [ebp + 8]
push 4
push eax
push 0x1001
push ebx
push dword [ebp + 0xc]
call edi
mov ecx, dword [esi + 4]
push esi
push dword [esi + 0xc]
call fcn.004275cc
pop ebx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x425a3c
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
push 0
call fcn.00425757
pop ecx
mov dword [ebx + 0xc], eax
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x425ac2
mov eax, dword [ebp + 8]
push esi
push edi
lea esi, [ebp - 0x14]
mov cx, word [eax + 4]
mov eax, dword [eax]
lea edi, [ebp - 0x24]
mov word [ebp - 0x14], 2
mov word [ebp - 0x12], cx
mov dword [ebp - 0x10], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
push 0x10
movsd dword es:[edi], dword [esi]
push eax
push dword [ebx + 0xc]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [ebx + 4]
push ebx
push dword [ebx + 0xc]
mov dword [ebx + 0x10], 1
call fcn.0042762b
mov ecx, dword [ebx + 4]
push ebx
push dword [ebx + 0xc]
call fcn.0042768a
pop edi
mov al, 1
pop esi
jmp 0x425ad7
mov eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
je 0x425ad1
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [ebx + 0xc], 0xffffffff
xor al, al
pop ebx
leave
ret 4
Function at 0x425b4c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 2
jne 0x425bbf
mov eax, dword [esi + 0x590]
test eax, eax
je 0x425b6b
mov ecx, dword [esi + 0x594]
sub ecx, eax
jne 0x425bbf
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x425b88
push 0
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x425b8b
or eax, 0xffffffff
cmp eax, ebx
je 0x425bbb
test eax, eax
jle 0x425bbf
cmp eax, ebx
jge 0x425bbf
lea ecx, [edi + ebx]
add eax, edi
push ecx
push eax
push dword [esi + 0x594]
lea ecx, [esi + 0x58c]
call fcn.00406c5e
mov ecx, dword [esi + 4]
push esi
push dword [esi + 0xc]
call fcn.0042762b
mov al, 1
jmp 0x425bc1
xor al, al
pop edi
pop esi
pop ebx
ret 0xc

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

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 2
jne 0x425bbf
mov eax, dword [esi + 0x590]
test eax, eax
je 0x425b6b
mov ecx, dword [esi + 0x594]
sub ecx, eax
jne 0x425bbf
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x425b88
push 0
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x425b8b
or eax, 0xffffffff
cmp eax, ebx
je 0x425bbb
test eax, eax
jle 0x425bbf
cmp eax, ebx
jge 0x425bbf
lea ecx, [edi + ebx]
add eax, edi
push ecx
push eax
push dword [esi + 0x594]
lea ecx, [esi + 0x58c]
call fcn.00406c5e
mov ecx, dword [esi + 4]
push esi
push dword [esi + 0xc]
call fcn.0042762b
mov al, 1
jmp 0x425bc1
xor al, al
pop edi
pop esi
pop ebx
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
push 2
pop ecx
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x425e2e
mov eax, dword [esi + 0x590]
lea edi, [esi + 0x58c]
test eax, eax
je 0x425e20
mov ecx, dword [edi + 8]
sub ecx, eax
je 0x425e20
mov ecx, eax
test ecx, ecx
je 0x425da8
mov eax, dword [edi + 8]
sub eax, ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x590]
cmp ecx, 0xffffffff
je 0x425dc3
push 0
push eax
push edx
push ecx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x425dc6
or eax, 0xffffffff
mov edx, dword [edi + 4]
test edx, edx
jne 0x425dd1
xor ecx, ecx
jmp 0x425dd6
mov ecx, dword [edi + 8]
sub ecx, edx
cmp eax, ecx
jne 0x425df9
mov ecx, dword [esi + 4]
push esi
push dword [esi + 0xc]
call fcn.00427743
and byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 0
mov ecx, edi
call fcn.00412d07
jmp 0x425e5b
test eax, eax
jle 0x425e5b
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x425e5b
mov edx, dword [edi + 8]
sub edx, ecx
cmp eax, edx
jae 0x425e5b
mov esi, dword [esi + 0x590]
mov ecx, edi
add eax, esi
push eax
push esi
call fcn.00413bce
jmp 0x425e5b
mov ecx, dword [esi + 4]
push esi
push dword [esi + 0xc]
call fcn.00427743
jmp 0x425e5b
cmp eax, 1
jne 0x425e5b
push esi
mov dword [esi + 0x10], ecx
push dword [esi + 0xc]
mov ecx, dword [esi + 4]
call fcn.00427743
mov ecx, dword [esi + 4]
push esi
push dword [esi + 0xc]
call fcn.004275cc
push 0
push 1
push 1
mov ecx, esi
call fcn.004271d9
pop edi
pop esi
leave
ret 4
Function at 0x427262
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x427278
xor esi, esi
jmp 0x42727d
mov esi, dword [edi + 8]
sub esi, eax
and byte [ebp + 0xb], 0
lea eax, [ebp + 0xb]
push eax
lea eax, [esi + 0x578]
push eax
mov ecx, edi
call fcn.00412d07
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 4]
cmp ecx, 0xffffffff
je 0x4272b1
push 0
add eax, esi
push 0x578
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x4272b4
or eax, 0xffffffff
test eax, eax
jle 0x4272c1
cmp eax, 0x578
jne 0x4272ca
test eax, eax
je 0x4272f7
cmp eax, 0xffffffff
je 0x4272dc
jmp 0x42726d
push dword [edi + 8]
add eax, esi
add eax, dword [edi + 4]
mov ecx, edi
push eax
call fcn.00413bce
jmp 0x427318
push dword [edi + 8]
add esi, dword [edi + 4]
mov ecx, edi
push esi
call fcn.00413bce
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x427318
cmp dword [ebx + 0x10], 2
jne 0x427311
xor eax, eax
push 0
cmp byte [ebp + 0xc], al
mov ecx, ebx
setne al
push eax
push 2
call fcn.004271d9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x427323
xor eax, eax
jmp 0x427328
mov eax, dword [edi + 8]
sub eax, ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8

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

Disassembly:
mov eax, 0x493748
call fcn.004903f0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 4]
add eax, 0x3c4
mov ebx, dword [eax + 0xc]
imul ebx, ebx, 0x587
add ebx, dword [eax + 8]
mov eax, dword [esi + 0x5ac]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [esi + 0x5c0]
push ecx
push 0
lea edi, [esi + 0x5f0]
push 0x583
push edi
push eax
mov dword [ebp - 0x14], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xa
mov dword [ebp - 0x14], eax
jbe 0x42759a
cmp byte [edi], 0
jne 0x42759a
cmp byte [edi + 1], 0
jne 0x42759a
cmp byte [edi + 2], 0
jne 0x42759a
cmp byte [edi + 3], 1
jne 0x42759a
add eax, 0xfffffff6
push eax
lea eax, [edi + 0xa]
push eax
call fcn.004275b6
pop ecx
test eax, eax
pop ecx
je 0x42759a
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 4]
and dword [ebp - 4], 0
mov dword [ebx + 9], ecx
mov di, word [edi + 8]
mov word [ebx + 0xd], di
and byte [ebx + 8], 0
lea edi, [ebx + 0xf]
mov ecx, 0x15e
mov esi, eax
mov dword [ebx], 3
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00427234
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
cmp dword [ebp - 0x14], 0x583
je 0x427500
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x428a53
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x1c], edi
je 0x428a6c
push 5
call fcn.00428b53
jmp 0x428ad8
lea ebx, [esi + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0xc], edi
jne 0x428a8d
push 3
mov ecx, esi
call fcn.00428b53
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x428ad8
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.00428b5d
test al, al
je 0x428ad8
lea eax, [ebp - 4]
mov dword [esi + 0x1c], 1
push eax
push edi
push esi
push 0x428e2f
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x40], eax
jne 0x428adc
push 4
mov ecx, esi
call fcn.00428b53
mov dword [esi + 0x1c], edi
xor al, al
jmp 0x428ade
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x428b5d
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
call fcn.00428bf4
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x3c], eax
je 0x428bdd
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0xc], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0xe], ax
mov word [ebp - 0x10], 2
xor edi, edi
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [esi + 0x3c]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x428bc5
push dword [ebp - 0xe]
call dword [sym.imp.WS2_32.dll_ntohs]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_htons]
inc edi
mov word [ebp - 0xe], ax
cmp edi, 0x64
jb 0x428b96
cmp edi, 0x64
pop edi
jb 0x428be6
push 2
mov ecx, esi
call fcn.00428b53
mov ecx, esi
call fcn.00428bf4
jmp 0x428be6
push 1
mov ecx, esi
call fcn.00428b53
xor eax, eax
cmp dword [esi + 0x3c], 0xffffffff
pop esi
setne al
leave
ret 8
Function at 0x428c4b
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, 0x49385c
call fcn.004903f0
sub esp, 0x30
push ebx
mov ebx, ecx
cmp dword [ebx + 0x3c], 0xffffffff
jne 0x428c68
xor al, al
jmp 0x428d78
and byte [ebp - 0xd], 0
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0xd]
push eax
push 0x264
lea ecx, [ebp - 0x2c]
call fcn.00412c6e
mov eax, dword [ebp - 0x28]
and dword [ebp - 4], 0
mov byte [eax], 0x91
cmp dword [ebp - 0x28], 0
je 0x428c9c
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
cmp eax, 3
jae 0x428cae
and byte [ebp - 0xe], 0
lea eax, [ebp - 0xe]
push eax
push 3
lea ecx, [ebp - 0x2c]
call fcn.00412d07
lea eax, [ebx + 0x24]
push edi
push eax
mov word [ebp - 0x3c], 2
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 4]
mov eax, dword [edi]
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x428d60
push esi
call fcn.00428e16
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov word [ecx + 0x18], ax
push dword [ebp - 0x18]
call dword [sym.imp.WS2_32.dll_htons]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 2
push eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea esi, [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x28], 0
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x38], ecx
mov ax, word [eax + 0x10]
mov word [ebp - 0x3a], ax
jne 0x428d2b
xor eax, eax
jmp 0x428d31
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push 0x10
push ecx
push 0
push eax
push dword [ebp - 0x28]
push dword [ebx + 0x3c]
call dword [sym.imp.WS2_32.dll_sendto]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x14]
call fcn.0042933b
cmp dword [ebp - 0x14], edi
jne 0x428cd3
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041488b
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42a15d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
or eax, 0xffffffff
mov esi, edx
dec edx
test esi, esi
je 0x42a190
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x49ad74]
xor eax, esi
inc ecx
dec edx
jne 0x42a172
pop edi
not eax
pop esi
ret
Function at 0x4432d9
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x4b0020
jmp 0x4432c0
push 0xffffffffffffffff
push 0x495774
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0044aa90
lea ebx, [esi + 0xc]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.0041f949
mov al, byte [esp + 0xf]
mov dword [esi + 0x28], edi
mov word [esi + 0x2c], di
mov byte [esi + 0x30], al
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov cl, byte [esp + 0xf]
mov dword [esi + 0x44], edi
mov byte [esi + 0x40], cl
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dl, byte [esp + 0xf]
mov dword [esi + 0x54], edi
mov byte [esi + 0x50], dl
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x24], 4
mov word [esi + 0x60], di
mov byte [esi + 0x62], 1
mov word [esi + 0x63], di
mov byte [esi + 0x65], 5
mov word [esi + 0x66], di
mov dword [esi + 0x68], edi
call fcn.004212c1
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x443c20
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x230
push ebx
push edi
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0xc]
push 0xff
rep stosd dword es:[edi], eax
lea eax, [esp + 0x13c]
xor ebx, ebx
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
mov dword [esp + 8], eax
je 0x443cbf
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
push esi
lea esi, [esp + 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x443ca5
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
test edx, edx
je 0x443ca5
mov ecx, 7
xor eax, eax
mov edi, esi
push 0x1d
rep stosd dword es:[edi], eax
push edx
push esi
stosw word es:[edi], ax
call ebp
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc ebx
add esi, 0x1e
jmp 0x443c6c
pop esi
pop ebp
test ebx, ebx
jle 0x443cbf
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
pop edi
pop ebx
add esp, 0x230
ret
pop edi
xor eax, eax
pop ebx
add esp, 0x230
ret

Function at 0x448005
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
or eax, 0xffffffff
mov esi, edx
dec edx
test esi, esi
je 0x448038
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x49ba68]
xor eax, esi
inc ecx
dec edx
jne 0x44801a
pop edi
not eax
pop esi
ret

Function at 0x44aae0
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov di, word [esp + 0x2c]
mov esi, ecx
mov word [esi + 8], di
call fcn.0044abc0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x44aba1
lea ecx, [esp + 0x2c]
push 4
push ecx
push 4
mov ebx, 1
push 0xffff
push eax
mov dword [esp + 0x40], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [esp + 0x28]
mov ebx, dword [sym.imp.WS2_32.dll_bind]
mov ebp, dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x16], di
mov dword [esp + 0x18], ecx
mov word [esp + 0x14], 2
xor edi, edi
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push 0x10
push edx
push eax
call ebx
cmp eax, 0xffffffff
jne 0x44ab95
mov ecx, dword [esp + 0x16]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
inc eax
push eax
call ebp
inc edi
mov word [esp + 0x16], ax
cmp edi, 0x64
jb 0x44ab67
jmp 0x44ab9a
cmp edi, 0x64
jb 0x44aba1
mov ecx, esi
call fcn.0044abc0
mov ecx, dword [esi + 4]
xor eax, eax
pop edi
cmp ecx, 0xffffffff
pop esi
pop ebp
setne al
pop ebx
add esp, 0x14
ret 8
Function at 0x44abe0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0x10
cmp eax, 0xffffffff
je 0x44ac24
mov ecx, dword [esp + 0x14]
mov dx, word [esp + 0x18]
mov dword [esp + 4], ecx
lea ecx, [esp]
mov word [esp + 2], dx
mov edx, dword [esp + 0x20]
push 0x10
push ecx
mov ecx, dword [esp + 0x24]
push 0
push edx
push ecx
push eax
mov word [esp + 0x18], 2
call dword [sym.imp.WS2_32.dll_sendto]
add esp, 0x10
ret 0x10
xor eax, eax
add esp, 0x10
ret 0x10
Function at 0x44b240
Capabilities:
Get file version info
Read file on windows

Disassembly:
sub esp, 0x170
push ebx
push ebp
push edi
mov edi, dword [esp + 0x180]
test edi, edi
je 0x44b433
cmp byte [edi], 0
je 0x44b433
mov ebp, dword [esp + 0x184]
test ebp, ebp
je 0x44b433
push 0
push 0
push 3
push 0
push 3
push closesocket
push edi
mov byte [ebp], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44b433
push esi
push 0
push edi
mov dword [esp + 0x20], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
mov byte [ebp], 0
test esi, esi
je 0x44b34a
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x44b34a
push eax
push esi
xor esi, esi
push esi
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x44b33d
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0x4aca04
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x44b33d
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
mov eax, dword [esp + 0x194]
shr edx, 0x10
push ecx
push edx
dec eax
push str._d._d._d._d
push eax
push ebp
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x1c
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004903c3
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x50]
push 0x40
push eax
push ebx
call esi
test eax, eax
je 0x44b41d
cmp dword [esp + 0x14], 0x40
jne 0x44b41d
mov ecx, dword [esp + 0x84]
push 0
push 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x90]
push 0xf8
push eax
push ebx
call esi
test eax, eax
je 0x44b41d
cmp dword [esp + 0x14], 0xf8
jne 0x44b41d
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
add ebp, ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
call dword [sym.imp.MSVCRT.dll_localtime]
mov ecx, 9
mov esi, eax
lea edi, [esp + 0x28]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x19c]
inc ecx
add edx, 0x76c
push ecx
push edx
dec eax
push str.__04d__02d__02d__02d:_02d:_02d
push eax
push ebp
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x170
ret
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x170
ret
Function at 0x463519
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
or eax, 0xffffffff
mov esi, edx
dec edx
test esi, esi
je 0x46354c
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x49c74c]
xor eax, esi
inc ecx
dec edx
jne 0x46352e
pop edi
not eax
pop esi
ret

Function at 0x4635fe
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x497123
call fcn.004903f0
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov ax, word [ebp + 8]
mov esi, dword [ebp + 0xc]
lea edi, [ebx + 2]
mov word [ebx], ax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [ebx + 0xc]
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00413e10
mov dword [esi], 0x49a6b4
lea esi, [ebx + 0x1c]
lea eax, [ebp + 0x20]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00413ea9
mov dword [esi], 0x49a6b8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and byte [ebx + 0x38], 0
and byte [ebp - 4], 0
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x14]
mov dword [ebx + 0x34], eax
mov dword [ebp + 0x10], 0x49a6d8
mov dword [ebp + 0x14], 0x49a6d4
call fcn.00413e43
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x20], 0x49a694
mov dword [ebp + 0x24], 0x49a690
call fcn.00413edc
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x30

Function at 0x463d58
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x4971e3
call fcn.004903f0
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov cx, word [eax]
push edi
lea esi, [eax + 2]
lea edi, [ebx + 2]
mov word [ebx], cx
add eax, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
mov dword [ebp - 0x10], ebx
call fcn.00413e10
mov dword [esi], 0x49a6b4
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
lea edi, [ebx + 0x1c]
lea eax, [esi + 0x1c]
mov ecx, edi
push eax
call fcn.00413ea9
mov dword [edi], 0x49a6b8
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
pop edi
mov dword [ebx + 0x34], eax
mov al, byte [esi + 0x38]
mov byte [ebx + 0x38], al
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4