Function at 0x454d23
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, 0x120
movzx eax, byte [edx + 0x4c]
mov ebx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
test eax, eax
je 0x454d74
cmp eax, 3
jne 0x45546c
movzx eax, byte [ebx + 0x48]
lea edx, [ebx + 0x28]
lea edi, [ebx + 0x48]
test eax, eax
je 0x454de4
cmp eax, 3
jne 0x45547b
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x30], edx
jmp 0x45534c
mov esi, dword [ebx + 0x20]
mov dword [ebx + 0x24], esi
movzx eax, word [ebx + 0x12]
cmp word [ebx], 0
mov word [esp + 0x88], ax
movsd xmm0, qword [ebx + 2]
movsd xmm1, qword [ebx + 0xa]
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm0
je 0x454ded
mov eax, dword [ebx + 0x14]
movups xmm0, xmmword [esp + 0x7a]
lea edx, [esp + 0xac]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x18]
movzx ebx, word [ebx + 0x1c]
mov dword [esp + 8], 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 + 8]
mov dword [edx - 4], eax
push 0x1c
pop edx
mov ax, 0x17
jmp 0x454e13
mov dword [esp + 0x10], edi
jmp 0x454e7f
push 0x10
pop edx
movzx ebx, word [esp + 0x7c]
mov eax, dword [esp + 0x78]
lea edi, [esp + 0x98]
rol bx, 8
mov dword [esp + 0xc], eax
push 0x1e
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov ax, 2
lea ecx, [esp + 0x90]
mov word [ecx], ax
mov eax, dword [esp + 0xc]
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 ebx, dword [esp + 0x24]
test eax, eax
je 0x454e67
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x38]
mov esi, eax
and dword [edi], 0
mov ecx, edi
mov dword [edi + 4], eax
call fcn.0041457c
cmp al, 0xd
jne 0x455112
push edi
call fcn.004215a1
pop eax
mov eax, dword [ebx + 0x24]
lea edx, [ebx + 0x28]
mov dword [ebx + 0x28], eax
and dword [ebx + 0x2c], 0
lea eax, [ebx + 0x48]
mov byte [ebx + 0x48], 0
mov dword [esp + 0x10], eax
mov edi, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x2c]
mov ecx, 0x4c0e14
mov dword [esp + 0x30], edx
call fcn.00486a10
lea ecx, [edx + 0x10]
lea esi, [edx + 0x70]
test eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x74], edx
mov edx, 0x4c0e14
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x54], eax
cmove ecx, esi
add ecx, 8
call fcn.00484943
lea ecx, [eax + 0x10]
mov ebx, eax
mov dword [esp + 4], ecx
call fcn.0048238b
cmp byte [ebx + 0x28], 0
je 0x454f09
lea esi, [esp + 0x38]
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.004731ea
pop eax
pop ecx
cmp byte [esi], 4
mov edi, dword [esp + 0x10]
jne 0x4550d8
mov esi, dword [esp + 0x3c]
jmp 0x454f87
lea esi, [esp + 0x90]
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.0048295c
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 0x455468
mov esi, eax
add eax, 0x40
mov dword [esp + 0x60], eax
mov ecx, dword [ebx + 0x20]
cmp ecx, eax
je 0x45548f
mov edi, dword [esp + 0x10]
mov dword [esi + 0x44], ecx
and dword [esi + 0x40], 0
test ecx, ecx
je 0x454f7b
mov dword [ecx], eax
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x24], 0
jne 0x454f87
mov dword [ebx + 0x24], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x58], esi
call fcn.00432786
cmp dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], edi
je 0x454fdb
xor ebx, ebx
mov esi, 0xc00
mov dword [esp + 4], 0
inc ebx
lea ecx, [esp + 0x58]
movzx edi, bl
call fcn.00482207
cmp edi, 4
je 0x455308
or esi, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 8], esi
jmp 0x4550fb
mov eax, dword [ebx]
mov dword [esp + 0x18], esi
lea esi, [esp + 0x90]
mov ecx, esi
lea edi, [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x5c], edi
call fcn.0042b6a9
mov ecx, esi
mov edx, 0x4b7458
call fcn.0042bd82
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], dl
mov ecx, dword [eax + 0x10]
add eax, 8
test ecx, ecx
je 0x455028
mov edx, dword [eax]
mov ecx, dword [edx + ecx*4 - 4]
mov ecx, dword [ecx]
cmp ecx, 0x20
jbe 0x45504f
mov edx, dword [edi]
lea edi, [esp + 0x90]
mov ecx, edi
push eax
call fcn.0042c73c
pop eax
cmp byte [edi], 4
je 0x45504f
mov ebx, dword [esp + 0x90]
cmp bl, 4
jne 0x4552bf
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4554b0
mov eax, dword [eax + 8]
mov esi, dword [eax + ecx*4 - 4]
lock inc dword [esi]
jle 0x455468
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
call fcn.0042b7d4
mov edx, dword [esp + 0xc]
lea edi, [esp + 0x60]
mov dword [esp + 4], esi
mov dword [esp + 0x1c], esi
mov ecx, edi
push 0x48000022
call fcn.0042c898
pop eax
cmp dword [edi], 0
je 0x45512e
push 0xfffffffffffffff4
pop ebx
lea edi, [esp + 0x38]
test ebx, ebx
je 0x455298
mov edx, dword [esp + 0xc]
mov ecx, edi
push dword [ebx + 0x4b7644]
call fcn.0042c898
pop eax
add ebx, 4
cmp dword [esp + 0x38], 0
jne 0x4550a8
mov esi, dword [esp + 0x3c]
cmp esi, dword [esp + 0xc]
je 0x4550a8
jmp 0x455132
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 4]
cmp al, 4
je 0x454f8b
mov ebx, esi
mov dword [esp + 8], eax
call fcn.00432786
mov dword [esp + 4], esi
lea ecx, [esp + 0x70]
call fcn.0042e98c
lea ecx, [esp + 0x28]
call fcn.00485d3b
jmp 0x45539b
mov ecx, dword [ebx + 0x24]
mov dword [esp + 4], esi
mov dword [esp + 8], 0
call fcn.0044dc1e
push 2
pop edi
jmp 0x4553aa
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x18]
add eax, 0x40
mov dword [esp + 0xc], eax
lea eax, [esp + 0x90]
mov ebx, dword [eax]
push 0x60
pop ecx
push 8
pop edx
call fcn.0048295c
mov ecx, dword [esp + 4]
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
mov ebx, dword [esp + 0xc]
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 + 0x90]
mov ecx, esi
call fcn.00421e86
mov ecx, esi
mov edx, 0x4b7608
call fcn.0042b9c3
mov dword [eax + 0x48], 0x19d
and dword [eax + 0x3c], 0
movzx edx, dl
mov ecx, eax
mov dword [eax + 0x38], ebx
call fcn.0042b7d4
mov eax, dword [esp + 0x14]
lock inc dword [eax]
jle 0x455468
lock inc dword [edi]
jle 0x455468
mov eax, dword [esp + 0x14]
mov edx, edi
lea esi, [eax + 8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], ebx
mov byte [esp + 0x9c], 3
mov dword [esp + 0x94], edi
mov ecx, esi
call fcn.0042c6b3
lea edi, [esp + 0x38]
mov edx, esi
mov ecx, edi
call fcn.0042c6f2
cmp byte [edi], 4
je 0x45524c
mov ebx, dword [esp + 0x38]
cmp bl, 4
jne 0x4552e2
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
push 0x10
pop ecx
push 4
pop edx
call fcn.0048295c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [esi], edx
mov dword [esi + 8], ebx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], edi
mov ecx, dword [esp + 0x2c]
call fcn.0042c909
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
jmp 0x455304
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x60], 0
mov dword [esp + 4], eax
je 0x455558
lea eax, [esp + 0x1c]
push eax
call fcn.0042b080
pop eax
xor esi, esi
xor ebx, ebx
jmp 0x454fb7
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x94]
call fcn.0042b7d4
mov eax, dword [esp + 0x18]
cmp bl, 4
je 0x45507b
jmp 0x4552f6
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x90]
call fcn.0042c8e3
mov eax, dword [esp + 0x18]
cmp bl, 4
je 0x455304
cmp bl, 4
jne 0x455457
mov dword [esp + 4], eax
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
or esi, dword [esp + 0x50]
cmp edx, 2
jne 0x455327
mov edi, dword [esp + 0x10]
mov dword [esp + 8], esi
jmp 0x45539b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], esi
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], eax
lea eax, [ebx + 0x30]
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], eax
mov edx, dword [eax + 8]
lea esi, [esp + 0x90]
mov ecx, esi
push dword [ebp + 8]
call fcn.004876e2
pop eax
mov eax, dword [esi]
cmp eax, 2
jne 0x455379
mov byte [edi], 3
mov eax, dword [esp + 0x34]
mov dword [eax], 3
mov al, 3
jmp 0x4553c6
test eax, eax
je 0x4553d5
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov dword [esp + 8], ecx
lea ecx, [ebx + 0x30]
mov dword [esp + 4], eax
call fcn.0044da07
mov byte [edi], 1
push 2
pop edi
mov ecx, dword [esp + 0x30]
call fcn.00454d08
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
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 + 0x24]
mov byte [ecx + 0x4c], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebx + 0x30]
call fcn.0048695f
lea ecx, [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x90], 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 0x45544a
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
sete cl
shl ecx, 2
test ecx, ecx
je 0x45538b
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 + 8], eax
mov dword [esp + 4], edx
je 0x45536b
jmp 0x4553a1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ecx, ecx
jmp 0x45538b
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xffffff00
jmp 0x454fb7
ud2
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:UsersAdministrator.cargo_registry_srcindex.crates.io_1cd66030c949c28d_tokio_util_0.7.10_srcutilpoll_buf.rsb
push 0x4bb054
jmp 0x455488
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:UsersAdministrator.cargo_registry_srcindex.crates.io_1cd66030c949c28d_tokio_util_0.7.10_srcutilpoll_buf.rsb
push 0x4bb064
call fcn.00493be0
jmp 0x4554ad
and dword [esp + 0x90], 0
add ebx, 0x20
lea eax, [esp + 0x90]
lea edx, [esp + 0x60]
mov ecx, ebx
push eax
call fcn.00496475
pop eax
ud2
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x60]
mov dword [eax], ecx
lea ecx, [esp + 0x1c]
mov dword [eax + 4], 0x42b880
mov dword [eax + 8], ecx
push 2
pop edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], edx
push 0x20
pop ecx
mov dword [esp + 0xa0], ecx
and dword [esp + 0xa4], 0
push 4
pop edi
mov bl, 3
mov dword [esp + 0xa8], edi
mov dword [eax + 0xc], 0x42be44
mov byte [esp + 0xac], bl
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xc0], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], edi
mov byte [esp + 0xcc], bl
mov dword [ecx], 0x4b74b4
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, 0x4b74c4
call fcn.00493a60
ud2
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
push 0x2e
pop edx
mov ecx, str.called__Result::unwrap_err____on_an__Ok__value
push 0x4b7644
push 0x4b7018
push edi
call fcn.00493e90
add esp, 0xc
ud2