Function at 0x40a186
Capabilities:
Connect socket
Get socket status
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4e4
lea eax, [0x6138b8]
lea esi, [ebp - 0x1d8]
and dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x260], ecx
and dword [ebp - 0xc0], 0
mov dword [esi], eax
mov ecx, dword [esi]
mov dword [esi], 0x22f3bbb9
mov edx, dword [esi]
call fcn.00408fa4
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi + 0x30], xmm0
movups xmmword [esi + 0x20], xmm0
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
cmp ecx, 0x3f
ja 0x40a1fe
mov edx, dword [ecx + 0x594a54]
xor edx, dword [eax + ecx]
mov dword [ebp + ecx - 0x1d8], edx
add ecx, 4
jmp 0x40a1e4
push 0x40
pop edi
lea ebx, [ebp - 0x374]
push edi
lea eax, [ebp - 0x1d8]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x1d8]
lea esi, [ebp - 0x4c0]
mov dword [ecx], 0x64bc18
mov dword [ecx + 4], 2
and dword [ecx + 0x10], 0
mov dword [esi], ebx
mov dword [esi + 4], edi
xor edi, edi
lea ebx, [ebp - 0x74]
inc edi
mov dword [ebx], esi
mov dword [ecx + 8], ebx
mov dword [ebx + 4], fcn.00426659
mov dword [ecx + 0xc], edi
call fcn.00547820
push 4
pop edx
mov ecx, 0xd0
call fcn.00406573
mov dword [eax], 0x594adf
push 3
pop ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x594a94
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0x594a97
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], 0x594a9a
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], 0x594a9d
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], 0x594aa0
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], 0x594aa3
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], 0x594aa6
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], 0x594aa9
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], 0x594aac
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], 0x594aaf
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], 0x594ab2
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], 0x594ab5
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], 0x594ab8
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], 0x594abb
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], 0x594abe
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x80], 0x594ac1
mov dword [eax + 0x84], ecx
mov dword [eax + 0x88], 0x594ac4
mov dword [eax + 0x8c], ecx
mov dword [eax + 0x90], 0x594ac7
mov dword [eax + 0x94], ecx
mov dword [eax + 0x98], 0x594aca
mov dword [eax + 0x9c], ecx
mov dword [eax + 0xa0], 0x594acd
mov dword [eax + 0xa4], ecx
mov dword [eax + 0xa8], 0x594ad0
mov dword [eax + 0xac], ecx
mov dword [eax + 0xb0], 0x594ad3
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], 0x594ad6
mov dword [eax + 0xbc], ecx
mov dword [eax + 0xc0], 0x594ad9
mov dword [eax + 0xc4], ecx
mov dword [eax + 0xc8], 0x594adc
mov dword [eax + 0xcc], ecx
and dword [ebx], 0
mov dword [ebx + 4], 4
and dword [ebx + 8], 0
lea ecx, [ebp - 0x4e8]
mov dword [esi], eax
mov dword [esi + 4], 0x1a
mov dword [esi + 8], eax
mov dword [ecx], edi
lea edi, [eax + 0xd0]
mov dword [esi + 0xc], edi
cmp eax, edi
je 0x40a4c7
lea esi, [eax + 8]
mov dword [ebp - 0x4b8], esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x3c8], edx
call fcn.00544ca0
test al, al
je 0x40a4c0
mov esi, dword [ebp - 0x3c8]
mov eax, dword [ebp - 0x3cc]
xor edx, edx
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.00487eba
mov ebx, eax
mov edi, edx
push esi
push dword [ebp - 0x10]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x1d8], ebx
lea ebx, [ebp - 0x74]
mov dword [ebp - 0x1d4], edi
mov dword [ebp - 0x1d0], esi
lea esi, [ebp - 0x1d8]
mov ecx, ebx
mov edx, esi
call fcn.00494911
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x1d8], 0x594af4
mov dword [ebp - 0x1d4], 3
and dword [ebp - 0x1c8], 0
mov ecx, esi
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x3cc]
mov dword [ebp - 0x370], fcn.00445500
mov dword [ebp - 0x36c], eax
lea eax, [ebp - 0x374]
mov dword [ebp - 0x368], fcn.00426659
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], 2
call fcn.00547820
inc dword [ebp - 0x4e8]
mov esi, dword [ebp - 0x4b8]
mov edi, dword [ebp - 0x4b4]
mov eax, esi
jmp 0x40a3ce
lea ecx, [ebp - 0x4c0]
call fcn.0055ca9f
mov eax, dword [ebp - 0x74]
and dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 4
and dword [ebp - 0xa4], 0
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x4c], eax
lea eax, [0x617290]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x37a38749
mov edx, dword [ebp - 0x1d8]
call fcn.0040889a
and dword [ebp - 0x1a4], 0
and dword [ebp - 0x1a8], 0
and dword [ebp - 0x1a0], 0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [ebp - 0x1b8], xmm0
movups xmmword [ebp - 0x1c8], xmm0
movups xmmword [ebp - 0x1d8], xmm0
cmp ecx, 0x3b
ja 0x40a575
mov edx, dword [ecx + 0x594b0c]
xor edx, dword [eax + ecx]
mov dword [ebp + ecx - 0x1d8], edx
add ecx, 4
jmp 0x40a55b
movzx eax, word [eax + 0x3c]
lea esi, [ebp - 0x1d8]
xor eax, 0x9c33
mov word [esi + 0x3c], ax
push 0x3e
pop eax
push eax
lea eax, [ebp - 0x1d8]
push eax
lea edi, [ebp - 0x374]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x4c0], edi
push 0x3e
pop eax
mov dword [esi], 0x64bc18
mov dword [esi + 4], 2
and dword [esi + 0x10], 0
mov dword [ebp - 0x4bc], eax
lea eax, [ebp - 0x4c0]
mov ecx, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 1
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], fcn.00426659
call fcn.00547820
lea eax, [ebp - 0x94]
lea esi, [ebp - 0x3a4]
mov dword [ebp - 0x10], 0
mov dword [esi], eax
and dword [esi + 4], 0
mov dword [eax], 0x80000003
lea ecx, [ebp - 0x44]
mov edx, esi
call fcn.0056804d
cmp dword [ebp - 0x44], 0x80000001
je 0x40aa01
movsd xmm0, qword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
movsd qword [ebp - 0x1ec], xmm0
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1ec], 0x80000000
je 0x40a9f1
mov eax, dword [ebp - 0x3c]
movsd xmm0, qword [ebp - 0x44]
mov dword [ebp - 0x250], eax
movsd qword [ebp - 0x258], xmm0
push 8
pop ecx
xor edx, edx
call fcn.00487eba
mov dword [edx + 4], 0x544c5541
mov dword [edx], 0x4645442e
mov edi, edx
mov esi, eax
mov ecx, dword [ebp - 0x254]
mov edx, dword [ebp - 0x250]
push 8
push edi
call fcn.0055d636
pop ecx
pop edx
mov ecx, esi
mov edx, edi
mov ebx, eax
call fcn.00563c9c
test bl, bl
jne 0x40a9ca
mov dword [ebp - 0x1d8], 0x594b7c
mov dword [ebp - 0x1d4], 2
and dword [ebp - 0x1c8], 0
lea eax, [ebp - 0x258]
lea edi, [ebp - 0x42c]
lea edx, [ebp - 0x1d8]
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x374]
mov ecx, edi
mov dword [ebp - 0x370], fcn.004087f4
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], 1
call fcn.00406419
mov edx, dword [ebp - 0x94]
lea esi, [ebp - 0x28]
mov ecx, esi
push edi
call fcn.00409382
pop eax
cmp byte [ebp - 0x28], 4
jne 0x40a9b6
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0xbc]
lea esi, [ebp - 0x208]
lea ebx, [ebp - 0x270]
mov dword [ebp - 0x410], 1
mov dword [ebp - 0x270], ecx
and dword [ebp - 0x26c], 0
mov dword [ebp - 0xbc], eax
mov ecx, esi
mov edx, ebx
call fcn.0056804d
cmp dword [ebp - 0x208], 0x80000001
je 0x40a9bf
cmp dword [ebp - 0x208], 0x80000000
jne 0x40a76f
mov ecx, esi
call fcn.00405c83
jmp 0x40a741
xor ecx, ecx
mov eax, dword [ebp - 0x200]
movsd xmm0, qword [ebp - 0x208]
lea edi, [ebp - 0x23c]
mov dword [ebp - 0x1d8], 0x6c4590
lea edx, [ebp - 0x374]
inc ecx
mov dword [ebp - 0x374], edi
lea edi, [ebp - 0x44c]
mov dword [ebp - 0x370], fcn.004087f4
mov dword [ebp - 0x1d4], ecx
and dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 0x1cc], ecx
mov ecx, edi
lea edx, [ebp - 0x1d8]
mov dword [ebp - 0x234], eax
movsd qword [ebp - 0x23c], xmm0
call fcn.00406419
mov edx, dword [ebp - 0xbc]
lea ebx, [ebp - 0x3dc]
mov ecx, ebx
push edi
call fcn.00409382
pop eax
cmp byte [ebp - 0x3dc], 4
jne 0x40a83a
mov esi, dword [ebp - 0x3d8]
lea edi, [ebp - 0x4e8]
mov ecx, edi
mov edx, esi
push 0xa
push str.RemotePath:___
call fcn.0040940a
pop eax
pop ecx
cmp dword [ebp - 0x4e8], 0x80000000
jne 0x40a84c
mov ecx, edi
call fcn.00405c83
lea ebx, [ebp - 0x270]
jmp 0x40a993
mov ecx, ebx
call fcn.00405cbe
lea ebx, [ebp - 0x270]
jmp 0x40a9a0
mov eax, dword [ebp - 0x4e0]
movsd xmm0, qword [ebp - 0x4e8]
lea ebx, [ebp - 0x4c0]
mov ecx, ebx
mov dword [ebp - 0x3c4], eax
movsd qword [ebp - 0x3cc], xmm0
mov edx, dword [ebp - 0x3c8]
push eax
call fcn.00434de0
pop eax
lea edi, [ebp - 0x23c]
mov eax, fcn.004087f4
mov dword [ebp - 0x1d8], 0x594b9c
mov dword [ebp - 0x374], edi
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x36c], ebx
mov dword [ebp - 0x368], eax
push 2
pop eax
mov dword [ebp - 0x1d4], eax
and dword [ebp - 0x1c8], 0
lea ebx, [ebp - 0x374]
lea edi, [ebp - 0x1d8]
mov dword [ebp - 0x1d0], ebx
lea ebx, [ebp - 0x74]
mov edx, edi
mov dword [ebp - 0x1cc], eax
mov ecx, ebx
call fcn.00406419
mov ecx, dword [ebp - 0x4c0]
mov edx, dword [ebp - 0x4bc]
call fcn.00563c9c
lea ecx, [ebp - 0xac]
mov edx, ebx
call fcn.00494911
lea eax, [ebp - 0x410]
mov dword [ebp - 0x374], 0x594bc4
mov dword [ebp - 0x370], 4
and dword [ebp - 0x364], 0
lea ecx, [ebp - 0x23c]
lea edx, [ebp - 0x3cc]
mov dword [ebp - 0x36c], edi
mov dword [ebp - 0x368], 3
lea ebx, [ebp - 0x270]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], fcn.00445500
mov dword [ebp - 0x1d0], ecx
mov ecx, fcn.004087f4
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x1c4], ecx
lea ecx, [ebp - 0x374]
call fcn.00547820
mov ecx, dword [ebp - 0x3cc]
mov edx, dword [ebp - 0x3c8]
inc dword [ebp - 0x410]
call fcn.00563c9c
mov al, 1
mov dword [ebp - 0x10], eax
mov ecx, esi
call fcn.0056803e
lea esi, [ebp - 0x208]
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x238]
call fcn.00563c9c
jmp 0x40a741
mov ecx, esi
call fcn.00405cbe
jmp 0x40a9ca
mov ecx, dword [ebp - 0xbc]
call fcn.0056803e
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x254]
call fcn.00563c9c
cmp dword [ebp - 0x1ec], 0x80000000
lea esi, [ebp - 0x3a4]
jne 0x40a602
lea ecx, [ebp - 0x1ec]
call fcn.00405c83
jmp 0x40a602
test byte [ebp - 0x10], 1
jne 0x40aaed
lea eax, [0x616c20]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0xaaf91977
mov edx, dword [ebp - 0x1d8]
call fcn.00409218
and dword [ebp - 0x1b8], 0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [ebp - 0x1c8], xmm0
movups xmmword [ebp - 0x1d8], xmm0
cmp ecx, 0x23
ja 0x40aa6c
mov edx, dword [ecx + 0x594b4a]
xor edx, dword [eax + ecx]
mov dword [ebp + ecx - 0x1d8], edx
add ecx, 4
jmp 0x40aa52
movzx ecx, byte [eax + 0x26]
movzx eax, word [eax + 0x24]
lea esi, [ebp - 0x1d8]
xor eax, 0xcc74
xor cl, 0x76
mov word [esi + 0x24], ax
mov byte [esi + 0x26], cl
push 0x27
pop edi
push edi
lea eax, [ebp - 0x1d8]
push eax
lea ebx, [ebp - 0x374]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esi], 0x64bc18
mov dword [esi + 4], 2
and dword [esi + 0x10], 0
lea eax, [ebp - 0x4c0]
mov ecx, esi
mov dword [ebp - 0x4c0], ebx
mov dword [ebp - 0x4bc], edi
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x3cc]
mov dword [ebp - 0x3c8], fcn.00426659
mov dword [esi + 8], eax
mov dword [esi + 0xc], 1
call fcn.00547820
mov ecx, dword [ebp - 0x94]
mov esi, dword [ebp - 0xac]
mov ebx, dword [ebp - 0xa8]
imul edi, dword [ebp - 0xa4], 0xc
call fcn.0056803e
add edi, ebx
mov dword [ebp - 0x374], ebx
mov dword [ebp - 0x370], esi
mov dword [ebp - 0x36c], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x368], edi
cmp ebx, dword [ebp - 0x14]
je 0x40ac5e
lea edi, [ebx + 0xc]
mov dword [ebp - 0x36c], edi
mov esi, dword [ebx]
cmp esi, 0x80000000
je 0x40ac5e
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x18], edx
push 3
push 0x594d00
push dword [ebx + 8]
call fcn.00405d00
add esp, 0xc
mov eax, dword [ebp - 0x1d8]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x40ac4d
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x1cc]
imul esi, dword [ebp - 0x4c], 0xc
mov ebx, dword [ebp - 0x48]
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x34], ecx
test esi, esi
je 0x40abfb
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0055879c
pop ecx
pop edx
test al, al
jne 0x40abc2
add ebx, 0xc
inc edi
add esi, 0xfffffff4
jmp 0x40ab9e
mov edx, dword [ebp - 0x48]
imul eax, edi, 0xc
mov esi, dword [ebp - 0x4c]
not edi
lea ecx, [edx + eax]
lea eax, [edx + eax + 0xc]
add edi, esi
mov edx, dword [eax - 8]
mov ebx, dword [eax - 0xc]
mov dword [ebp - 0x10], edx
imul edx, edi, 0xc
push edx
push eax
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
mov edx, dword [ebp - 0x10]
dec esi
mov ecx, ebx
mov dword [ebp - 0x4c], esi
call fcn.00563c9c
mov esi, dword [ebp - 0x34]
xor edx, edx
mov ecx, esi
call fcn.00487eba
mov edi, edx
mov ebx, eax
push esi
push dword [ebp - 0x78]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0xc8]
lea edx, [ebp - 0x4c0]
mov dword [ebp - 0x4c0], ebx
mov dword [ebp - 0x4bc], edi
mov dword [ebp - 0x4b8], esi
call fcn.00494911
mov eax, dword [ebp - 0x368]
mov edi, dword [ebp - 0x36c]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x18]
mov ecx, esi
call fcn.00563c9c
mov ebx, edi
jmp 0x40ab28
lea esi, [ebp - 0x374]
mov ecx, esi
call fcn.0046359c
cmp byte [ebp - 0x30], 0
je 0x40be9e
lea eax, [0x613176]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x39c1eafb
mov edx, dword [ebp - 0x1d8]
call fcn.004091cc
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [ebp - 0x1a8], xmm0
movups xmmword [ebp - 0x1b8], xmm0
movups xmmword [ebp - 0x1c8], xmm0
movups xmmword [ebp - 0x1d8], xmm0
cmp ecx, 0x3f
ja 0x40acdd
mov edx, dword [ecx + 0x594be4]
xor edx, dword [eax + ecx]
mov dword [ebp + ecx - 0x1d8], edx
add ecx, 4
jmp 0x40acc3
mov al, byte [eax + 0x40]
lea ebx, [ebp - 0x1d8]
xor al, 0xa7
mov byte [ebx + 0x40], al
push 0x41
pop edi
push edi
lea eax, [ebp - 0x1d8]
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, esi
lea esi, [ebp - 0x4c0]
mov dword [ebx], 0x64bc18
mov dword [ebx + 4], 2
and dword [ebx + 0x10], 0
mov ecx, ebx
mov dword [esi], eax
lea eax, [ebp - 0x4c0]
mov dword [esi + 4], edi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x70], fcn.00426659
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 1
call fcn.00547820
lea eax, [0x620729]
and dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 4
and dword [ebp - 0x20c], 0
mov dword [ebx], eax
mov ecx, dword [ebx]
mov dword [ebx], 0x578835f7
mov edx, dword [ebx]
call fcn.00408d0d
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
lea edx, [ebp - 0x3f8]
xor cl, 0x93
xor eax, 0x4ae7
mov byte [edx + 2], cl
mov ecx, esi
mov word [edx], ax
push 3
call fcn.00555000
pop eax
lea eax, [0x61e320]
mov dword [ebx], eax
mov ecx, dword [ebx]
mov dword [ebx], 0xf3b0b070
mov edx, dword [ebx]
call fcn.00408c9b
movzx eax, word [eax]
xor eax, 0x5aa8
mov word [ebp - 0x7e], ax
lea eax, [0x617722]
mov dword [ebx], eax
mov ecx, dword [ebx]
mov dword [ebx], 0x684e86f2
mov edx, dword [ebx]
call fcn.00408bef
and dword [ebx], 0
xor ecx, ecx
mov dl, 1
push 4
pop edi
test dl, 1
je 0x40ae28
mov edx, ecx
movzx esi, byte [ecx + 0x594c25]
or edx, 1
movzx edx, byte [edx + 0x594c25]
shl edx, 8
or edx, esi
mov esi, ecx
or esi, 2
movzx esi, byte [esi + 0x594c25]
shl esi, 0x10
or edx, esi
mov esi, ecx
or esi, 3
movzx esi, byte [esi + 0x594c25]
shl esi, 0x18
or edx, esi
xor edx, dword [eax + ecx]
mov dword [ebp + ecx - 0x1d8], edx
xor edx, edx
mov ecx, edi
jmp 0x40add9
movzx eax, word [eax + 4]
mov ecx, dword [ebp - 0x1d8]
lea esi, [ebp - 0x4f0]
lea edx, [ebp - 0x270]
xor eax, 0x4d43
mov dword [esi], ecx
mov word [esi + 4], ax
lea eax, [ebp - 0x7e]
mov dword [edx], eax
mov dword [edx + 4], 2
mov dword [edx + 8], esi
lea esi, [ebp - 0x4c0]
mov dword [edx + 0xc], 6
mov ecx, esi
call fcn.00404511
lea edi, [ebp - 0x258]
mov edx, esi
mov ecx, edi
call fcn.00551750
cmp dword [edi], 0x80000000
jne 0x40ae93
lea ecx, [ebp - 0x258]
call fcn.00405c52
jmp 0x40be10
mov eax, dword [ebp - 0x240]
movsd xmm0, qword [ebp - 0x248]
movsd xmm2, qword [ebp - 0x258]
movsd xmm1, qword [ebp - 0x250]
test eax, eax
mov dword [ebp - 0x414], eax
movsd qword [ebp - 0x41c], xmm0
movsd qword [ebp - 0x424], xmm1
movsd qword [ebp - 0x42c], xmm2
je 0x40aee3
lea ecx, [ebp - 0x258]
call fcn.00405393
jmp 0x40be10
mov edx, dword [ebp - 0x428]
mov ecx, ebx
push dword [ebp - 0x424]
call fcn.004346b0
pop eax
lea ebx, [ebp - 0x1d0]
lea esi, [ebp - 0x458]
mov edi, dword [ebx - 4]
mov ecx, esi
mov edx, edi
push dword [ebx]
call fcn.004097ee
pop eax
mov ecx, dword [ebx - 8]
mov edx, edi
call fcn.004767d9
mov edx, dword [esi + 4]
lea ebx, [ebp - 0x4e8]
mov ecx, ebx
push dword [esi + 8]
call fcn.00405fa4
pop eax
push 0xa
pop ecx
mov esi, ebx
lea edi, [ebp - 0x3cc]
lea ebx, [ebp - 0x1d8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x3cc]
call fcn.004098e1
test eax, eax
je 0x40bde2
mov esi, eax
mov edi, edx
mov ecx, eax
push 0
push 0x6c4590
call fcn.0055879c
pop ecx
pop edx
test al, al
jne 0x40af43
mov eax, esi
and dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], edi
mov dword [ebp - 0x1d0], esi
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x1c8], esi
lea ecx, [ebp - 0x380]
mov edx, ebx
add eax, edi
mov dword [ebp - 0x1c4], eax
and dword [ebp - 0x1c0], 0
mov word [ebp - 0x1bc], 1
call fcn.00406096
mov edi, dword [ebp - 0x37c]
mov edx, dword [ebp - 0x378]
mov ecx, edi
push 0x594c38
call fcn.004098b7
pop ecx
mov ecx, ebx
mov ebx, dword [edi]
mov esi, dword [edi + 4]
lea eax, [ebx + esi]
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1d4], eax
call fcn.004098cd
cmp eax, 0x110000
je 0x40bf3d
lea ecx, [eax - 0x30]
cmp ecx, 0xa
jb 0x40b015
cmp eax, 0x80
jb 0x40b418
mov ecx, eax
call fcn.00445880
test al, al
je 0x40b418
lea ecx, [ebp - 0x3dc]
mov edx, ebx
push 1
push 0x6c2b10
push esi
call fcn.00405d00
add esp, 0xc
mov eax, dword [ebp - 0x3dc]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x40b418
lea eax, [0x61a681]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x3d8]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0xf283ee93
mov edx, dword [ebp - 0x1d8]
call fcn.00408c58
movzx eax, word [eax]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov edx, ebx
lea ebx, [ebp - 0x1d8]
xor eax, 0xb4be
mov word [ebp - 0x1d8], ax
push 2
push ebx
call fcn.0055d636
pop ecx
pop edx
test al, al
jne 0x40b161
lea eax, [0x61cdfe]
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x3c8b3d49
mov edx, dword [ebp - 0x1d8]
call fcn.00408974
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
mov edx, dword [ebp - 0x18]
xor cl, 0xf0
xor eax, 0x4302
mov byte [ebp - 0x372], cl
mov ecx, dword [ebp - 0x10]
mov word [ebp - 0x374], ax
push 3
lea eax, [ebp - 0x374]
push eax
call fcn.0055d636
pop ecx
pop edx
test al, al
jne 0x40b161
lea eax, [0x613318]
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x1171c2e7
mov edx, dword [ebp - 0x1d8]
call fcn.0040894b
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
mov edx, dword [ebp - 0x18]
xor cl, 0x2d
xor eax, 0x776b
mov byte [ebp - 0x372], cl
mov ecx, dword [ebp - 0x10]
mov word [ebp - 0x374], ax
push 3
lea eax, [ebp - 0x374]
push eax
call fcn.0055d636
pop ecx
pop edx
test al, al
je 0x40b3ae
mov ebx, dword [ebp - 0x14]
mov ecx, esi
xor edx, edx
call fcn.00487eba
mov edi, edx
mov dword [ebp - 0x10], eax
push esi
push ebx
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1d8], 0x594c70
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x374]
mov dword [ebp - 0x370], edi
mov dword [ebp - 0x36c], esi
mov dword [ebp - 0x74], eax
mov eax, fcn.004087f4
mov dword [ebp - 0x70], eax
push 2
pop eax
mov dword [ebp - 0x1d4], eax
and dword [ebp - 0x1c8], 0
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1d0], eax
xor eax, eax
inc eax
mov dword [ebp - 0x1cc], eax
call fcn.00547820
mov ecx, dword [ebp - 0x374]
mov edx, dword [ebp - 0x370]
call fcn.00563c9c
mov ecx, esi
xor edx, edx
call fcn.00487eba
mov edi, edx
mov dword [ebp - 0x10], eax
push esi
push ebx
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 4
and dword [ebp - 0x218], 0
lea ebx, [ebp - 0x374]
mov edx, edi
mov ecx, ebx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], esi
push esi
call fcn.00434de0
pop eax
mov eax, fcn.004087f4
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x1d8], 0x594c84
mov dword [ebp - 0x448], eax
push 2
pop eax
mov dword [ebp - 0x1d4], eax
and dword [ebp - 0x1c8], 0
xor eax, eax
lea ebx, [ebp - 0x1d8]
lea esi, [ebp - 0x44c]
lea ecx, [ebp - 0x74]
mov edx, ebx
inc eax
mov dword [ebp - 0x1d0], esi
mov dword [ebp - 0x1cc], eax
call fcn.00406419
mov ecx, dword [ebp - 0x374]
mov edx, dword [ebp - 0x370]
call fcn.00563c9c
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x70]
mov ecx, esi
mov dword [ebp - 0x14], edx
push dword [ebp - 0x6c]
call fcn.00440570
pop eax
movzx esi, word [ebp - 0x44c]
cmp si, 2
jne 0x40b2d8
push 4
pop esi
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
xor ebx, ebx
jmp 0x40b718
lea ecx, [ebp - 0x44a]
mov dword [ebp - 0x10], edi
movzx edi, word [ebp - 0x430]
movzx eax, word [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov word [ebp - 0x1dc], ax
mov eax, dword [ebp - 0x438]
movsd qword [ebp - 0x1e4], xmm1
movsd qword [ebp - 0x1ec], xmm0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x70611c]
cmp eax, 3
jne 0x40b7c6
mov ecx, ebx
mov edx, esi
push 1
call fcn.00548390
pop eax
mov cl, byte [ebp - 0x1d8]
cmp cl, 4
jne 0x40b38d
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], 1
push ebx
push 0x8004667e
mov dword [ebp - 0x18], eax
push eax
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x40b558
test si, si
je 0x40b423
movups xmm0, xmmword [ebp - 0x1ea]
mov ax, 0x17
push 0x1c
pop ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
jmp 0x40b43d
movzx eax, byte [ebp - 0x1d5]
movzx edi, word [ebp - 0x1d7]
mov esi, dword [ebp - 0x1d4]
mov ebx, dword [ebp - 0x14]
shl eax, 0x10
or edi, eax
jmp 0x40b6dd
lea eax, [0x622849]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x57195c29
mov edx, dword [ebp - 0x1d8]
call fcn.00408e2f
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
mov edx, dword [ebp - 0x18]
xor cl, 0x36
xor eax, 0x1258
mov byte [ebp - 0x372], cl
mov ecx, dword [ebp - 0x10]
mov word [ebp - 0x374], ax
push 3
lea eax, [ebp - 0x374]
push eax
call fcn.0055d636
pop ecx
pop edx
mov ebx, dword [ebp - 0x14]
test al, al
jne 0x40b164
lea ebx, [ebp - 0x1d8]
jmp 0x40b7b4
movzx edi, word [ebp - 0x1e8]
mov esi, dword [ebp - 0x1ec]
mov ax, 2
xorps xmm0, xmm0
push 0x10
pop ecx
mov edx, dword [ebp - 0x1c]
rol di, 8
mov word [ebp - 0x1d8], ax
mov word [ebp - 0x1d6], di
mov dword [ebp - 0x1d4], esi
movups xmmword [ebp - 0x1d0], xmm0
mov dword [ebp - 0x1c0], edx
push ecx
push ebx
mov edi, dword [ebp - 0x18]
push edi
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
je 0x40b496
and dword [ebp - 0x1d8], 0
push ebx
push 0x8004667e
push edi
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x40b558
push 4
pop ecx
jmp 0x40b56d
call sub.ws2_32.dll_WSAGetLastError
and dword [ebp - 0x1d8], 0
mov esi, eax
push ebx
push 0x8004667e
push edi
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x40b558
mov ecx, esi
call fcn.00521a60
xor ecx, ecx
cmp al, 0xd
jne 0x40b56d
xor esi, esi
mov edi, 0xfc
inc esi
mov dword [ebp - 0x74], esi
and dword [ebp - 0x70], 0
push edi
push 0
lea eax, [ebp - 0x1d0]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x374], esi
mov dword [ebp - 0x370], eax
push edi
mov edi, eax
push 0
lea eax, [ebp - 0x36c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x1d4], edi
push eax
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x374]
push eax
push 0
push esi
call sub.ws2_32.dll_select
test eax, eax
je 0x40b8ad
cmp eax, 0xffffffff
lea esi, [ebp - 0x208]
jne 0x40b8c5
xor edi, edi
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
xor ecx, ecx
jmp 0x40b56f
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
xor edi, edi
mov dword [ebp - 0x1c], 0
jmp 0x40b6cf
mov edi, ecx
cmp cl, 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x9c], esi
jne 0x40b6c9
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x1d8]
mov dword [ebp - 0x84], eax
lea eax, str._ACFH
mov byte [ebp - 0x88], 4
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x57bc6c51
mov edx, dword [ebp - 0x1d8]
call fcn.00408bac
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
lea edx, [ebp - 0x7c]
xor eax, 0x95c4
xor cl, 0x74
mov byte [ebp - 0x7a], cl
mov word [ebp - 0x7c], ax
mov ecx, esi
push 3
call fcn.00555000
pop eax
lea eax, [0x61536b]
lea esi, [ebp - 0x374]
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp - 0x374]
mov dword [ebp - 0x374], 0xcf4e6551
mov edx, dword [ebp - 0x374]
call fcn.00408d4a
movzx eax, word [eax]
lea ecx, [ebp - 0xd4]
mov dword [ebp - str.net_view__], 0x594ca0
lea edi, [ebp - 0x74]
mov edx, esi
lea esi, [ebp - 0x208]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], fcn.004087f4
xor eax, 0x4c91
xor ecx, ecx
inc ecx
mov word [ebp - 0x80], ax
mov dword [ebp - 0x370], ecx
and dword [ebp - 0x364], 0
mov dword [ebp - 0x36c], edi
mov dword [ebp - 0x368], ecx
lea ecx, [ebp - 0x38c]
call fcn.00406419
mov eax, dword [ebp - 0x388]
mov ecx, dword [ebp - 0x384]
lea edx, [ebp - 0x80]
lea edi, [ebp - 0x1d8]
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], 2
lea edx, [ebp - 0xac]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], ecx
mov ecx, edi
call fcn.00404511
mov ecx, esi
mov edx, edi
call fcn.00551750
cmp dword [ebp - 0x208], 0x80000000
jne 0x40b7d0
mov ecx, esi
call fcn.00405c52
jmp 0x40bd08
shr edi, 8
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call sub.ws2_32.dll_closesocket
mov ecx, dword [ebp - 0x1c]
shl edi, 8
movzx eax, cl
mov dword [ebp - 0x84], esi
or eax, edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
call fcn.0045c928
pop eax
mov edx, ebx
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x218]
mov dword [ebp - 0x10], eax
mov ecx, edi
call fcn.00563c9c
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xd0]
call fcn.00563c9c
mov ecx, dword [ebp - 0x10]
imul ebx, ebx, 0xc
lea edi, [esi + 0xc]
mov dword [ebp - 0x1d8], esi
lea eax, [esi + ebx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1cc], eax
test ebx, ebx
je 0x40b798
mov eax, dword [esi]
cmp eax, 0x80000000
je 0x40b79b
lea edx, [esi + 0xc]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x10], edx
mov edx, dword [esi + 8]
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x400], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x3fc], edx
lea edx, [ebp - 0x404]
call fcn.00494911
mov esi, dword [ebp - 0x10]
add ebx, 0xfffffff4
add edi, 0xc
jmp 0x40b751
mov edi, dword [ebp - 0x14]
lea ebx, [ebp - 0x1d8]
mov dword [ebp - 0x1d0], edi
mov ecx, ebx
call fcn.0046359c
mov edi, dword [ebp - 0x37c]
mov ecx, dword [ebp - 0x380]
mov edx, edi
call fcn.0055c549
jmp 0x40af43
call fcn.00548000
jmp 0x40b32c
mov eax, dword [ebp - 0x1f0]
movsd xmm0, qword [ebp - 0x1f8]
movsd xmm2, qword [ebp - 0x208]
movsd xmm1, qword [ebp - 0x200]
test eax, eax
mov dword [ebp - 0x224], eax
movsd qword [ebp - 0x22c], xmm0
movsd qword [ebp - 0x234], xmm1
movsd qword [ebp - 0x23c], xmm2
je 0x40b81c
mov ecx, esi
call fcn.00405393
jmp 0x40bd08
mov edx, dword [ebp - 0x238]
lea edi, [ebp - 0x374]
mov ecx, edi
push dword [ebp - 0x234]
call fcn.004346b0
pop eax
mov esi, dword [ebp - 0x370]
lea ecx, [ebp - 0x398]
mov edx, esi
push dword [ebp - 0x36c]
call fcn.004097ee
pop eax
mov ecx, dword [ebp - 0x374]
mov edx, esi
mov esi, edi
call fcn.004767d9
mov edx, dword [ebp - 0x394]
lea edi, [ebp - 0x74]
mov ecx, edi
push dword [ebp - 0x390]
call fcn.00405fa4
pop eax
mov ecx, esi
mov edx, edi
call fcn.00401610
cmp dword [ebp - 0x374], 0x80000000
jne 0x40b8e2
and dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 4
and dword [ebp - 0x8c], 0
xor eax, eax
push 4
pop ecx
jmp 0x40b991
mov edi, dword [ebp - 0x30]
mov cl, 2
mov esi, 0x69d80c
and edi, 0xffffff00
or edi, 2
jmp 0x40b56f
cmp dword [ebp - 0x374], 1
mov cl, 4
jne 0x40bd4e
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x9c]
jmp 0x40b56f
push 4
pop ecx
call fcn.0048ab87
mov ecx, dword [ebp - 0x36c]
movsd xmm0, qword [ebp - 0x374]
mov ebx, edx
movsd qword [edx], xmm0
mov dword [edx + 8], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 1
push 0xa
pop ecx
mov edi, esi
lea esi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
push 0xc
pop esi
xor edi, edi
inc edi
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x374]
call fcn.00401610
cmp dword [ebp - 0x44], 0x80000000
je 0x40b962
cmp edi, dword [ebp - 0x28]
jne 0x40b948
xor edx, edx
lea ecx, [ebp - 0x28]
inc edx
call fcn.0048abc9
mov ebx, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
inc edi
mov dword [ebx + esi + 8], eax
movsd qword [ebx + esi], xmm0
mov dword [ebp - 0x20], edi
add esi, 0xc
jmp 0x40b91e
mov edx, dword [ebp - 0x40]
mov ecx, 0x80000000
call fcn.004767d9
mov eax, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x28]
lea esi, [ebp - 0x374]
mov dword [ebp - 0x8c], eax
movsd qword [ebp - 0x94], xmm0
mov ecx, dword [ebp - 0x90]
imul eax, eax, 0xc
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x28]
add eax, ecx
mov ecx, esi
mov dword [ebp - 0x24], eax
call fcn.00401666
cmp dword [ebp - 0x374], 0x80000000
jne 0x40b9be
xor edi, edi
push 4
pop eax
xor ecx, ecx
jmp 0x40ba65
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
push 4
pop ecx
call fcn.0048ab87
mov ecx, dword [ebp - 0x36c]
movsd xmm0, qword [ebp - 0x374]
mov esi, edx
mov dword [edx + 8], ecx
movsd qword [edx], xmm0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x40], ebx
push 0xc
pop ebx
xor edi, edi
inc edi
lea ecx, [ebp - 0x374]
lea edx, [ebp - 0x44]
call fcn.00401666
cmp dword [ebp - 0x374], 0x80000000
je 0x40ba49
cmp edi, dword [ebp - 0x74]
jne 0x40ba29
xor edx, edx
lea ecx, [ebp - 0x74]
inc edx
call fcn.0048abc9
mov esi, dword [ebp - 0x70]
movsd xmm0, qword [ebp - 0x374]
mov eax, dword [ebp - 0x36c]
inc edi
mov dword [esi + ebx + 8], eax
movsd qword [esi + ebx], xmm0
mov dword [ebp - 0x6c], edi
add ebx, 0xc
jmp 0x40b9fc
mov edx, dword [ebp - 0x370]
mov ecx, 0x80000000
call fcn.004767d9
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
lea esi, [ebp - 0x374]
imul edx, edi, 0xc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0x3c], eax
add edx, eax
mov dword [ebp - 0x38], edx
cmp eax, edx
je 0x40bcc1
lea ecx, [eax + 0xc]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax]
cmp ecx, 0x80000000
je 0x40bcc1
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], ecx
and dword [ebp - 0x374], 0
lea ecx, [edx + eax]
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x36c], edx
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x364], edx
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x360], ecx
and dword [ebp - 0x35c], 0
lea ecx, [ebp - 0xbc]
mov word [ebp - 0x358], 1
call fcn.00406096
mov ebx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov ecx, ebx
push 0x594ca8
call fcn.004098b7
pop ecx
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
xor edx, edx
mov ecx, ebx
mov dword [ebp - 0x34], edi
call fcn.00487eba
mov esi, edx
mov dword [ebp - 0x78], eax
push ebx
push edi
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x78]
mov ecx, fcn.004087f4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], eax
mov eax, 0x594cbc
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x374], eax
push 2
pop ecx
mov dword [ebp - 0x370], ecx
and dword [ebp - 0x364], 0
lea eax, [ebp - 0x74]
lea esi, [ebp - 0x410]
lea edx, [ebp - 0x374]
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], ecx
mov ecx, esi
call fcn.00406419
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00563c9c
lea ecx, [ebp - 0x220]
mov edx, esi
call fcn.00494911
mov ecx, ebx
xor edx, edx
call fcn.00487eba
mov esi, eax
mov edi, edx
push ebx
push dword [ebp - 0x34]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
lea ebx, [ebp - 0x28]
lea esi, [ebp - 0x374]
mov dword [ebp - 0x74], eax
mov eax, fcn.004087f4
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], eax
mov eax, 0x594cbc
mov dword [ebp - 0x374], eax
push 2
pop edi
mov dword [ebp - 0x370], edi
and dword [ebp - 0x364], 0
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x3a4]
mov edx, esi
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], edi
call fcn.00406419
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00563c9c
mov eax, dword [ebp - 0x39c]
movsd xmm0, qword [ebp - 0x3a4]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x374], 0x594ce8
mov dword [ebp - 0x370], 3
and dword [ebp - 0x364], 0
mov edx, fcn.004087f4
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], fcn.00445500
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x36c], ecx
mov ecx, esi
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x20], eax
movsd qword [ebp - 0x28], xmm0
call fcn.00547820
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00563c9c
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xb8]
inc dword [ebp - 0xb0]
call fcn.0055c549
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.00563c9c
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
jmp 0x40ba80
lea ecx, [ebp - 0x44]
call fcn.0046359c
lea ecx, [ebp - 0x94]
call fcn.0045406f
mov ecx, dword [ebp - 0x398]
mov edx, dword [ebp - 0x394]
call fcn.00563c9c
mov esi, dword [ebp - 0x208]
lea ecx, [ebp - 0x23c]
call fcn.00405393
cmp esi, 0x80000000
lea esi, [ebp - 0x208]
je 0x40b6bd
mov ecx, dword [ebp - 0x38c]
mov edx, dword [ebp - 0x388]
call fcn.00563c9c
lea ecx, [ebp - 0x1d8]
call fcn.004053b1
cmp byte [ebp - 0x88], 4
jne 0x40bd43
push dword [ebp - 0x84]
call sub.ws2_32.dll_closesocket
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
jmp 0x40b703
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
jmp 0x40b6f4
and dword [ebp - 0x208], 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 4
push eax
push esi
push 0x1007
push 0xffff
push edi
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x40bd95
mov ecx, dword [ebp - 0x208]
test ecx, ecx
je 0x40bda9
and dword [ebp - 0x2c], 0xffffff00
mov dword [ebp - 0x98], ecx
jmp 0x40bdb8
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x2c], 0
jmp 0x40bdd2
mov ecx, dword [ebp - 0x2c]
and ecx, 0xffffff00
or ecx, 4
mov dword [ebp - 0x2c], ecx
cmp eax, 0xffffffff
je 0x40bdd2
cmp byte [ebp - 0x2c], 4
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x9c]
mov cl, 4
je 0x40b56f
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x98]
mov edi, ecx
jmp 0x40b56f
mov ecx, dword [ebp - 0x458]
mov edx, dword [ebp - 0x454]
call fcn.00563c9c
mov esi, dword [ebp - 0x258]
lea ecx, [ebp - 0x42c]
call fcn.00405393
cmp esi, 0x80000000
je 0x40ae83
lea ecx, [ebp - 0x4c0]
call fcn.004053b1
mov eax, dword [ebp - 0x210]
imul ebx, dword [ebp - 0x20c], 0xc
mov ecx, dword [ebp - 0x214]
lea edx, [eax + ebx]
lea esi, [eax + 0xc]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1cc], edx
test ebx, ebx
je 0x40be8d
mov ecx, dword [eax]
cmp ecx, 0x80000000
je 0x40be90
mov edx, dword [eax + 4]
lea edi, [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x3e8], ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x3e4], edx
lea edx, [ebp - 0x3e8]
mov dword [ebp - 0x3e0], eax
call fcn.00494911
add ebx, 0xfffffff4
add esi, 0xc
mov eax, edi
jmp 0x40be49
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x1d8]
mov dword [ecx + 8], esi
call fcn.0046359c
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x25c]
lea edi, [ebp - 0x3f4]
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1d0], ecx
imul ebx, eax, 0xfffffff4
imul eax, eax, 0xc
lea esi, [ecx + eax - 0xc]
test ebx, ebx
je 0x40bf06
mov eax, dword [esi]
cmp eax, 0x80000000
je 0x40bf09
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 0x3ec], edx
mov dword [ebp - 0x3f0], ecx
lea ecx, [ebp - 0xc8]
mov edx, edi
call fcn.00494911
add ebx, 0xc
add esi, 0xfffffff4
jmp 0x40becc
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x1d8]
mov dword [ecx + 0xc], esi
call fcn.0046359c
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x260]
movsd xmm0, qword [ebp - 0xc8]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
add esp, 0x4e4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valueC:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.6_srcwin.rs
push 0x594c48
call fcn.0043a9e0