Function at 0x475c24
Capabilities:
Connect socket
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
movzx eax, byte [edx + 0x4c]
mov edi, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], edx
test eax, eax
je 0x475c79
cmp eax, 3
jne 0x4763a1
lea eax, [edi + 0x24]
mov dword [esp + 0x28], eax
lea eax, [edi + 0x44]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0x44]
test eax, eax
je 0x475d9a
cmp eax, 3
jne 0x4763b0
mov eax, dword [edi + 0x40]
jmp 0x476277
mov eax, dword [edi + 0x48]
mov dword [edi + 0x20], eax
mov dword [esp + 0x10], eax
mov esi, dword [edi + 2]
movzx ebx, word [edi + 6]
cmp word [edi], 0
je 0x475cf3
mov eax, dword [edi + 0x14]
shr esi, 0x10
lea edx, [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x24], eax
movzx eax, word [edi + 0x1c]
mov word [esp + 0x28], ax
push 0x19
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edx - 0x14], si
mov word [edx - 0x12], bx
mov edi, dword [esp + 0x14]
movzx ebx, word [esp + 0x28]
movsd xmm0, qword [edi + 8]
rol bx, 8
movsd qword [edx - 0x10], xmm0
mov eax, dword [edi + 0x10]
mov dword [edx - 8], eax
mov eax, dword [esp + 0x24]
mov dword [edx - 4], eax
push 0x1c
pop edx
mov esi, dword [esp + 8]
mov ax, 0x17
jmp 0x475d1f
push 0x10
pop edx
push 0x1c
pop ecx
xor eax, eax
lea edi, [esp + 0xa0]
rol bx, 8
rep stosd dword es:[edi], eax
lea eax, [esp + 0xa0]
mov edi, dword [esp + 0x14]
and dword [eax - 4], 0
and dword [eax - 8], 0
mov ax, 2
lea ecx, [esp + 0x90]
mov word [ecx], ax
mov word [ecx + 2], bx
mov dword [ecx + 4], esi
mov dword [ecx + 0x80], edx
push edx
push ecx
push dword [esp + 0x18]
call dword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x475d7e
lea esi, [esp + 0x60]
mov ecx, esi
call fcn.004c089f
mov ebx, dword [esi]
cmp bl, 4
je 0x475d7e
lea esi, [esp + 0x60]
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [esi], ebx
mov dword [esp + 8], eax
mov dword [esi + 4], eax
call fcn.00425b14
cmp al, 0xd
jne 0x47606d
push esi
call fcn.00442ab5
pop eax
mov eax, dword [edi + 0x20]
and dword [edi + 0x24], 0
lea ecx, [edi + 0x24]
mov dword [esp + 0x28], ecx
lea ecx, [edi + 0x44]
mov dword [esp + 0x24], ecx
mov dword [edi + 0x28], eax
mov byte [edi + 0x44], 0
mov ebx, dword [edi + 0x24]
mov edi, dword [edi + 0x28]
mov ecx, 0x559884
call fcn.004dff72
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], edi
lea edi, [edx + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x30], edx
mov edx, 0x559884
mov esi, eax
mov ecx, edi
call fcn.004ddc0f
mov ecx, edi
call fcn.004de0ba
cmp byte [eax + 0x1c], 0
mov edi, eax
movzx eax, dl
mov dword [esp + 0x40], esi
mov dword [esp + 0xc], eax
je 0x475e1a
mov dword [esp + 0x20], ebx
lea ebx, [esp + 0x60]
push 0x27
pop edx
mov ecx, ebx
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_stateI
call fcn.0043cbeb
pop eax
pop ecx
cmp byte [ebx], 4
jne 0x475ec6
mov esi, dword [esp + 0x64]
jmp 0x475ee2
and dword [esp + 0x98], 0
and dword [esp + 0x94], 0
and dword [esp + 0xa0], 0
and dword [esp + 0x9c], 0
push 0x40
pop edx
mov ecx, 0x80
call fcn.00423cc6
mov esi, eax
xor eax, eax
inc eax
mov dword [esi], eax
mov dword [esi + 4], eax
and dword [esi + 0x40], 0
mov byte [esi + 0x44], 0
and dword [esi + 0x48], 0
and dword [esi + 0x4c], 0
and dword [esi + 0x54], 0
movsd xmm0, qword [esp + 0x90]
movsd xmm1, qword [esp + 0x98]
movsd qword [esi + 0x58], xmm0
movsd qword [esi + 0x60], xmm1
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x68], eax
lock inc dword [esi]
jle 0x47639d
mov ecx, edi
lea eax, [esi + 0x40]
add ecx, 8
mov dword [esp + 0x48], eax
mov edx, dword [ecx]
cmp edx, eax
je 0x4763c4
mov dword [esi + 0x64], edx
and dword [esi + 0x60], 0
test edx, edx
je 0x475eb8
mov dword [edx + 0x20], eax
mov dword [edi + 8], eax
cmp dword [edi + 0xc], 0
jne 0x475ee6
mov dword [edi + 0xc], eax
jmp 0x475ee6
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
movzx esi, bl
mov dword [esp + 8], eax
cmp esi, 4
jne 0x475fa5
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov ecx, edi
mov dword [esp + 0x44], esi
call fcn.004ddfbd
test ebx, ebx
je 0x475f4f
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0xc], 0
mov ebx, 0xc00
inc eax
movzx esi, al
lea ecx, [esp + 0x44]
or ebx, esi
call fcn.004dbe3f
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
cmp esi, 4
jne 0x475f31
mov esi, dword [esp + 8]
jmp 0x476247
lea ecx, [esp + 0x58]
call fcn.004db90b
lea ecx, [esp + 0x38]
call fcn.004df39f
push 2
pop edx
mov ecx, dword [esp + 8]
jmp 0x476253
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x90]
mov ecx, edi
mov ebx, dword [eax + 0x34]
lea edx, [ebx + 0x20]
mov dword [esp + 0x2c], edx
call fcn.0043cc9c
mov ecx, edi
mov edx, 0x538dd8
call fcn.0043d3a0
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], dl
mov dword [esp + 0x20], ebx
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x475fb9
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4 - 4]
mov eax, dword [eax]
cmp eax, 0x21
jb 0x475fe4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x14]
jmp 0x475fbc
mov edx, dword [esp + 0xc]
mov ecx, edi
call fcn.004ddfbd
mov edi, dword [esp + 0x14]
jmp 0x475f23
mov edx, dword [ebx + 0x34]
add eax, 8
lea ebx, [esp + 0x90]
mov ecx, ebx
push eax
call fcn.0043dd16
pop eax
cmp byte [ebx], 4
je 0x475fe4
mov ebx, dword [esp + 0x90]
cmp bl, 4
jne 0x4761ff
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4763dc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + ecx*4 - 4]
lock inc dword [edi]
jle 0x47639d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
call fcn.004ddfbd
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], edi
lea edi, [esp + 0x18]
mov dword [esp + 8], esi
mov ecx, edi
push 0x48000022
call fcn.0043de86
pop eax
cmp dword [edi], 0
je 0x47607d
push 0xfffffffffffffff4
pop esi
lea edi, [esp + 0x48]
test esi, esi
je 0x4761d4
mov edx, dword [esp + 0x10]
mov ecx, edi
push dword [esi + 0x538fc0]
call fcn.0043de86
pop eax
add esi, 4
cmp dword [esp + 0x48], 0
jne 0x47603d
mov ebx, dword [esp + 0x4c]
cmp ebx, dword [esp + 0x10]
je 0x47603d
jmp 0x476081
mov ecx, dword [edi + 0x20]
call fcn.0046e8f9
push 2
pop esi
jmp 0x4762de
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
xorps xmm0, xmm0
lea esi, [esp + 0x60]
movaps xmmword [esi], xmm0
and dword [esi + 0x24], 0
and dword [esi + 0x20], 0
add eax, 0x40
mov dword [esp + 0x10], eax
lea eax, [esp + 0x90]
movaps xmmword [eax + 0x10], xmm0
movaps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x10], xmm0
push 0x60
pop ecx
push 8
pop edx
call fcn.00423cc6
xor ecx, ecx
lea edi, [eax + 0x18]
inc ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
and dword [eax + 8], 0
mov byte [eax + 0xc], 0
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
lea esi, [esp + 0x90]
mov ecx, dword [esp + 0xc]
and dword [eax + 0x40], 0
mov dword [eax + 0x48], ebx
and dword [eax + 0x4c], 0
and dword [eax + 0x50], 0
mov ebx, dword [esp + 0x10]
lea edx, [edi + 8]
mov dword [edi + 0x54], ecx
and word [edi + 0x58], 0
mov ecx, esi
call fcn.0043cc5e
mov ecx, esi
mov edx, 0x538f84
call fcn.0043cf6b
mov dword [eax + 0x44], 0x19d
and dword [eax + 0x34], 0
movzx edx, dl
mov ecx, eax
mov dword [eax + 0x30], ebx
call fcn.004ddfbd
mov eax, dword [esp + 0x20]
lock inc dword [eax]
jle 0x47639d
lock inc dword [edi]
jle 0x47639d
lea esi, [eax + 8]
mov edx, edi
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ebx
mov byte [esp + 0x9c], 3
mov dword [esp + 0x98], edi
mov ecx, esi
call fcn.0043dc8e
lea edi, [esp + 0x60]
mov edx, esi
mov ecx, edi
call fcn.0043dccc
cmp byte [edi], 4
je 0x47618f
mov eax, dword [esp + 0x60]
cmp al, 4
jne 0x47621f
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
push 0x10
pop ecx
push 4
pop edx
call fcn.00423cc6
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [eax], ebx
mov dword [esi + 4], edx
mov dword [esi + 0xc], edi
lea edi, [esp + 0x38]
mov dword [esi + 8], ecx
mov ecx, edi
call fcn.0043def9
mov dword [edi], esi
mov esi, dword [esp + 8]
jmp 0x476243
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x18], 0
je 0x476484
lea eax, [esp + 0x2c]
push eax
call fcn.0043c607
pop eax
mov edi, dword [esp + 0x14]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0xc], esi
jmp 0x475f0d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x94]
call fcn.004ddfbd
mov eax, ebx
cmp al, 4
je 0x476010
jmp 0x476237
mov edi, dword [esp + 0x64]
lea ecx, [esp + 0x90]
mov esi, eax
call fcn.0043ded1
mov eax, esi
mov esi, dword [esp + 8]
cmp al, 4
je 0x476243
cmp al, 4
jne 0x476388
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
cmp edx, 2
jne 0x47625e
mov dword [esp + 8], ecx
jmp 0x4762c7
mov eax, dword [esp + 0x30]
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], edx
mov dword [edi + 0x3c], esi
mov dword [edi + 0x38], eax
lea eax, [edi + 0x2c]
mov dword [edi + 0x40], eax
mov edx, dword [eax + 0x10]
lea esi, [esp + 0x90]
mov ecx, esi
push dword [ebp + 8]
call fcn.004e0bf0
pop eax
mov eax, dword [esi]
cmp eax, 2
jne 0x4762a9
mov eax, dword [esp + 0x24]
mov byte [eax], 3
mov eax, dword [esp + 0x34]
mov dword [eax + 8], 3
mov al, 3
jmp 0x4762f6
test eax, eax
je 0x476305
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
lea ecx, [edi + 0x2c]
mov dword [esp + 8], eax
call fcn.0046e731
push 2
pop esi
mov eax, dword [esp + 0x24]
mov byte [eax], 1
mov ecx, dword [esp + 0x28]
call fcn.00475c0a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 8]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edx
mov al, 1
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x4c], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [edi + 0x2c]
call fcn.004dfec5
lea ecx, [esp + 0x60]
mov eax, dword [eax + 4]
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 0x47637b
mov eax, dword [esp + 0x60]
xor ebx, ebx
test eax, eax
sete bl
shl ebx, 2
test ebx, ebx
je 0x4762bb
mov esi, dword [edi + 0x34]
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x2c]
mov ecx, edi
mov edi, dword [edi + 0x38]
mov byte [ecx + 0x44], 1
cmp esi, 3
mov dword [esp + 8], eax
mov dword [esp + 0x10], edx
je 0x47629a
jmp 0x4762d1
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ebx, ebx
jmp 0x4762bb
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x14]
mov ebx, eax
and ebx, 0xffffff00
jmp 0x475f0d
ud2
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain.cargo_registry_srcindex.crates.io_1cd66030c949c28d_tokio_util_0.7.10_srcutilpoll_buf.rs
push 0x53c9d0
jmp 0x4763bd
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain.cargo_registry_srcindex.crates.io_1cd66030c949c28d_tokio_util_0.7.10_srcutilpoll_buf.rs
push 0x53c9e0
call fcn.0050d590
jmp 0x4763d9
lea eax, [esp + 0x90]
lea edx, [esp + 0x48]
and dword [eax + 8], 0
push eax
call fcn.0051076a
pop eax
ud2
and dword [esp + 0x90], 0
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x48]
mov dword [eax], ecx
lea ecx, [esp + 0x18]
mov dword [eax + 4], 0x43cefb
mov dword [eax + 8], ecx
push 2
pop edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x9c], edx
push 4
pop ecx
mov dword [esp + 0xa4], ecx
push 0x20
pop esi
mov bl, 3
mov dword [esp + 0xa8], esi
mov dword [eax + 0xc], 0x43d46a
mov byte [esp + 0xac], bl
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], edx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0xc8], esi
mov byte [esp + 0xcc], bl
mov dword [ecx + 8], 0x538e34
mov dword [ecx + 0xc], edx
mov dword [ecx], edi
mov dword [ecx + 4], edx
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, 0x538e44
call fcn.0050d4d0
ud2
mov dword [esp + 0x48], esi
push 0x2e
pop edx
mov ecx, str.called__Result::unwrap_err____on_an__Ok__value
push 0x538fc0
push 0x5389d8
push edi
call fcn.0050d740
add esp, 0xc
ud2