Function at 0x41ae70
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x660
mov esi, esp
mov dword [esi + 0x648], ebp
mov dword [esi + 0x64c], esp
mov dword [esi + 0x658], 0xffffffff
mov dword [esi + 0x654], 0x41d040
mov dword [esi + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x4c], edx
mov ecx, dword fs:[0]
mov dword [esi + 0x650], ecx
lea ecx, [esi + 0x650]
mov dword fs:[0], ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [edx + 0x58]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov edi, dword [ebx + 0x10]
mov dword [esi + 0x38], ebx
cmp edi, 0x3b9aca00
jne 0x41af4a
mov eax, dword [edx + 0x48]
mov edi, dword [edx + 0x4c]
mov ecx, dword [edx + 0x50]
mov dword [esi + 0x184], eax
mov dword [esi + 0x180], edi
mov dword [esi + 0x1c], ecx
cmp dword [ebx + 0x5c], 0x80000000
je 0x41afa0
lea eax, [ebx + 0x5c]
lea ecx, [esi + 0x19c]
push eax
push ecx
call fcn.004e32d0
add esp, 8
mov eax, dword [ebx + 0x80]
cmp dword [ebx + 0x68], 0x80000000
mov dword [esi + 0x14], eax
jne 0x41afaf
mov dword [esi + 4], connect
cmp dword [ebx + 0x74], 0x80000000
jne 0x41aff7
mov eax, connect
jmp 0x41b02c
mov eax, dword [ebx + 8]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x38]
mov ebx, dword [eax + 0xc]
call fcn.004c2ac0
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], ecx
lea eax, [esi + 0x88]
push edi
push ebx
mov ebx, dword [esi + 0x38]
push dword [esi + 4]
push eax
call fcn.004c2b70
add esp, 0x10
mov dword [esi + 0x184], eax
mov dword [esi + 0x180], edx
mov dword [esi + 0x1c], ecx
cmp dword [ebx + 0x5c], 0x80000000
jne 0x41af03
mov dword [esi + 0x150], connect
jmp 0x41b0a4
lea eax, [ebx + 0x68]
mov dword [esi + 0x658], 0
lea ecx, [esi + 0x88]
push eax
push ecx
call fcn.004e32d0
add esp, 8
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
mov ebx, dword [esi + 0x38]
mov dword [esi + 4], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x24], ecx
cmp dword [ebx + 0x74], 0x80000000
je 0x41af40
lea eax, [ebx + 0x74]
mov dword [esi + 0x658], 1
lea ecx, [esi + 0x88]
push eax
push ecx
call fcn.004e32d0
add esp, 8
mov ecx, dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
mov ebx, dword [esi + 0x38]
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x90]
mov edi, dword [esi + 0x1a4]
movzx edx, byte [ebx + 0x84]
movsd xmm0, qword [esi + 0x19c]
mov dword [esi + 0x658], 2
mov dword [esi + 0x158], edi
mov edi, dword [esi + 4]
movsd qword [esi + 0x150], xmm0
mov dword [esi + 0x15c], edi
mov edi, dword [esi + 0x10]
mov dword [esi + 0x160], edi
mov edi, dword [esi + 0x24]
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], eax
mov dword [esi + 0x170], ecx
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x16c], edi
mov dword [esi + 0x174], ecx
mov byte [esi + 0x178], dl
cmp dword [esi + 0x150], 0x80000000
jne 0x41b120
lea eax, [esi + 0x78]
mov dword [esi + 0x88], 0x503150
mov dword [esi + 0x8c], 2
mov dword [esi + 0x98], 0
mov dword [esi + 0x658], 2
lea ecx, [esi + 0x284]
mov dword [esi + 0x19c], eax
lea eax, [ebp + 0x10]
mov dword [esi + 0x1a0], 0x41f100
mov dword [esi + 0x1a4], eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x1a8], fcn.004e6230
mov dword [esi + 0x90], eax
lea eax, [esi + 0x88]
mov dword [esi + 0x94], 2
push eax
push ecx
call fcn.004e29d0
add esp, 8
jmp 0x41b196
lea ecx, [esi + 0x150]
lea eax, [esi + 0x174]
mov dword [esi + 0x88], 0x503150
mov dword [esi + 0x8c], 2
mov dword [esi + 0x98], 0
mov dword [esi + 0x19c], ecx
mov dword [esi + 0x1a0], 0x4194c0
mov dword [esi + 0x1a4], eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x1a8], fcn.004e6420
lea ecx, [esi + 0x284]
mov dword [esi + 0x90], eax
lea eax, [esi + 0x88]
mov dword [esi + 0x94], 2
push eax
push ecx
call fcn.004e29d0
add esp, 8
mov eax, dword [esi + 0x28c]
movsd xmm0, qword [esi + 0x284]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x4c]
movsd qword [esi + 0x60], xmm0
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lock inc dword [ecx]
jle 0x41c7f5
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], eax
mov edi, dword [esi + 0x68]
lea ebx, [esi + 0x318]
mov edx, dword [eax + 8]
mov dword [esi + 0x658], 0x14
dec edx
and edx, 0xfffffff8
lea ecx, [ecx + edx + 8]
mov edx, dword [esi + 0x64]
push edi
push edx
push ecx
push ebx
call dword [eax + 0xc]
add esp, 0x10
mov eax, dword [esi + 0x318]
cmp eax, 0x80000000
jne 0x41b378
mov eax, dword [esi + 0x31c]
mov ecx, dword [esi + 0x320]
mov dword [esi + 0x88], 0x503238
mov dword [esi + 0x8c], 2
mov dword [esi + 0x98], 0
mov byte [esi + 0x32], 1
mov dword [esi + 0x658], 0x15
mov dword [esi + 4], eax
mov dword [esi + 0x44], eax
lea eax, [esi + 0x60]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x48], ecx
lea ecx, [esi + 0x88]
mov dword [esi + 0x19c], eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x1a0], 0x4194c0
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], 1
lea eax, [esi + 0x284]
push ecx
push eax
call fcn.004e29d0
add esp, 8
mov eax, dword [esi + 0x28c]
movsd xmm0, qword [esi + 0x284]
mov byte [esi + 0x32], 0
mov dword [esi + 0xdc], eax
mov eax, dword [esi + 0x14]
movsd qword [esi + 0xd4], xmm0
mov dword [esi + 0x8c], 2
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 2
mov dword [esi + 0x88], 2
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.00427210
add esp, 0xc
mov ebx, dword [esi + 0x1a4]
mov edi, dword [esi + 0x1a8]
lea eax, [esi + 0x1ac]
lea ecx, [esi + 0x594]
push 0xb4
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esi + 0x19c]
mov eax, dword [esi + 0x18]
movsd qword [eax], xmm0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
add eax, 0x10
push 0xb4
lea ecx, [esi + 0x594]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x80]
lock dec dword [eax]
jne 0x41c008
lea eax, [esi + 0x80]
mov dword [esi + 0x658], 3
push eax
call fcn.00417450
add esp, 4
jmp 0x41c008
mov ecx, dword [esi + 0x31c]
mov edx, dword [esi + 0x320]
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x74], edx
lock dec dword [ecx]
jne 0x41b3b5
lea eax, [esi + 0x80]
mov byte [esi + 0xc], 1
mov dword [esi + 0x658], 4
push eax
call fcn.00417450
add esp, 4
cmp dword [esi + 0x74], 0
je 0x41b97c
mov eax, dword [esi + 0x150]
mov ecx, 4
cmp eax, 0x80000000
mov dword [esi + 0x17c], eax
je 0x41b3dd
mov ecx, dword [esi + 0x178]
mov edx, dword [esi + 0x74]
mov edi, dword [esi + 0x3c]
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x18c], ecx
movzx ecx, cl
mov bl, 4
mov byte [esi + 0x44], 4
mov dword [esi + 0x198], ecx
shl edx, 5
add eax, 0x58
add edx, edi
mov dword [esi + 0x188], eax
mov dword [esi + 0x5c], edx
mov edx, edi
jmp 0x41b41a
mov edx, dword [esi + 0x14]
movzx ebx, byte [esi + 4]
add edx, 0x20
cmp edx, dword [esi + 0x5c]
mov di, 2
mov byte [esi + 4], bl
je 0x41ba31
movsd xmm0, qword [edx + 0x18]
movzx eax, word [edx]
movsd qword [esi + 0x32e], xmm0
cmp ax, 2
movsd xmm0, qword [edx + 0x12]
movsd qword [esi + 0x328], xmm0
movsd xmm0, qword [edx + 0xa]
movsd qword [esi + 0x320], xmm0
movsd xmm0, qword [edx + 2]
movsd qword [esi + 0x318], xmm0
je 0x41ba31
movsd xmm0, qword [esi + 0x32e]
movsd xmm1, qword [esi + 0x328]
mov word [esi + 0x284], ax
lea eax, [esi + 0x286]
movsd xmm2, qword [esi + 0x318]
cmp dword [esi + 0x1c], 0x3b9aca00
mov dword [esi + 0x14], edx
mov edx, 0x3b9aca00
movsd qword [eax + 0x16], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esi + 0x320]
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
je 0x41b54d
mov eax, dword [esi + 0x184]
mov byte [esi + 3], bl
mov dword [esi + 0x658], 0xd
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x180]
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x90], eax
call fcn.004c2ac0
movzx ebx, byte [esi + 4]
mov byte [esi + 3], bl
push ecx
push edx
push eax
lea eax, [esi + 0x88]
push eax
call fcn.004c2ad0
add esp, 0x10
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], edx
mov edx, ecx
cmp ecx, 0x3b9aca00
je 0x41c097
cmp dword [esi + 0x74], 1
movzx ebx, byte [esi + 4]
je 0x41b54d
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shr edx, 1
mov eax, edi
shr edi, 1
shld eax, ecx, 0x1f
and ecx, 1
mov dword [esi + 0x20], edi
neg ecx
mov dword [esi + 0x24], eax
and ecx, 0x1dcd6500
add edx, ecx
mov eax, dword [0x578064]
mov ecx, dword [eax]
xor eax, eax
cmp ecx, 4
mov ecx, 0xff
setne al
cmova eax, ecx
cmp al, 0xff
je 0x41b573
movzx eax, al
test eax, eax
jne 0x41b60d
lea eax, [esi + 0x284]
mov dword [esi + 0x88], 0x503190
mov dword [esi + 0x8c], 2
mov dword [esi + 0x98], 0
mov byte [esi + 3], bl
mov dword [esi + 0x658], 0xd
mov dword [esi + 0x28], eax
lea eax, [esi + 0x60]
mov dword [esi + 0x19c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x1a0], 0x4194c0
mov dword [esi + 0x1a4], eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x1a8], 0x435640
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], 2
sub esp, 4
push 0
push 0x18a
push 0x5030c8
push 4
lea eax, [esi + 0x88]
push eax
mov dword [esi + 0x10], edx
call fcn.004adac0
mov edx, dword [esi + 0x10]
add esp, 0x18
movzx ebx, byte [esi + 4]
test byte [esi + 0x198], 0xfb
jne 0x41b6b0
cmp edx, 0x3b9aca00
mov dword [esi + 0x658], 0xd
jne 0x41b880
movsd xmm1, qword [esi + 0x294]
movsd xmm0, qword [esi + 0x29c]
movsd xmm2, qword [esi + 0x284]
lea eax, [esi + 0x88]
mov byte [esi + 3], bl
movsd qword [esi + 0x98], xmm1
movsd xmm1, qword [esi + 0x28c]
movsd qword [esi + 0xa0], xmm0
movsd qword [esi + 0x88], xmm2
movsd qword [esi + 0x90], xmm1
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.0041e160
add esp, 8
cmp byte [esi + 0x19c], 4
jne 0x41b89f
mov eax, dword [esi + 0x1a0]
mov dword [esi + 0x2c], eax
mov byte [esi + 0x28], 4
jmp 0x41b8e0
cmp dword [esi + 0x150], 0x80000000
mov dword [esi + 0x658], 0xd
je 0x41c74f
lea eax, [esi + 0x150]
mov byte [esi + 3], bl
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.004e32d0
add esp, 8
mov eax, dword [esi + 0x174]
cmp dword [esi + 0x15c], 0x80000000
mov edi, connect
mov edx, connect
mov dword [esi + 0x24], eax
je 0x41b742
lea eax, [esi + 0x15c]
mov dword [esi + 0x658], 0x11
push eax
lea eax, [esi + 0x88]
push eax
call fcn.004e32d0
add esp, 8
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x88]
mov edi, connect
mov dword [esi + 0x70], eax
mov dword [esi + 0x190], ecx
cmp dword [esi + 0x168], 0x80000000
mov dword [esi + 0x10], edx
je 0x41b789
lea eax, [esi + 0x168]
mov dword [esi + 0x658], 0x12
push eax
lea eax, [esi + 0x88]
push eax
call fcn.004e32d0
add esp, 8
mov eax, dword [esi + 0x90]
mov edi, dword [esi + 0x88]
mov ebx, dword [esi + 0x8c]
mov edx, dword [esi + 0x10]
mov dword [esi + 0x40], eax
mov dword [esi + 0x94], edx
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x19c]
mov ecx, dword [esi + 0x1a4]
cmp dword [esi + 0x17c], 0x80000000
mov dword [esi + 0x20], edi
mov dword [esi + 0x98], edx
mov edx, dword [esi + 0x190]
mov dword [esi + 0x58], eax
mov dword [esi + 0x9c], edx
mov edx, dword [esi + 0x1a0]
mov dword [esi + 0x88], eax
mov dword [esi + 0x90], ecx
movzx ecx, byte [esi + 0x178]
mov dword [esi + 0x8c], edx
mov dword [esi + 0xa0], edi
mov edi, dword [esi + 0x40]
mov dword [esi + 0x194], edx
mov edx, dword [esi + 0x24]
mov dword [esi + 0x40], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edx
mov byte [esi + 0xb0], cl
je 0x41c733
mov dword [esi + 0x658], 0x10
push 0x17
push str.SOCKS_feature_disabled.unknown_scheme_
push 0x27
lea eax, [esi + 0x19c]
push eax
call fcn.0041dbc0
add esp, 0x10
mov eax, dword [esi + 0x19c]
mov ecx, dword [esi + 0x1a0]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x58]
mov dword [esi + 0x2c], ecx
test eax, eax
je 0x41b85e
push 1
push eax
push dword [esi + 0x194]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x40]
test eax, 0x7fffffff
jne 0x41b8b3
test edi, 0x7fffffff
je 0x41b8e0
jmp 0x41b8c9
mov byte [esi + 3], bl
push edx
push dword [esi + 0x20]
push dword [esi + 0x24]
lea eax, [esi + 0x284]
push eax
lea eax, [esi + 0x28]
push eax
call fcn.004c5fb0
add esp, 0x14
jmp 0x41b8e0
mov eax, dword [esi + 0x19c]
mov ecx, dword [esi + 0x1a0]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], eax
jmp 0x41b8e0
push 1
push eax
push dword [esi + 0x70]
call fcn.00402cf0
add esp, 0xc
test edi, 0x7fffffff
je 0x41b8e0
push 1
push edi
push ebx
call fcn.00402cf0
add esp, 0xc
nop word cs:[eax + eax]
nop
cmp byte [esi + 0x28], 4
je 0x41beb6
mov edx, dword [esi + 0x28]
cmp byte [esi + 4], 3
mov ecx, dword [esi + 0x2c]
mov eax, edx
mov byte [esi + 4], dl
jne 0x41b954
mov eax, dword [esi + 0x48]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], edx
mov ecx, dword [eax]
mov dword [esi + 0x40], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x658], 0xe
mov dword [esi + 0x58], ecx
push ecx
mov dword [esi + 0x10], eax
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
je 0x41b93b
push dword [ecx + 8]
push eax
push dword [esi + 0x58]
call fcn.00402cf0
add esp, 0xc
push 4
push 0xc
push dword [esi + 0x40]
call fcn.00402cf0
add esp, 0xc
movzx eax, byte [esi + 4]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
cmp al, 4
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], ecx
jne 0x41b410
mov byte [esi + 3], 4
mov dword [esi + 0x658], 0xd
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x41b410
lea eax, [esi + 0x78]
mov dword [esi + 0x88], 0x503174
mov dword [esi + 0x8c], 1
mov dword [esi + 0x98], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x658], 4
lea ecx, [esi + 0x30c]
mov dword [esi + 0x19c], eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x1a0], 0x41f100
mov dword [esi + 0x90], eax
lea eax, [esi + 0x88]
mov dword [esi + 0x94], 1
push eax
push ecx
call fcn.004e29d0
add esp, 8
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x314]
movsd xmm0, qword [esi + 0x30c]
mov dword [ecx], 2
mov dword [ecx + 4], 2
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0x34]
movsd qword [ecx + 0x4c], xmm0
mov dword [ecx + 0x58], 0
mov byte [ecx + 0x60], 2
test eax, eax
je 0x41c008
shl eax, 5
push 4
push eax
push dword [esi + 0x3c]
jmp 0x41c000
cmp dword [esi + 0x34], 0
je 0x41ba4b
mov eax, dword [esi + 0x34]
shl eax, 5
push 4
push eax
push dword [esi + 0x3c]
call fcn.00402cf0
add esp, 0xc
cmp di, 2
jne 0x41bb36
cmp bl, 4
je 0x41c764
mov ebx, dword [esi + 0x44]
mov edi, dword [esi + 0x48]
mov dword [esi + 0x31c], edi
mov dword [esi + 0x318], ebx
movzx eax, byte [0x5781b1]
push 1
push 0xd
call fcn.00402ce0
add esp, 8
mov ecx, eax
test eax, eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x658], 7
mov dword [esi + 0x1c], ebx
mov dword [esi + 4], ecx
je 0x41c79c
mov dword [esi + 0x8c], 2
mov dword [esi + 0xd4], 0xd
mov dword [esi + 0xd8], ecx
mov byte [ecx + 0xc], 0x72
mov dword [ecx + 8], 0x6f727265
mov dword [ecx + 4], 0x20746365
mov dword [ecx], 0x6e6e6f43
lea ecx, [esi + 0x284]
mov dword [esi + 0xdc], 0xd
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 4
mov dword [esi + 0x88], 2
mov dword [esi + 0x288], edi
mov dword [esi + 0x284], ebx
push ecx
lea ecx, [esi + 0x88]
push ecx
push eax
call fcn.00427210
add esp, 0xc
push 0xc4
lea eax, [esi + 0x19c]
push eax
push dword [esi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x41c005
mov eax, dword [esi + 0x14]
mov word [esi + 0x1c], di
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x38]
movzx eax, byte [eax + 0x8d]
mov dword [esi + 0x658], 8
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x88]
push eax
call fcn.004c6220
add esp, 0xc
cmp byte [esi + 0x88], 4
jne 0x41bf0f
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x50]
cmp ecx, 0x3b9aca00
jne 0x41c1a1
mov eax, dword [esi + 0x38]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push dword [eax + 0x18]
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x88]
push eax
call fcn.004c6020
add esp, 0x14
cmp byte [esi + 0x88], 4
jne 0x41c29f
mov eax, dword [esi + 0x38]
push dword [eax + 0x30]
push dword [eax + 0x2c]
push dword [eax + 0x28]
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x88]
push eax
call fcn.004c60f0
add esp, 0x14
cmp byte [esi + 0x88], 4
jne 0x41c3b5
cmp byte [esi + 0x18c], 0
movzx ebx, byte [esi + 4]
movzx edx, word [esi + 0x1c]
jne 0x41c5d5
mov eax, dword [esi + 0x4c]
mov edi, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x10], edi
push edi
call fcn.00418f20
add esp, 4
cmp edx, 5
movzx ebx, byte [esi + 4]
movzx edx, word [esi + 0x1c]
jne 0x41c5d5
mov ecx, 0x70747468
xor ecx, dword [eax]
movzx eax, byte [eax + 4]
xor eax, 0x73
or eax, ecx
jne 0x41c5d5
cmp dword [esi + 0x150], 0x80000000
je 0x41c5d5
mov eax, dword [esi + 0x38]
push dword [eax + 0x58]
push dword [eax + 0x54]
push dword [ebp + 0x10]
push dword [esi + 0x7c]
push dword [esi + 0x78]
lea eax, [esi + 0x150]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.0042a010
add esp, 0x1c
lea eax, [esi + 0x19c]
mov dword [esi + 0x88], 0x5031c0
mov dword [esi + 0x8c], 1
mov dword [esi + 0x98], 0
mov dword [esi + 0x658], 0xb
mov dword [esi + 0x284], eax
lea eax, [esi + 0x284]
mov dword [esi + 0x288], 0x4194c0
mov dword [esi + 0x90], eax
lea eax, [esi + 0x88]
mov dword [esi + 0x94], 1
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x318]
push eax
call fcn.00408450
add esp, 0xc
cmp byte [esi + 0x318], 4
jne 0x41c7bb
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x41bd07
push 1
push eax
push dword [esi + 0x1a0]
call fcn.00402cf0
add esp, 0xc
lea eax, [esi + 0x28]
mov dword [esi + 0x658], 8
push eax
lea eax, [esi + 0x88]
push eax
call fcn.004c6490
add esp, 8
movzx eax, byte [esi + 0x88]
cmp al, 4
jne 0x41c4fb
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov byte [esi + 0xb], 1
mov dword [esi + 0x658], 9
mov dword [esi + 0x5c], eax
push dword [esi + 0x10]
call fcn.00418f20
add esp, 4
mov ecx, dword [esi + 0x78]
mov edi, dword [esi + 0x7c]
mov byte [esi + 0xb], 1
lea ebx, [esi + 0x3e0]
push dword [ebp + 0x10]
push edi
push ecx
push edx
push eax
push ebx
call fcn.00420180
add esp, 0x18
lea ecx, [esi + 0x3e0]
mov byte [esi + 0xb], 1
lea eax, [esi + 0x428]
push ecx
push dword [esi + 0x188]
push eax
call fcn.004202c0
add esp, 0xc
movzx eax, word [esi + 0x1c]
movsd xmm1, qword [esi + 0x268]
movsd xmm0, qword [esi + 0x260]
movsd xmm2, qword [esi + 0x270]
mov edx, dword [esi + 0x5c]
mov byte [esi + 0xb], 0
lea ecx, [esi + 0x284]
mov word [esi + 0x88], ax
movsd qword [esi + 0x92], xmm1
movsd xmm1, qword [esi + 0x276]
lea eax, [esi + 0x428]
movsd qword [esi + 0x9a], xmm2
movsd qword [esi + 0x8a], xmm0
movsd qword [esi + 0xa0], xmm1
push eax
lea eax, [esi + 0x88]
push eax
call fcn.00419ac0
add esp, 8
push 0x88
lea eax, [esi + 0x284]
push eax
lea eax, [esi + 0x19c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [esi + 0x4c]
lea ecx, [esi + 0x318]
mov byte [esi + 0x33], 1
mov dword [esi + 0x658], 0xa
call fcn.0041cd50
lea eax, [esi + 0x318]
mov byte [esi + 0x33], 0
push eax
lea eax, [esi + 0x19c]
push eax
lea eax, [esi + 0x88]
push eax
call fcn.00404820
add esp, 0xc
mov edi, dword [esi + 0x88]
lea eax, [esi + 0x8c]
cmp edi, 3
jne 0x41c579
lea ecx, [esi + 0x474]
push 0xc0
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, word [esi + 0x530]
cmp eax, 0xc8
je 0x41c5b4
cmp eax, 0x191
je 0x41beaf
cmp eax, 0x197
jne 0x41c66a
mov bl, 0xb
jmp 0x41c66c
lea ecx, [esi + 0x286]
mov eax, dword [esi + 0x2c]
movzx edi, word [esi + 0x284]
movzx ebx, byte [esi + 4]
movsd xmm1, qword [ecx + 8]
movsd xmm0, qword [ecx]
movsd xmm2, qword [ecx + 0x10]
mov dword [esi + 0x14], eax
movsd qword [esi + 0x268], xmm1
movsd xmm1, qword [ecx + 0x16]
movsd qword [esi + 0x270], xmm2
movsd qword [esi + 0x260], xmm0
movsd qword [esi + 0x276], xmm1
cmp dword [esi + 0x34], 0
jne 0x41ba37
jmp 0x41ba4b
movsd xmm0, qword [esi + 0x88]
lea eax, [esi + 0x284]
mov dword [esi + 0x8c], 2
mov dword [esi + 0xd4], connect
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 8
mov dword [esi + 0x88], 2
movsd qword [esi + 0x284], xmm0
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.00427210
add esp, 0xc
push 0xc4
lea eax, [esi + 0x19c]
push eax
push dword [esi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x28]
movzx ecx, byte [esi + 4]
movzx edi, word [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov byte [esi + 0xe], 0
mov byte [esi + 0xf], 0
mov dword [esi + 0x658], 6
mov byte [esi + 0xd], cl
mov word [esi + 0x30], di
mov dword [esi + 0x50], edx
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
movzx eax, byte [esi + 4]
cmp al, 4
je 0x41c008
cmp al, 3
jne 0x41c008
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
mov dword [esi + 0x14], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x658], 0x13
mov dword [esi + 0x1c], ecx
push ecx
mov dword [esi + 4], eax
call dword [eax]
add esp, 4
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x41bff9
push dword [ecx + 8]
push eax
push dword [esi + 0x1c]
call fcn.00402cf0
add esp, 0xc
push 4
push 0xc
push dword [esi + 0x14]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x60]
test eax, eax
je 0x41c01d
push 1
push eax
push dword [esi + 0x64]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x150]
cmp eax, 0x80000000
je 0x41c083
test eax, eax
je 0x41c03f
push 1
push eax
push dword [esi + 0x154]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x15c]
cmp eax, 0x80000000
je 0x41c061
test eax, eax
je 0x41c061
push 1
push eax
push dword [esi + 0x160]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x168]
cmp eax, 0x80000000
je 0x41c083
test eax, eax
je 0x41c083
push 1
push eax
push dword [esi + 0x16c]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x650]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x5781b1]
push 1
push 0x1a
call fcn.00402ce0
add esp, 8
movzx ecx, byte [esi + 4]
test eax, eax
je 0x41c7aa
mov dword [esi + 0x19c], 0x1a
mov dword [esi + 0x1a0], eax
mov word [eax + 0x18], 0x6573
mov dword [eax + 0x14], 0x6e6f7073
mov dword [eax + 0x10], 0x65722067
mov dword [eax + 0xc], 0x6e696461
mov dword [eax + 8], 0x65722074
mov dword [eax + 4], 0x756f2064
mov dword [eax], 0x656d6974
lea eax, [esi + 0x19c]
mov dword [esi + 0x1a4], 0x1a
mov byte [esi + 3], cl
push eax
push 0x16
lea eax, [esi + 0x28]
push eax
call fcn.0041dac0
add esp, 0xc
movzx eax, byte [esi + 4]
mov dword [esi + 0x8c], 2
mov dword [esi + 0xd4], connect
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 8
mov dword [esi + 0x88], 2
mov byte [esi + 3], al
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.00427210
add esp, 0xc
push 0xc4
lea eax, [esi + 0x19c]
push eax
push dword [esi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x34], 0
je 0x41bfb3
mov eax, dword [esi + 0x34]
shl eax, 5
push 4
push eax
push dword [esi + 0x3c]
call fcn.00402cf0
add esp, 0xc
jmp 0x41bfb3
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x88], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x90], ecx
call fcn.004c2ac0
push ecx
push edx
push eax
lea eax, [esi + 0x88]
push eax
call fcn.004c2ad0
add esp, 0x10
cmp ecx, 0x3b9aca00
jne 0x41c300
push 0
push 0x1a
call fcn.0041d100
add esp, 8
mov word [edx + 0x18], 0x6573
mov dword [edx + 0x14], 0x6e6f7073
mov dword [edx + 0x10], 0x65722067
mov dword [edx + 0xc], 0x6e696461
mov dword [edx + 8], 0x65722074
mov dword [edx + 4], 0x756f2064
mov dword [edx], 0x656d6974
mov dword [esi + 0x19c], eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x1a0], edx
mov dword [esi + 0x1a4], 0x1a
push eax
push 0x16
lea eax, [esi + 0x284]
push eax
call fcn.0041dac0
add esp, 0xc
lea eax, [esi + 0x284]
mov dword [esi + 0x8c], 2
mov dword [esi + 0xd4], connect
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 8
mov dword [esi + 0x88], 2
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.00427210
add esp, 0xc
jmp 0x41bf6b
movsd xmm0, qword [esi + 0x88]
lea eax, [esi + 0x284]
mov dword [esi + 0x8c], 2
mov dword [esi + 0xd4], connect
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 8
mov dword [esi + 0x88], 2
movsd qword [esi + 0x284], xmm0
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.00427210
add esp, 0xc
jmp 0x41bf6b
push ecx
push edx
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x318]
push eax
call fcn.004c6020
add esp, 0x14
cmp byte [esi + 0x318], 4
jne 0x41c416
mov edx, dword [esi + 0x20]
lea ecx, [esi + 0x88]
push dword [esi + 0x10]
push dword [esi + 0x24]
call fcn.00419940
add esp, 8
mov edx, dword [esi + 0x90]
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
cmp edx, 0x3b9aca00
jne 0x41c477
mov dword [esi + 0x284], eax
lea eax, [esi + 0x284]
mov dword [esi + 0x8c], 2
mov dword [esi + 0xd4], connect
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 8
mov dword [esi + 0x288], ecx
mov dword [esi + 0x88], 2
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.00427210
add esp, 0xc
jmp 0x41bf6b
movsd xmm0, qword [esi + 0x88]
lea eax, [esi + 0x284]
mov dword [esi + 0x8c], 2
mov dword [esi + 0xd4], connect
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 8
mov dword [esi + 0x88], 2
movsd qword [esi + 0x284], xmm0
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.00427210
add esp, 0xc
jmp 0x41bf6b
movsd xmm0, qword [esi + 0x318]
lea eax, [esi + 0x284]
mov dword [esi + 0x8c], 2
mov dword [esi + 0xd4], connect
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 8
mov dword [esi + 0x88], 2
movsd qword [esi + 0x284], xmm0
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.00427210
add esp, 0xc
jmp 0x41bf6b
push edx
push ecx
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x318]
push eax
call fcn.004c60f0
add esp, 0x14
cmp byte [esi + 0x318], 4
je 0x41bbdf
movsd xmm0, qword [esi + 0x318]
lea eax, [esi + 0x284]
mov dword [esi + 0x8c], 2
mov dword [esi + 0xd4], connect
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 8
mov dword [esi + 0x88], 2
movsd qword [esi + 0x284], xmm0
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.00427210
add esp, 0xc
jmp 0x41bf6b
movzx ecx, byte [esi + 0x8b]
movzx edi, word [esi + 0x89]
mov edx, dword [esi + 0x8c]
mov dword [esi + 0x8c], 2
mov dword [esi + 0xd4], connect
mov dword [esi + 0xe0], 0
mov byte [esi + 0xe8], 8
mov dword [esi + 0x88], 2
mov byte [esi + 0x287], cl
mov word [esi + 0x285], di
mov byte [esi + 0x284], al
lea eax, [esi + 0x284]
mov dword [esi + 0x288], edx
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x19c]
push eax
call fcn.00427210
add esp, 0xc
jmp 0x41bf6b
lea ebx, [esi + 0x474]
push 0xc0
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x18]
mov dword [eax], edi
add eax, 4
push 0xc0
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x658], 6
jmp 0x41bf82
lea ecx, [esi + 0x474]
mov byte [esi + 0xb], 0
mov dword [esi + 0x658], 9
call fcn.004191c0
movzx ebx, byte [esi + 4]
movzx edx, word [esi + 0x1c]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movsd xmm1, qword [esi + 0x268]
movsd xmm0, qword [esi + 0x260]
movsd xmm2, qword [esi + 0x270]
mov byte [esi + 0xc], 0
mov dword [esi + 0x658], 4
mov dword [ecx + 4], eax
mov word [ecx + 8], dx
movsd qword [ecx + 0x12], xmm1
movsd xmm1, qword [esi + 0x276]
mov edx, dword [esi + 0x48]
movsd qword [ecx + 0x1a], xmm2
movsd qword [ecx + 0xa], xmm0
movsd qword [ecx + 0x20], xmm1
mov dword [ecx], 3
movzx ecx, bl
call fcn.00419350
mov eax, dword [esi + 0x60]
test eax, eax
je 0x41c64a
push 1
push eax
push dword [esi + 0x64]
call fcn.00402cf0
add esp, 0xc
cmp dword [esi + 0x150], 0x80000000
je 0x41c083
lea ecx, [esi + 0x150]
call fcn.00418f50
jmp 0x41c083
mov bl, 0xa
lea ecx, [esi + 0x39c]
push 0x44
lea eax, [esi + 0x19c]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, word [esi + 0x318]
lea ecx, [esi + 0x534]
mov word [esi + 0x54], ax
movzx eax, byte [esi + 0x31a]
mov byte [esi + 0x56], al
push 0x60
lea eax, [esi + 0x88]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, dword [esi + 0x18]
mov dword [edi], 2
mov dword [edi + 4], 2
lea eax, [edi + 8]
push 0x44
lea ecx, [esi + 0x39c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, word [esi + 0x54]
mov dword [edi + 0x4c], connect
mov dword [edi + 0x58], 0
mov byte [edi + 0x60], bl
mov word [edi + 0x61], ax
movzx eax, byte [esi + 0x56]
mov byte [edi + 0x63], al
add edi, 0x64
push 0x60
lea eax, [esi + 0x534]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esi + 0x474]
mov byte [esi + 0xb], 0
mov dword [esi + 0x658], 9
call fcn.004191c0
mov dword [esi + 0x658], 6
jmp 0x41bf82
mov dword [esi + 0x658], 0xf
push 0x5031b0
call fcn.00500310
add esp, 4
jmp 0x41c7f5
mov byte [esi + 3], bl
push 0x5031a0
call fcn.00500310
add esp, 4
jmp 0x41c7f5
mov eax, dword [esi + 0x14]
mov byte [esi + 0xd], 4
mov word [esi + 0x30], 2
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 0
mov dword [esi + 0x658], 6
mov dword [esi + 0x50], eax
push 0x503214
push 0x3c
push str.shouldnt_happen:_failed_to_connect_to_all_IPs__but_no_errorl0P
call fcn.004fdd00
add esp, 0xc
jmp 0x41c7f5
push 0xd
push 1
call fcn.00500210
add esp, 8
jmp 0x41c7f5
mov byte [esi + 3], cl
push 0x1a
push 1
call fcn.00500210
add esp, 8
jmp 0x41c7f5
movsd xmm0, qword [esi + 0x318]
mov dword [esi + 0x658], 0xc
movsd qword [esi + 0x88], xmm0
push 0x5031c8
push 0x502e5c
lea eax, [esi + 0x88]
push eax
push 0x2b
push 0x502e30
call fcn.00500340
add esp, 0x14
ud2