joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434f20
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0x6cb], 0
je 0x434fbd
cmp dword [esi + 0x1a4], 0
je 0x434f77
push esi
call fcn.00424900
push 1
push esi
mov byte [esp + 0x14], al
call fcn.00424b90
push dword [esi + 0x154]
mov eax, dword [esi + 0x1a4]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call eax
push dword [esp + 0x28]
push esi
call fcn.00424b90
add esp, 0x28
pop esi
ret
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, 0
je 0x434f8c
sub eax, 1
je 0x434f8c
sub eax, 1
jne 0x434fbd
push dword [esi + 0x150]
lea eax, [ecx*2 + 0x5ca074]
push 1
add eax, ecx
push 2
push eax
call fcn.0059dc18
push dword [esi + 0x150]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0059dc18
add esp, 0x20
pop esi
ret

Function at 0x437720
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x5ca4a4
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x43773a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push 0x5ca4b0
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x5ca4c0
push esi
call fcn.0059e9c0
add esp, 8
test eax, eax
je 0x437782
test ebp, ebp
je 0x437773
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x4377a8
push 0x5ca4c4
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4377a8
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x43785f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4377c5
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edx
push eax
call dword [0x654038]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x437855
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x437855
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4377f7
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437810
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x437820
test ebp, ebp
je 0x43784c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x65403c]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x65403c]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x43dd70
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x43ddae
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x104], 0
jne 0x43dd9f
push 0
call fcn.0043dd70
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x104], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x104], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x43ddc3
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret

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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x661374]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x78]
push edi
xor edi, edi
mov dword [esp + 8], eax
cmp byte [eax + 0x6cb], 0
je 0x43ed12
cmp byte [ebp + 0x18], 0
push ebx
lea ebx, [ebp + 0x18]
je 0x43ed11
lea eax, [esp + 0x30]
push eax
push ebx
push 2
call fcn.0044bca0
add esp, 0xc
test eax, eax
jg 0x43ed11
lea eax, [esp + 0x34]
push eax
push ebx
push 0x17
call fcn.0044bca0
add esp, 0xc
test eax, eax
jg 0x43ed11
cmp byte [ebx], 0
mov eax, 0x5cb280
push esi
push dword [ebp + 0x14]
mov esi, dword [ebp]
cmovne eax, ebx
mov ebp, dword [esp + 0x14]
push eax
push 0x5cb288
push ebp
call fcn.00435090
lea eax, [esp + 0x24]
push 0x400
push eax
call fcn.0042a660
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.0042a660
add esp, 0x20
test esi, esi
je 0x43ec84
lea edx, [edi + 0x10]
mov ecx, dword [esi + 4]
cmp ecx, 0x17
je 0x43ebf8
cmp ecx, 2
jne 0x43ec79
xor eax, eax
mov byte [esp + 0x48], 0
cmp ecx, 2
lea ebx, [esp + 0x14]
cmovne eax, edx
add ebx, eax
sub ecx, 2
je 0x43ec27
sub ecx, 0x15
jne 0x43ec3f
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 8
push eax
push 0x17
jmp 0x43ec37
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 4
push eax
push 2
call fcn.004672b0
add esp, 0x10
push ebx
call fcn.0042a680
add esp, 4
test eax, eax
je 0x43ec5e
push 2
push 0x5ca094
push ebx
call fcn.0042a620
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x43eca4
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.0042a5d0
mov edi, eax
add esp, 8
test edi, edi
jne 0x43eca4
lea edx, [eax + 0x10]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x43ebe7
lea eax, [esp + 0x24]
push eax
call fcn.0042a680
add esp, 4
test eax, eax
je 0x43ecb4
lea eax, [esp + 0x24]
push eax
call fcn.0042a690
add esp, 4
jmp 0x43ecb9
push 0x5cb2a4
push ebp
call fcn.00435090
add esp, 8
jmp 0x43ecf9
mov eax, 0x5cb280
push eax
push 0x5cb2bc
push ebp
call fcn.00435090
lea eax, [esp + 0x20]
push eax
call fcn.0042a680
add esp, 0x10
test eax, eax
je 0x43ece5
lea eax, [esp + 0x14]
push eax
call fcn.0042a690
add esp, 4
jmp 0x43ecea
mov eax, 0x5cb280
push eax
push 0x5cb2c8
push ebp
call fcn.00435090
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.0042a630
lea eax, [esp + 0x28]
push eax
call fcn.0042a630
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
pop edi
pop ebp
xor ecx, esp
call fcn.00593bac
add esp, 0x6c
ret
Function at 0x447b60
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00429af0
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.005a75b2
push dword [esp + 0x40]
mov edi, eax
call fcn.005a75b2
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x447bf5
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.00429af0
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.00429ba0
add esp, 0x20
test edx, edx
ja 0x447c19
jb 0x447be7
cmp eax, 0x3e8
ja 0x447c19
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x447bb0
test edi, edi
je 0x447c02
push edi
call fcn.00596eae
add esp, 4
test esi, esi
je 0x447c0f
push esi
call fcn.00596eae
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x447c26
push edi
call fcn.00596eae
add esp, 4
test esi, esi
je 0x447c33
push esi
call fcn.00596eae
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x448110
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x44829f
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x44828a
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44816c
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448160
sub eax, edx
inc eax
jmp 0x44816e
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x44817f
lea ebp, [ecx + 0xe]
jmp 0x44818b
cmp ecx, 0x17
jne 0x44822c
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x44822c
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x44822c
cmp ecx, ebp
jb 0x44822c
add eax, 0x20
add eax, ebp
push eax
call dword [0x654038]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44827b
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.00594dc0
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x448218
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.00594dc0
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x448228
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x448152
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x44824c
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x448286
test edi, edi
je 0x44826b
mov esi, dword [edi + 0x1c]
push edi
call dword [0x65403c]
add esp, 4
mov edi, esi
test esi, esi
jne 0x448254
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x44823b
test edi, edi
jne 0x448296
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret

Function at 0x4486a0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.005a5843
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x4486c6
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x448710
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, 0x2b
test edi, edi
je 0x4487c0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
nop dword [eax]
mov ebx, 4
lea eax, [esp + 0x1c]
push 4
push eax
cmp edi, ebx
push ebp
cmovb ebx, edi
call fcn.0042f240
add esp, 0xc
cmp eax, 4
je 0x448753
mov ecx, eax
jmp 0x44877d
cmp byte [0x664d18], 0
jne 0x448787
push 2
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb ecx, ecx
and ecx, 2
mov eax, ecx
test eax, eax
jne 0x4487c2
mov eax, dword [esp + 0x1c]
jmp 0x4487a4
imul eax, dword [0x664d14], 0x41c64e6d
add eax, 0x3039
mov dword [0x664d14], eax
ror eax, 0x10
xor ecx, ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x4487b8
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x4487a8
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x448730
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4487d0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
sub ebx, 1
je 0x44884b
mov esi, dword [esp + 0x14]
mov ebp, 0x3e
nop word [eax + eax]
push 4
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0042f240
add esp, 0xc
cmp eax, 4
jne 0x44882c
cmp byte [0x664d18], 0
jne 0x448855
push 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
test eax, eax
jne 0x448850
mov eax, dword [esp + 0x1c]
cmp eax, 0xfffffffc
jae 0x4487f0
xor edx, edx
div ebp
mov al, byte [edx + 0x5cc7c8]
mov byte [edi], al
inc edi
sub ebx, 1
jne 0x4487f0
mov byte [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
imul eax, dword [0x664d14], 0x41c64e6d
add eax, 0x3039
mov dword [0x664d14], eax
ror eax, 0x10
mov dword [esp + 0x1c], eax
jmp 0x448834

Function at 0x448880
Capabilities:
Generate random numbers via winapi

Disassembly:
push dword [esp + 8]
push 0
push dword [esp + 0xc]
call fcn.00594c60
add esp, 0xc
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
ret
Function at 0x44b870
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea esi, [ebp + 1]
push esi
push ebp
call dword [0x654040]
mov edi, eax
add esp, 8
test edi, edi
je 0x44b8c7
nop word [eax + eax]
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x44b8df
cmp esi, ebx
je 0x44b8df
cmp esi, 0x8000
ja 0x44b8df
cmp esi, ebx
jb 0x44b8d8
push esi
push edi
call dword [0x654040]
mov edi, eax
add esp, 8
test edi, edi
jne 0x44b890
push ebp
call dword [0x65403c]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x65403c]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x661374]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov ebx, dword [edi + 0x18]
mov esi, dword [ebx + 0x144]
push esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x45183b
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x80
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [esp + 0xc], eax
jmp 0x45183f
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
jne 0x45186f
push 0x5ce830
push edi
call fcn.00434fc0
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00593bac
add esp, 0x8c
ret
push 0x5ce854
push edi
call fcn.00435090
mov byte [ebx + 0x1ed], 0
push 1
push dword [esp + 0x18]
call fcn.0046d010
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push edi
call fcn.00462960
add esp, 0x20
test eax, eax
jne 0x451909
cmp dword [edi + 0x1ac], eax
je 0x451907
push 1
push edi
call fcn.00424b90
mov eax, dword [edi + 0x1ac]
push 1
push dword [esp + 0x18]
push dword [edi + 0x1b0]
call eax
push 0
push edi
mov esi, eax
call fcn.00424b90
add esp, 0x1c
test esi, esi
je 0x451907
push 1
push edi
call fcn.00434570
push 1
push ebx
push edi
call fcn.00434370
add esp, 0x14
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00593bac
add esp, 0x8c
ret
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00593bac
add esp, 0x8c
ret
Function at 0x453870
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea eax, [ecx - 0xc8]
xor edi, edi
mov ebx, dword [esi + 0x18]
cmp eax, 0x64
jb 0x4538a0
push 0x5cee60
push esi
call fcn.00434fc0
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
ret
cmp ecx, 0xc8
je 0x4538b7
push ecx
push 0x5cee7c
push esi
call fcn.00435090
add esp, 0xc
mov al, byte [esp + 0x18]
push ebp
cmp al, 0x13
jne 0x4538d1
push ebx
push esi
call fcn.00453770
add esp, 8
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x14
jne 0x4539dd
mov edi, dword [esi + 0x18]
xor ebx, ebx
cmp byte [esi + 0x4c8], 2
mov dword [esp + 0x18], edi
jne 0x45394e
mov eax, dword [esi + 0x11c]
mov eax, dword [eax]
test eax, eax
je 0x45394e
push 3
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push ebx
push eax
call fcn.00460440
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x453a08
push 0x2f
push dword [esp + 0x18]
call fcn.00595340
add esp, 8
test eax, eax
je 0x45393d
mov ebx, dword [esp + 0x14]
mov ecx, 1
sub eax, ebx
cmovne ecx, eax
mov byte [ecx + ebx], 0
jmp 0x45394a
push dword [esp + 0x14]
call dword [0x65403c]
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x4fc]
test ecx, ecx
jne 0x45396c
cmp byte [esi + 0xd63], 0
mov ecx, 0x5ceb74
mov eax, 0x5cdef8
cmove ecx, eax
mov edx, 0x5c88c0
test ebx, ebx
mov eax, edx
cmovne eax, ebx
push eax
mov eax, 0x5c95e4
cmove eax, edx
push eax
push ecx
push 0x5c9e10
call fcn.004395d0
push ebx
mov ebp, eax
call dword [0x65403c]
add esp, 0x14
test ebp, ebp
jne 0x4539a9
mov edi, 0x1b
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
push ebp
push 0x5c897c
lea eax, [edi + 0x398]
push eax
push esi
call fcn.00471700
push ebp
mov edi, eax
call dword [0x65403c]
add esp, 0x14
test edi, edi
jne 0x453a08
mov eax, dword [esi + 0x18]
pop ebp
mov byte [eax + 0x436], 0x1f
mov eax, edi
pop edi
pop esi
pop ebx
ret
cmp al, 0x15
jne 0x4539f5
push 0xd
push 1
push esi
call fcn.004532d0
add esp, 0xc
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x16
jne 0x453a08
push 0xe
push 1
push esi
call fcn.004532d0
add esp, 0xc
mov edi, eax
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x45a280
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0
mov byte [esp + 0x12], cl
lea ecx, [esp + 0x10]
push 3
mov eax, dword [esi + 0x18]
push ecx
mov byte [esp + 0x18], 0xff
mov byte [esp + 0x19], bl
push dword [eax + 0x140]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x45a2cc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x5d02a8
push esi
call fcn.00434fc0
add esp, 0xc
push dword [esp + 0x14]
push ebx
push 0x5d02c4
push esi
call fcn.00459ea0
add esp, 0x10
pop esi
pop ebx
ret

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

Disassembly:
sub esp, 0xc
cmp dword [esp + 0x14], 0x1f
push ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x11c]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 4], eax
jne 0x45a57c
push ebp
push esi
lea ebp, [ecx + 0x1cb4]
push edi
lea edi, [ecx + 0x1eb4]
mov eax, ebp
mov dword [edi], ebp
cmp ebp, edi
jae 0x45a454
lea eax, [ebp + 1]
mov byte [ebp], 0xff
mov dword [edi], eax
cmp eax, edi
jae 0x45a468
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x45a468
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ecx + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
shr eax, 8
mov dword [esp + 0x14], eax
movzx ecx, word [ecx + 0x1caa]
push ecx
call esi
mov ecx, dword [edi]
mov edx, eax
shr edx, 8
mov dword [esp + 0x18], eax
cmp ecx, edi
jae 0x45a4e5
mov eax, dword [esp + 0x24]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x45a4e5
mov eax, dword [esp + 0x14]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x45a4e5
mov eax, dword [esp + 0x18]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x45a4e5
mov byte [ecx], dl
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x45a4e5
mov byte [ecx], 0xff
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x45a4e5
mov byte [ecx], 0xf0
mov ecx, dword [edi]
inc ecx
mov esi, dword [esp + 0x20]
mov dword [edi], ebp
mov dword [esi + 0x1eb8], ecx
lea eax, [esi + 0x1cb6]
sub ecx, ebp
sub ecx, 2
push ecx
push eax
push 0x3e
push ebx
call fcn.00459fa0
mov eax, dword [esp + 0x20]
add esp, 0x10
push 0
push 3
push ebp
push dword [eax + 0x140]
mov ebp, dword [sym.imp.WS2_32.dll_send]
call ebp
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x45a53b
call edi
push eax
push 0x5d02a8
push ebx
call fcn.00434fc0
add esp, 0xc
push 4
lea eax, [esi + 0x1cb7]
push eax
push ebx
call fcn.0045a2f0
add esp, 0xc
lea eax, [esi + 0x1cbb]
push 0
push 2
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x140]
call ebp
test eax, eax
jns 0x45a579
call edi
push eax
push 0x5d02a8
push ebx
call fcn.00434fc0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x45a590
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x80c
mov eax, dword [0x661374]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
mov ebx, dword [esp + 0x814]
push ebp
push esi
mov dword [esp + 0xc], ebx
mov esi, dword [ebx + 0x11c]
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x1eb8]
sub eax, dword [esi + 0x1eb4]
add eax, 2
push eax
lea eax, [esi + 0x1cb4]
push eax
push 0x3c
push ebx
call fcn.00459fa0
mov eax, dword [esi + 0x1eb4]
add esp, 0x10
mov cl, byte [eax]
inc eax
mov dword [esi + 0x1eb4], eax
cmp cl, 0x18
je 0x45a768
cmp cl, 0x23
je 0x45a745
cmp cl, 0x27
jne 0x45a7f0
push edi
push 0
push 0x27
push 0xfa
push 0xff
push 0x5d03f8
lea eax, [esp + 0x2c]
push 0x800
push eax
call fcn.00439670
mov esi, dword [esi + 0x1cb0]
add esp, 0x1c
mov edi, 4
test esi, esi
je 0x45a6c5
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a650
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edi
cmp eax, 0x7fa
jae 0x45a6b6
push 0x2c
push edx
call fcn.00594b30
mov ebx, 0x800
lea ebp, [esp + 0x20]
mov edx, eax
add esp, 8
sub ebx, edi
add ebp, edi
test edx, edx
jne 0x45a697
push dword [esi]
push eax
push 0x5d0404
push ebx
push ebp
call fcn.00439670
add esp, 0x14
jmp 0x45a6b4
mov ecx, dword [esi]
lea eax, [edx + 1]
push eax
push 1
push ecx
sub edx, ecx
push edx
push 0
push 0x5d040c
push ebx
push ebp
call fcn.00439670
add esp, 0x20
add edi, eax
mov esi, dword [esi + 4]
test esi, esi
jne 0x45a644
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push 0xf0
push 0xff
mov eax, 0x800
sub eax, edi
push 0x5d0418
push eax
lea eax, [esp + 0x28]
add eax, edi
push eax
call fcn.00439670
add esp, 0x14
lea eax, [edi + 2]
push 0
push eax
lea eax, [esp + 0x20]
push eax
push dword [ebp + 0x140]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x45a71b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x5d02a8
push ebx
call fcn.00434fc0
add esp, 0xc
push edi
lea eax, [esp + 0x1e]
push eax
push 0x3e
push ebx
call fcn.00459fa0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00593bac
add esp, 0x80c
ret
lea edx, [esi + 0x1c28]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a750
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x45a789
lea edx, [esi + 0x1c08]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a773
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push 0x5d03e8
sub ecx, esi
lea eax, [esp + 0x34]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.00439670
add esp, 0x28
lea eax, [esp + 0x14]
push 0
push esi
push eax
push dword [ebp + 0x140]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x45a7dc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x5d02a8
push ebx
call fcn.00434fc0
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [esp + 0x1a]
push eax
push 0x3e
push ebx
call fcn.00459fa0
add esp, 0x10
mov ecx, dword [esp + 0x814]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00593bac
add esp, 0x80c
ret