joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428040
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.0041a740

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae89d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4d5104]
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 [0x518c04]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4280a5
cmp dword [eax], esi
je 0x4281d0
mov eax, dword [eax + 8]
test eax, eax
jne 0x428096
push edi
push 0x40
mov dword [ebp - 0x38], edi
call fcn.0042b1e0
add esp, 8
mov esi, eax
mov dword [ebp - 4], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], fcn.00428250
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.0042af50
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x428216
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x518c04]
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 [0x518c04]
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 0x518b30
push 0x436440
push 0x518b38
mov byte [ebp - 4], 3
call fcn.0047f590
add esp, 0xc
test eax, eax
je 0x42823c
jmp 0x4281ed
cmp dword [eax + 4], 0
je 0x4280a5
push edi
push edi
mov dword [ebp - 4], 0
call fcn.00429190
add esp, 8
jmp 0x42821e
push 0
lea eax, [ebp - 0x24]
push eax
push esi
push dword [edi + 0x14]
call fcn.00428250
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0042aee0
push dword [ebp - 0x14]
push dword [0x518c04]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x38]
call fcn.00420710
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.004a8e74
mov esp, ebp
pop ebp
ret 8
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3
Function at 0x4291d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aee9d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d5104]
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 [0x518c04]
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 0x42922b
nop dword [eax]
cmp dword [eax], esi
je 0x429243
mov eax, dword [eax + 8]
test eax, eax
jne 0x429220
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x3c], ebx
cmp byte [edi + 0x400], 0
jne 0x429262
mov byte [edi + 0x400], 1
jmp 0x429272
cmp dword [eax + 4], 0
je 0x42922b
lea eax, [ebx + 0x34]
mov dword [ebp - 4], 0
push eax
push ebx
call fcn.004299a0
add esp, 8
jmp 0x42939f
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.00429750
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.00428f20
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.0042af50
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test al, al
je 0x42939f
mov eax, dword [esi]
xorps xmm0, xmm0
push dword [0x518c04]
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 [0x518c04]
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 0x518b30
push 0x436440
push 0x518b38
mov byte [ebp - 4], 3
call fcn.0047f590
add esp, 0xc
test eax, eax
je 0x4293bd
push 0
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebx + 0x14]
call fcn.00429750
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0042aee0
push dword [ebp - 0x14]
push dword [0x518c04]
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.004a8e74
mov esp, ebp
pop ebp
ret 8
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3
Function at 0x4293d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeeed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d5104]
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 [0x518c04]
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 0x42942b
nop dword [eax]
cmp dword [eax], esi
je 0x429443
mov eax, dword [eax + 8]
test eax, eax
jne 0x429420
mov edi, dword [ebx + 0x20]
mov dword [ebp - 0x3c], ebx
cmp byte [edi + 0x400], 0
jne 0x429462
mov byte [edi + 0x400], 1
jmp 0x42946f
cmp dword [eax + 4], 0
je 0x42942b
lea eax, [ebx + 0x14]
mov dword [ebp - 4], 0
push eax
push ebx
call fcn.004299c0
add esp, 8
jmp 0x429591
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.004295d0
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.00428ea0
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.0042af50
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test al, al
je 0x429589
mov eax, dword [esi]
xorps xmm0, xmm0
push dword [0x518c04]
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 [0x518c04]
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 0x518b30
push 0x436440
push 0x518b38
mov byte [ebp - 4], 3
call fcn.0047f590
add esp, 0xc
test eax, eax
je 0x4295af
push 0
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebx + 0x14]
call fcn.004295d0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0042aee0
push dword [ebp - 0x14]
push dword [0x518c04]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x3c]
call fcn.00429900
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.004a8e74
mov esp, ebp
pop ebp
ret 8
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3
Function at 0x429c80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4d5104]
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 0x429cd4
mov ecx, dword [esi + 4]
push 0
push edi
call fcn.0042a910
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8e74
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebx]
cmp ecx, 0xffffffff
jne 0x429cfc
mov ecx, dword [esi + 4]
push 0x2719
push edi
call fcn.0042a910
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8e74
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 0x429d33
mov eax, 0x2746
jmp 0x429d40
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
je 0x429d6b
cmp eax, 0x3e5
je 0x429d6b
push dword [ebp - 8]
mov ecx, dword [esi + 4]
push eax
push edi
call fcn.0042a910
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8e74
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esi + 4]
push edi
call fcn.0042a9e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8e74
mov esp, ebp
pop ebp
ret 0x18
Function at 0x429ea0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4d5104]
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 0x429ef4
mov ecx, dword [edi + 4]
push 0
push ebx
call fcn.0042a910
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8e74
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x429f1c
mov ecx, dword [edi + 4]
push 0x2719
push ebx
call fcn.0042a910
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8e74
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 0x429f78
cmp eax, 0x3e5
je 0x429f78
push dword [ebp - 8]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.0042a910
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8e74
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.0042a9e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8e74
mov esp, ebp
pop ebp
ret 0x18
Function at 0x42a5d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4d5104]
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 0x42a61f
mov edx, 0x2745
lea ecx, [esp + 0x2c]
call fcn.00435680
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 0x42a6f6
test ecx, ecx
je 0x42a696
test ebx, ebx
je 0x42a696
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 0x42a683
mov edx, 0x2726
lea ecx, [esp + 0xc]
call fcn.00435680
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
jmp 0x42a696
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 0x42a6b6
mov edx, 0x2719
lea ecx, [esp + 0x14]
call fcn.00435680
jmp 0x42a6ec
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.00430620
test eax, eax
jne 0x42a6f6
lea ecx, [esp + 0x14]
call fcn.00436460
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.004a8e74
mov esp, ebp
pop ebp
ret
Function at 0x42af50
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 [0x518b94]
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 0x42af8b
nop
cmp dword [eax], ebx
je 0x42afc0
mov eax, dword [eax + 8]
test eax, eax
jne 0x42af80
xor ebx, ebx
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
je 0x42afc5
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
jne 0x42afc5
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 0x42af8d
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
je 0x42b015
mov dword [esi + 0x14], 0
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x42aff8
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 0x42b03d
mov dword [ecx + 0x14], esi
jmp 0x42b03f
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.004353d0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42b190
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x518b94]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42b1a8
mov edx, dword [eax + 4]
jmp 0x42b1aa
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp eax, 0x3fc
ja 0x42b1c9
test edx, edx
je 0x42b1c9
cmp dword [edx], 0
jne 0x42b1c9
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 0x42b1e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x518b94]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42b209
push dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
call fcn.004351b0
add esp, 4
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
mov edx, dword [ebp + 8]
xor ecx, ecx
call fcn.004351b0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x42b500
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4d5104]
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 [0x518b18]
cmp ecx, dword [edx + 0x80]
jle 0x42b590
push 0x518b18
call fcn.00483280
add esp, 4
cmp dword [0x518b18], 0xffffffff
jne 0x42b590
push 0x4b6880
mov dword [0x518b20], 0x518b1c
mov dword [0x518b1c], 0x4bf6a8
call fcn.00482ce0
add esp, 4
push 0x518b18
call fcn.004831c0
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], 0x518b1c
cmp esi, 0xffffffff
jne 0x42b5b7
or eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8e74
mov esp, ebp
pop ebp
ret
cmp ebx, 0x17
jne 0x42b5d4
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 0x518b30
push 0x436440
push 0x518b38
call fcn.0047f590
add esp, 0xc
test eax, eax
je 0x42b60f
mov ecx, dword [ebp - 4]
mov eax, esi
mov dword [edi], 0
xor ecx, ebp
mov dword [edi + 4], 0x518b30
pop edi
pop esi
pop ebx
call fcn.004a8e74
mov esp, ebp
pop ebp
ret
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3
Function at 0x42b970
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 0x42b989
cmp byte [edi], 0
jne 0x42b98b
xor edi, edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42b997
cmp byte [esi], 0
jne 0x42b999
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 0x42ba35
je 0x42ba15
cmp eax, 0x2726
jg 0x42b9ff
je 0x42b9ec
test eax, eax
je 0x42b9de
cmp eax, 8
jne 0x42ba73
push 0xe
lea ecx, [esp + 0x14]
call fcn.00432ac0
jmp 0x42baee
lea ecx, [esp + 0x10]
call fcn.00436460
jmp 0x42baee
push 0x2726
lea ecx, [esp + 0x14]
call fcn.00432ac0
jmp 0x42baee
cmp eax, 0x273c
jne 0x42ba73
push eax
lea ecx, [esp + 0x14]
call fcn.0042b8f0
jmp 0x42baee
mov edx, 0x273f
lea ecx, [esp + 0x18]
call fcn.00435680
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x42baee
cmp eax, 0x2afa
jg 0x42ba6c
je 0x42ba65
cmp eax, 0x277d
je 0x42ba52
cmp eax, 0x2af9
jne 0x42ba73
push eax
jmp 0x42bae5
push 0x277d
lea ecx, [esp + 0x14]
call fcn.0042b8f0
jmp 0x42baee
push 0x2afa
jmp 0x42bae5
cmp eax, 0x2afb
je 0x42bae0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x518b18]
cmp eax, dword [ecx + 0x80]
jle 0x42bacc
push 0x518b18
call fcn.00483280
add esp, 4
cmp dword [0x518b18], 0xffffffff
jne 0x42bacc
push 0x4b6880
mov dword [0x518b20], 0x518b1c
mov dword [0x518b1c], 0x4bf6a8
call fcn.00482ce0
add esp, 4
push 0x518b18
call fcn.004831c0
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x518b1c
jmp 0x42baee
push 0x2afb
lea ecx, [esp + 0x14]
call fcn.0042b8f0
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 0x42cc30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af110
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4d5104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.0042cbf0
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.00434ad0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0
mov byte [esi + 0x28], 0
call fcn.004310c0
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 0x42dd30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af248
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d5104]
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 0x42ddbf
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 0x42ddc2
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x42ddbf
cmp dword [eax + 8], edi
je 0x42dddc
mov eax, dword [eax]
cmp eax, ecx
jne 0x42ddb4
mov ecx, dword [esi - 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [esi - 0x14]
call fcn.0042dbc0
test al, al
jne 0x42dde0
test bl, bl
jne 0x42dde0
jmp 0x42dde2
mov ecx, eax
jmp 0x42ddc2
mov bl, 1
add esi, 0x1c
sub dword [ebp - 0x1c], 1
jne 0x42dd90
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [esi + 0x14]
call fcn.00435a00
test bl, bl
je 0x42deb1
push 0x518b30
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 0
push 0x436440
push 0x518b38
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0
call fcn.0047f590
add esp, 0xc
test eax, eax
je 0x42ded7
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.00430620
mov ecx, dword [ebp - 0x30]
mov esi, eax
cmp ecx, 0x40
jne 0x42de7d
mov edx, 0x2746
jmp 0x42de8a
cmp ecx, 0x4d2
jne 0x42de92
mov edx, 0x274d
lea ecx, [ebp - 0x30]
call fcn.00435680
test esi, esi
jne 0x42deb1
push 0x518b30
push 0x436440
push 0x518b38
call fcn.0047f590
add esp, 0xc
test eax, eax
je 0x42dedc
lea ecx, [ebp - 0x28]
call fcn.0042db10
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.004a8e74
mov esp, ebp
pop ebp
ret 8
call sub.msvcrt.dll_void___cdecl_terminate_void_
call sub.msvcrt.dll_void___cdecl_terminate_void_
int3