joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427e50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.0041a550

Function at 0x427e60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4e0d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c8104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov ebx, dword [ebp + 8]
push dword [0x50b8e0]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x427eb5
cmp dword [eax], esi
je 0x427fe0
mov eax, dword [eax + 8]
test eax, eax
jne 0x427ea6
push edi
push 0x40
mov dword [ebp - 0x38], edi
call fcn.0042ae70
add esp, 8
mov esi, eax
mov dword [ebp - 4], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], fcn.00428060
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov eax, dword [edi + 0xc]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x34], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [ebp - 0x28]
mov ecx, edi
push esi
push ebx
call fcn.0042abe0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x428026
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x50b8e0]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x50b8e0]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
push 0x50b818
push 0x435e10
push 0x50b820
mov byte [ebp - 4], 3
call fcn.00475b00
add esp, 0xc
test eax, eax
je 0x42804c
jmp 0x427ffd
cmp dword [eax + 4], 0
je 0x427eb5
push edi
push edi
mov dword [ebp - 4], 0
call fcn.00428fa0
add esp, 8
jmp 0x42802e
push 0
lea eax, [ebp - 0x24]
push eax
push esi
push dword [edi + 0x14]
call fcn.00428060
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0042ab70
push dword [ebp - 0x14]
push dword [0x50b8e0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x38]
call fcn.00420520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 8
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3
Function at 0x428fe0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a540d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c8104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
push dword [0x50b8e0]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42903b
nop dword [eax]
cmp dword [eax], esi
je 0x429053
mov eax, dword [eax + 8]
test eax, eax
jne 0x429030
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x3c], ebx
cmp byte [edi + 0x400], 0
jne 0x429072
mov byte [edi + 0x400], 1
jmp 0x429082
cmp dword [eax + 4], 0
je 0x42903b
lea eax, [ebx + 0x34]
mov dword [ebp - 4], 0
push eax
push ebx
call fcn.004297b0
add esp, 8
jmp 0x4291af
push 0xa0
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
lea ecx, [edi + 0x20]
push ebx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], fcn.00429560
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
call fcn.00428d30
mov eax, dword [ebx + 0x74]
mov dword [edi + 0x94], eax
mov eax, dword [ebx + 0x78]
mov dword [edi + 0x98], eax
mov eax, dword [ebx + 0x7c]
mov dword [edi + 0x9c], eax
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
push edi
push esi
call fcn.0042abe0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test al, al
je 0x4291af
mov eax, dword [esi]
xorps xmm0, xmm0
push dword [0x50b8e0]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x50b8e0]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
push 0x50b818
push 0x435e10
push 0x50b820
mov byte [ebp - 4], 3
call fcn.00475b00
add esp, 0xc
test eax, eax
je 0x4291cd
push 0
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebx + 0x14]
call fcn.00429560
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0042ab70
push dword [ebp - 0x14]
push dword [0x50b8e0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 8
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3
Function at 0x4291e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a545d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c8104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
push dword [0x50b8e0]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42923b
nop dword [eax]
cmp dword [eax], esi
je 0x429253
mov eax, dword [eax + 8]
test eax, eax
jne 0x429230
mov edi, dword [ebx + 0x20]
mov dword [ebp - 0x3c], ebx
cmp byte [edi + 0x400], 0
jne 0x429272
mov byte [edi + 0x400], 1
jmp 0x42927f
cmp dword [eax + 4], 0
je 0x42923b
lea eax, [ebx + 0x14]
mov dword [ebp - 4], 0
push eax
push ebx
call fcn.004297d0
add esp, 8
jmp 0x4293a1
push 0x60
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov edi, eax
mov dword [ebp - 4], 1
lea ecx, [edi + 0x20]
push ebx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], fcn.004293e0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
call fcn.00428cb0
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x54], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x5c], eax
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
push edi
push esi
call fcn.0042abe0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test al, al
je 0x429399
mov eax, dword [esi]
xorps xmm0, xmm0
push dword [0x50b8e0]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x50b8e0]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
push 0x50b818
push 0x435e10
push 0x50b820
mov byte [ebp - 4], 3
call fcn.00475b00
add esp, 0xc
test eax, eax
je 0x4293bf
push 0
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebx + 0x14]
call fcn.004293e0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0042ab70
push dword [ebp - 0x14]
push dword [0x50b8e0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x3c]
call fcn.00429710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 8
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3
Function at 0x429a90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c8104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
push edi
mov edi, dword [ebp + 0x1c]
mov eax, dword [esi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
push 0
je 0x429ae4
mov ecx, dword [esi + 4]
push 0
push edi
call fcn.0042a5a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebx]
cmp ecx, 0xffffffff
jne 0x429b0c
mov ecx, dword [esi + 4]
push 0x2719
push edi
call fcn.0042a5a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x429b43
mov eax, 0x2746
jmp 0x429b50
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
je 0x429b7b
cmp eax, 0x3e5
je 0x429b7b
push dword [ebp - 8]
mov ecx, dword [esi + 4]
push eax
push edi
call fcn.0042a5a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esi + 4]
push edi
call fcn.0042a670
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 0x18
Function at 0x429cb0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4c8104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
push 0
je 0x429d04
mov ecx, dword [edi + 4]
push 0
push ebx
call fcn.0042a5a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x429d2c
mov ecx, dword [edi + 4]
push 0x2719
push ebx
call fcn.0042a5a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 0x18
push ebx
push dword [ebp + 0x14]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x429d88
cmp eax, 0x3e5
je 0x429d88
push dword [ebp - 8]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.0042a5a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.0042a670
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 0x18
Function at 0x42a260
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4c8104]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
push edi
mov eax, dword [esi]
mov edi, edx
mov dword [esp + 0xc], ecx
cmp eax, 0x40
jne 0x42a2af
mov edx, 0x2745
lea ecx, [esp + 0x2c]
call fcn.00435050
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, ecx
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x42a386
test ecx, ecx
je 0x42a326
test ebx, ebx
je 0x42a326
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebp + 8]
push eax
push eax
push 0
push edi
call dword [sym.imp.MSWSOCK.dll_GetAcceptExSockaddrs]
mov edi, dword [esp + 0x24]
cmp edi, dword [ebx]
jbe 0x42a313
mov edx, 0x2726
lea ecx, [esp + 0xc]
call fcn.00435050
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
jmp 0x42a326
push edi
push dword [esp + 0x20]
push dword [esp + 0x14]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebx], edi
mov edi, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
cmp edi, 0xffffffff
jne 0x42a346
mov edx, 0x2719
lea ecx, [esp + 0x14]
call fcn.00435050
jmp 0x42a37c
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [esp + 0x30]
push eax
push 0x700b
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, esi
mov ecx, eax
call fcn.00430340
test eax, eax
jne 0x42a386
lea ecx, [esp + 0x14]
call fcn.00435e30
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret
Function at 0x42abe0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x14]
push edi
push dword [0x50b870]
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x14]
neg ebx
sbb ebx, ebx
and ebx, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42ac1b
nop
cmp dword [eax], ebx
je 0x42ac50
mov eax, dword [eax + 8]
test eax, eax
jne 0x42ac10
xor ebx, ebx
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
je 0x42ac55
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
jne 0x42ac55
mov byte [eax + 0x38], 1
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [eax + 4]
jmp 0x42ac1d
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
je 0x42aca5
mov dword [esi + 0x14], 0
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x42ac88
mov dword [ecx + 0x14], esi
mov dword [eax + 0x40], esi
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], esi
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [eax + 0x38], 1
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi]
add eax, 0x44
mov dword [esi + 0x14], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x42accd
mov dword [ecx + 0x14], esi
jmp 0x42accf
mov dword [eax], esi
push ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 4], esi
push dword [edi]
mov ecx, dword [ecx + 0x14]
call fcn.00434da0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42ae20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x50b870]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42ae38
mov edx, dword [eax + 4]
jmp 0x42ae3a
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp eax, 0x3fc
ja 0x42ae59
test edx, edx
je 0x42ae59
cmp dword [edx], 0
jne 0x42ae59
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax]
mov byte [ecx], al
mov dword [edx], ecx
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
add esp, 4
pop ebp
ret

Function at 0x42ae70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x50b870]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42ae99
push dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
call fcn.00434b80
add esp, 4
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
mov edx, dword [ebp + 8]
xor ecx, ecx
call fcn.00434b80
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x42b190
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4c8104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
push 0
mov ebx, ecx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
push 0
push 0
push dword [ebp + 8]
push esi
push ebx
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, dword fs:[0x2c]
mov esi, eax
mov edx, dword [ecx]
mov ecx, dword [0x50b800]
cmp ecx, dword [edx + 0x68]
jle 0x42b220
push 0x50b800
call fcn.004797e0
add esp, 4
cmp dword [0x50b800], 0xffffffff
jne 0x42b220
push 0x4ac210
mov dword [0x50b808], 0x50b804
mov dword [0x50b804], 0x4b4678
call fcn.00479250
add esp, 4
push 0x50b800
call fcn.00479720
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], 0x50b804
cmp esi, 0xffffffff
jne 0x42b247
or eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret
cmp ebx, 0x17
jne 0x42b264
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x50b818
push 0x435e10
push 0x50b820
call fcn.00475b00
add esp, 0xc
test eax, eax
je 0x42b29f
mov ecx, dword [ebp - 4]
mov eax, esi
mov dword [edi], 0
xor ecx, ebp
mov dword [edi + 4], 0x50b818
pop edi
pop esi
pop ebx
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3
Function at 0x42b600
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
test edi, edi
je 0x42b619
cmp byte [edi], 0
jne 0x42b61b
xor edi, edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42b627
cmp byte [esi], 0
jne 0x42b629
xor esi, esi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp eax, 0x273f
jg 0x42b6c5
je 0x42b6a5
cmp eax, 0x2726
jg 0x42b68f
je 0x42b67c
test eax, eax
je 0x42b66e
cmp eax, 8
jne 0x42b703
push 0xe
lea ecx, [esp + 0x14]
call fcn.004324a0
jmp 0x42b77e
lea ecx, [esp + 0x10]
call fcn.00435e30
jmp 0x42b77e
push 0x2726
lea ecx, [esp + 0x14]
call fcn.004324a0
jmp 0x42b77e
cmp eax, 0x273c
jne 0x42b703
push eax
lea ecx, [esp + 0x14]
call fcn.0042b580
jmp 0x42b77e
mov edx, 0x273f
lea ecx, [esp + 0x18]
call fcn.00435050
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x42b77e
cmp eax, 0x2afa
jg 0x42b6fc
je 0x42b6f5
cmp eax, 0x277d
je 0x42b6e2
cmp eax, 0x2af9
jne 0x42b703
push eax
jmp 0x42b775
push 0x277d
lea ecx, [esp + 0x14]
call fcn.0042b580
jmp 0x42b77e
push 0x2afa
jmp 0x42b775
cmp eax, 0x2afb
je 0x42b770
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x50b800]
cmp eax, dword [ecx + 0x68]
jle 0x42b75c
push 0x50b800
call fcn.004797e0
add esp, 4
cmp dword [0x50b800], 0xffffffff
jne 0x42b75c
push 0x4ac210
mov dword [0x50b808], 0x50b804
mov dword [0x50b804], 0x4b4678
call fcn.00479250
add esp, 4
push 0x50b800
call fcn.00479720
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x50b804
jmp 0x42b77e
push 0x2afb
lea ecx, [esp + 0x14]
call fcn.0042b580
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, ebx
pop esi
mov dword [ebx], edx
mov dword [ebx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c8c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5680
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c8104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.0042c880
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.004344a0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0
mov byte [esi + 0x28], 0
call fcn.00430de0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42da90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a57b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c8104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
xor bl, bl
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov edi, dword [ebp + 8]
lea esi, [eax + 0x4c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 4
nop dword [eax]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42db1f
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [esi]
mov ecx, dword [esi - 0x10]
lea edx, [eax + edx*8]
mov eax, dword [edx]
cmp eax, ecx
je 0x42db22
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x42db1f
cmp dword [eax + 8], edi
je 0x42db3c
mov eax, dword [eax]
cmp eax, ecx
jne 0x42db14
mov ecx, dword [esi - 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [esi - 0x14]
call fcn.0042d920
test al, al
jne 0x42db40
test bl, bl
jne 0x42db40
jmp 0x42db42
mov ecx, eax
jmp 0x42db22
mov bl, 1
add esi, 0x1c
sub dword [ebp - 0x1c], 1
jne 0x42daf0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [esi + 0x14]
call fcn.004353d0
test bl, bl
je 0x42dc11
push 0x50b818
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 0
push 0x435e10
push 0x50b820
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0
call fcn.00475b00
add esp, 0xc
test eax, eax
je 0x42dc37
mov esi, dword [esi + 0x34]
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.WS2_32.dll_WSASend]
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.00430340
mov ecx, dword [ebp - 0x30]
mov esi, eax
cmp ecx, 0x40
jne 0x42dbdd
mov edx, 0x2746
jmp 0x42dbea
cmp ecx, 0x4d2
jne 0x42dbf2
mov edx, 0x274d
lea ecx, [ebp - 0x30]
call fcn.00435050
test esi, esi
jne 0x42dc11
push 0x50b818
push 0x435e10
push 0x50b820
call fcn.00475b00
add esp, 0xc
test eax, eax
je 0x42dc3c
lea ecx, [ebp - 0x28]
call fcn.0042d870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
ret 8
call sub.msvcrt.dll_void___cdecl_terminate_void_
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3