Function at 0x453216
Capabilities:
Connect socket
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x118
movzx eax, byte [edx + 0x4c]
mov ebx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x453267
cmp eax, 3
jne 0x453927
movzx eax, byte [ebx + 0x48]
lea edx, [ebx + 0x28]
lea edi, [ebx + 0x48]
mov dword [esp + 0x28], edx
test eax, eax
je 0x4532dd
cmp eax, 3
jne 0x453939
mov eax, dword [ebx + 0x44]
jmp 0x453816
mov esi, dword [ebx + 0x20]
mov dword [ebx + 0x24], esi
movzx eax, word [ebx + 0x12]
cmp word [ebx], 0
mov word [esp + 0x110], ax
movsd xmm0, qword [ebx + 2]
movsd xmm1, qword [ebx + 0xa]
movsd qword [esp + 0x108], xmm1
movsd qword [esp + 0x100], xmm0
je 0x4532ec
mov eax, dword [ebx + 0x14]
movups xmm0, xmmword [esp + 0x102]
lea edx, [esp + 0x94]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
movzx ebx, word [ebx + 0x1c]
mov dword [esp + 4], eax
push 0x19
pop ecx
xor eax, eax
mov edi, edx
rol bx, 8
rep stosd dword es:[edi], eax
movups xmmword [edx - 0x14], xmm0
mov eax, dword [esp + 4]
mov dword [edx - 4], eax
push 0x1c
pop edx
mov ax, 0x17
jmp 0x453318
mov dword [esp + 0xc], edi
mov edi, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x2c]
jmp 0x453388
push 0x10
pop edx
movzx ebx, word [esp + 0x104]
mov eax, dword [esp + 0x100]
lea edi, [esp + 0x80]
rol bx, 8
mov dword [esp + 8], eax
push 0x1e
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov ax, 2
lea ecx, [esp + 0x78]
mov word [ecx], ax
mov eax, dword [esp + 8]
mov word [ecx + 2], bx
mov dword [ecx + 4], eax
mov dword [ecx + 0x80], edx
push edx
push ecx
push esi
call dword [sym.imp.ws2_32.dll_connect]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x45336a
call dword [sym.imp.kernel32.dll_GetLastError]
lea edi, [esp + 0x30]
mov dword [esp], eax
and dword [edi], 0
mov ecx, edi
mov dword [edi + 4], eax
call fcn.00417174
cmp al, 0xd
jne 0x45360e
push edi
call fcn.0042684b
pop eax
mov edi, dword [esi + 0x24]
lea eax, [esi + 0x28]
xor ebx, ebx
mov dword [esp + 0x28], eax
lea eax, [esi + 0x48]
mov dword [esp + 0xc], eax
mov dword [esi + 0x28], edi
and dword [esi + 0x2c], 0
mov byte [esi + 0x48], 0
mov ecx, 0x4e2094
call fcn.00491b89
lea ecx, [edx + 0x10]
lea esi, [edx + 0x70]
test eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], edx
mov edx, 0x4e2094
mov dword [esp + 0x58], edi
mov dword [esp + 8], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], eax
cmove ecx, esi
add ecx, 8
call fcn.0048fde0
lea ecx, [eax + 0x10]
mov ebx, eax
mov dword [esp], ecx
call fcn.0048d3f9
cmp byte [ebx + 0x28], 0
je 0x453407
lea esi, [esp + 0x30]
push 0x27
pop edx
mov ecx, esi
push 0x38
push str.A_Tokio_1.x_context_was_found__but_it_is_being_shutdown._mark_pending_called_when_the_timer_entry_is_in_an_invalid_state
call fcn.0043170a
pop eax
pop ecx
cmp byte [esi], 4
mov edi, dword [esp + 0xc]
jne 0x4535d8
mov esi, dword [esp + 0x34]
jmp 0x453482
lea esi, [esp + 0x78]
and dword [esi + 0x3c], 0
and dword [esi + 0x38], 0
and dword [esi + 0x41], 0
and dword [esi + 0x3d], 0
push 0x40
pop edx
mov ecx, 0x80
call fcn.0048e46f
xor ecx, ecx
lea edi, [eax + 8]
inc ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
push 0x12
pop ecx
rep movsd dword es:[edi], dword [esi]
and dword [eax + 0x50], 0
and dword [eax + 0x54], 0
and dword [eax + 0x58], 0
and dword [eax + 0x60], 0
lock inc dword [eax]
jle 0x453925
mov esi, eax
add eax, 0x40
mov dword [esp + 0x68], eax
mov ecx, dword [ebx + 0x20]
cmp ecx, eax
je 0x45394b
mov edi, dword [esp + 0xc]
mov dword [esi + 0x44], ecx
and dword [esi + 0x40], 0
test ecx, ecx
je 0x453476
mov dword [ecx], eax
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x24], 0
jne 0x453482
mov dword [ebx + 0x24], eax
mov ecx, dword [esp]
mov dword [esp + 0x50], esi
call fcn.00467f87
cmp dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], edi
je 0x4534d8
xor ebx, ebx
mov esi, 0xc00
mov dword [esp], 0
inc ebx
lea ecx, [esp + 0x50]
movzx edi, bl
call fcn.0048d275
mov eax, dword [esp + 8]
cmp edi, 4
je 0x4537d7
or esi, edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], esi
jmp 0x4535f7
mov eax, dword [ebx]
mov dword [esp + 0x24], esi
lea esi, [esp + 0x78]
mov ecx, esi
lea edi, [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], edi
call fcn.004317cb
cmp dword [esi], 0
jne 0x453963
mov ecx, dword [esp + 0x7c]
mov al, byte [esp + 0x80]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], al
lea eax, [ecx + 8]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x45352b
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + edx*4 - 4]
mov ecx, dword [ecx]
cmp ecx, 0x20
jbe 0x45354c
mov edx, dword [edi]
lea edi, [esp + 0x78]
mov ecx, edi
push eax
call fcn.00432990
pop eax
cmp byte [edi], 4
je 0x45354c
mov ebx, dword [esp + 0x78]
cmp bl, 4
jne 0x45378b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45398e
mov eax, dword [eax + 0xc]
mov esi, dword [eax + ecx*4 - 4]
lock inc dword [esi]
jle 0x453925
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0043196a
mov edx, dword [esp + 8]
lea edi, [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 0x14], esi
mov ecx, edi
push 0x48000022
call fcn.00432aec
pop eax
cmp dword [edi], 0
je 0x453626
push 0xfffffffffffffff4
pop ebx
lea edi, [esp + 0x30]
test ebx, ebx
je 0x453770
mov edx, dword [esp + 8]
mov ecx, edi
push dword [ebx + 0x4d7d04]
call fcn.00432aec
mov eax, dword [esp + 0xc]
add esp, 4
add ebx, 4
cmp dword [esp + 0x30], 0
jne 0x4535a4
mov esi, dword [esp + 0x34]
cmp esi, eax
je 0x4535a4
jmp 0x45362a
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp]
cmp al, 4
je 0x453485
mov dword [esp + 4], eax
call fcn.00467f87
mov dword [esp], esi
lea ecx, [esp + 0x60]
call fcn.0044bca0
lea ecx, [esp + 0x58]
call fcn.00491456
jmp 0x45385e
mov ecx, dword [esi + 0x24]
mov dword [esp + 4], 0
call fcn.0044bcc0
push 2
pop edi
jmp 0x45386d
mov esi, dword [esp + 0x6c]
lea eax, [esp + 0x78]
mov ebx, dword [eax]
push 0x60
pop ecx
push 8
pop edx
call fcn.0048e46f
mov ecx, dword [esp]
mov edi, eax
xor eax, eax
inc eax
lea edx, [edi + 8]
mov dword [edi], eax
mov dword [edi + 4], eax
and dword [edi + 8], 0
mov byte [edi + 0xc], 0
and dword [edi + 0x10], 0
mov dword [edi + 0x14], ebx
and dword [edi + 0x18], 0
and dword [edi + 0x20], 0
and dword [edi + 0x1c], 0
and dword [edi + 0x28], 0
and dword [edi + 0x24], 0
and dword [edi + 0x30], 0
and dword [edi + 0x2c], 0
and dword [edi + 0x38], 0
and dword [edi + 0x34], 0
and dword [edi + 0x40], 0
and dword [edi + 0x3c], 0
and dword [edi + 0x44], 0
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], esi
and dword [edi + 0x54], 0
and dword [edi + 0x50], 0
and word [edi + 0x58], 0
lea esi, [esp + 0x78]
mov ecx, esi
call fcn.00426a04
xor eax, eax
cmp dword [esi], eax
jne 0x453a31
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x80]
mov dword [ecx + 0x48], 0x19d
and dword [ecx + 0x3c], 0
lea ebx, [eax + 0x40]
mov dword [ecx + 0x38], ebx
call fcn.0043196a
mov eax, dword [esp + 0x1c]
lock inc dword [eax]
jle 0x453925
lock inc dword [edi]
jle 0x453925
mov eax, dword [esp + 0x1c]
mov edx, edi
lea esi, [eax + 8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ebx
mov byte [esp + 0x84], 3
mov dword [esp + 0x7c], edi
mov ecx, esi
call fcn.004328bd
lea edi, [esp + 0x30]
mov edx, esi
mov ecx, edi
call fcn.00432921
cmp byte [edi], 4
je 0x45372f
mov ebx, dword [esp + 0x30]
cmp bl, 4
jne 0x4537a7
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov dword [esp], eax
push 0x10
pop ecx
push 4
pop edx
call fcn.0048e46f
mov edi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp]
xor ecx, ecx
mov dword [edi], eax
mov dword [edi + 8], esi
mov dword [edi + 4], edx
mov dword [edi + 0xc], ebx
call fcn.00432b5d
mov eax, dword [esp + 8]
jmp 0x4537cc
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea eax, [esp + 0x14]
push eax
call fcn.00431131
pop eax
xor esi, esi
xor ebx, ebx
jmp 0x4534b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x7c]
call fcn.0043196a
cmp bl, 4
je 0x453578
jmp 0x4537b4
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x78]
call fcn.00432b37
mov eax, dword [esp + 8]
xor edi, edi
cmp bl, 4
je 0x4537cc
cmp bl, 4
jne 0x453915
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], edi
mov dword [esp], ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
or ecx, dword [esp + 0x48]
cmp edx, 2
jne 0x4537f6
mov edi, dword [esp + 0xc]
mov dword [esp + 4], ecx
jmp 0x45385e
mov esi, dword [esp]
mov dword [ebx + 0x30], edx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], eax
lea eax, [ebx + 0x30]
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], eax
mov edx, dword [eax + 8]
lea esi, [esp + 0x78]
mov ecx, esi
push dword [ebp + 8]
call fcn.0049286b
pop eax
mov eax, dword [esi]
cmp eax, 2
jne 0x453840
mov byte [edi], 3
mov eax, dword [esp + 0x2c]
mov dword [eax], 3
mov al, 3
jmp 0x453888
test eax, eax
je 0x453897
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov dword [esp + 4], ecx
lea ecx, [ebx + 0x30]
mov dword [esp], eax
call fcn.0044ba66
mov byte [edi], 1
push 2
pop edi
mov ecx, dword [esp + 0x28]
call fcn.004531fc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], esi
mov al, 1
mov ecx, dword [esp + 0x20]
mov byte [ecx + 0x4c], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebx + 0x30]
call fcn.00491ae3
lea ecx, [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x78], 4
and dword [ecx], 0
push esi
push ecx
push 0x1007
push 0xffff
push eax
call dword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x453908
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
shl ecx, 2
test ecx, ecx
je 0x45384f
mov edi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x40]
mov ecx, ebx
mov ebx, dword [ebx + 0x3c]
mov byte [ecx + 0x48], 1
cmp edi, 3
mov dword [esp + 4], eax
mov dword [esp], edx
je 0x453832
jmp 0x453864
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
jmp 0x45384f
mov dword [esp], esi
mov esi, ebx
and esi, 0xffffff00
jmp 0x4534b0
ud2
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completion
push 0x4dbabc
call fcn.004a0350
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completion
push 0x4dbacc
call fcn.004a0350
and dword [esp + 0x78], 0
add ebx, 0x20
lea eax, [esp + 0x78]
lea edx, [esp + 0x68]
mov ecx, ebx
push eax
call fcn.004a40cb
mov eax, dword [esp + 0x7c]
mov cl, byte [esp + 0x80]
lea esi, [esp + 0x30]
mov dword [esi], eax
mov byte [esi + 4], cl
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x4d7b1c
push 0x4d7714
jmp 0x453a57
lea ecx, [esp + 0x54]
lea eax, [esp + 0x68]
mov dword [eax], ecx
lea ecx, [esp + 0x14]
mov dword [eax + 4], 0x4319fc
mov dword [eax + 8], ecx
push 2
pop edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], edx
push 0x20
pop ecx
mov dword [esp + 0x88], ecx
and dword [esp + 0x8c], 0
push 4
pop edi
mov bl, 3
mov dword [esp + 0x90], edi
mov dword [eax + 0xc], 0x431ff9
mov byte [esp + 0x94], bl
mov dword [esp + 0x98], edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0xac], 1
mov dword [esp + 0xb0], edi
mov byte [esp + 0xb4], bl
mov dword [ecx], 0x4d7b78
mov dword [ecx + 4], edx
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, 0x4d7b88
call fcn.004a0200
mov eax, dword [esp + 0x7c]
mov cl, byte [esp + 0x80]
lea esi, [esp + 0x30]
mov dword [esi], eax
mov byte [esi + 4], cl
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x4d7cc8
push 0x4d7704
push esi
call fcn.004a05e0