Function at 0x594a30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x13c
mov edi, dword [esp + 0x158]
mov esi, ecx
mov eax, dword [esp + 0x154]
mov ebx, edx
mov ecx, dword [edi + 8]
dec ecx
and ecx, 0xfffffff8
lea ebp, [ecx + eax + 8]
push ebp
call dword [edi + 0x18]
add esp, 4
test al, al
je 0x594af4
lea eax, [esp + 0x30]
mov dword [esp + 4], 0
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], ebp
push ebp
push eax
call dword [edi + 0x30]
add esp, 8
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 0x2c], esi
test ebp, ebp
je 0x594afe
cmp ebp, 0x1fffffff
ja 0x594de8
lea esi, [ebp*4]
test esi, esi
js 0x594de8
mov edi, eax
movzx eax, byte [0x94bfc5]
xor ecx, ecx
mov edx, esi
call fcn.0071ee80
test eax, eax
je 0x594ded
mov ebx, eax
mov eax, edi
jmp 0x594b05
mov word [esi], 0x14
jmp 0x594dc5
mov ebx, 2
xor esi, esi
lea edi, [esp + 0x10]
push esi
push eax
push ebx
call fcn.007bd9b0
add esp, 0xc
mov ecx, edi
xor edx, edx
call fcn.0043e210
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, esi
inc esi
shl eax, 4
mov dword [edi + eax], 0x80000000
mov dword [edi + eax + 4], ebp
mov dword [edi + eax + 8], ebx
mov dword [edi + eax + 0xc], ebp
mov dword [esp + 0x18], esi
push dword [esp + 0x28]
mov eax, dword [esp + 0x15c]
call dword [eax + 0x20]
add esp, 4
test edx, edx
je 0x594ba6
mov ebx, edx
lea ecx, [esp + 0x3c]
mov edx, eax
push ebx
call fcn.00599fc0
add esp, 4
cmp esi, dword [esp + 0x10]
jne 0x594b81
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.0043e210
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, esi
inc esi
shl eax, 4
mov dword [edi + eax], 0x80000001
movsd xmm0, qword [esp + 0x3c]
movsd qword [edi + eax + 4], xmm0
mov ecx, dword [esp + 0x44]
mov dword [edi + eax + 0xc], ecx
mov dword [esp + 0x18], esi
movsd xmm0, qword [esp + 0x14]
movsd xmm2, qword [esp + 4]
movsd xmm1, qword [esp + 0xc]
lea esi, [esp + 0xbc]
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov ecx, esi
mov edx, ebx
movsd qword [esp + 0xd0], xmm0
movsd qword [esp + 0xc8], xmm1
movsd qword [esp + 0xc0], xmm2
mov byte [esp + 0x128], 0xa
mov dword [esp + 0xbc], 0x80000008
call fcn.00572150
mov eax, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
lea edi, [esp + 0x48]
mov ecx, 0x1c
lea edx, [esp + 0xbc]
mov dword [esp + 0x44], eax
movsd qword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x138], 5
mov ecx, 0x1f
mov edi, edx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x94bfb4]
cmp ecx, 5
jne 0x594d11
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0x584930
mov edx, 0x93d1f8
mov ecx, dword [0x94be3c]
mov dword [esp + 0x68], 0x8a1768
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x5c], 5
mov dword [esp + 0x60], str.rustls::server::tls13::client_hello
mov dword [esp + 0x64], 0x23
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0x23
mov dword [esp + 0x48], str.rustls::server::tls13::client_hello
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0x6b
mov dword [esp + 0x54], str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rustls_0.22.4_src_server_tls13.rs
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0x2dc
cmp ecx, 2
mov ecx, 0x83d3d8
cmove ecx, dword [0x94a8fc]
cmove edx, dword [0x94a8f8]
push eax
push edx
call dword [ecx + 0x10]
add esp, 8
mov eax, 0x80000000
mov edi, dword [esp + 0x150]
xor eax, dword [esp + 0xbc]
cmp eax, 3
ja 0x594d2e
cmp eax, 1
jne 0x594d81
mov esi, dword [esp]
mov ebp, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
mov eax, dword [esi + 0x18]
push ebx
push ebp
push dword [esi + 0x14]
call dword [eax + 0x18]
add esp, 0xc
mov eax, dword [esi]
cmp eax, 0x80000000
je 0x594d81
mov ecx, dword [esp]
mov esi, dword [ecx + 8]
sub eax, esi
cmp eax, ebx
jb 0x594dd0
mov edi, dword [esp]
mov eax, dword [edi + 4]
add eax, esi
push ebx
push ebp
push eax
call fcn.007bd9b0
add esp, 0xc
add esi, ebx
mov dword [edi + 8], esi
mov edi, dword [esp + 0x150]
lea edx, [esp + 0x3c]
mov eax, dword [edi]
lea esi, [esp + 0xbc]
mov ecx, 0x20
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 1
call fcn.0057c7a0
add esp, 4
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x30], 0
mov word [eax], 0x114
je 0x594dc5
push dword [esp + 0x34]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x13c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp]
mov edx, esi
mov ecx, edi
push ebx
call fcn.007c54d0
add esp, 4
mov esi, dword [edi + 8]
jmp 0x594d62
call fcn.00418cb0
mov ecx, 2
mov edx, esi
call fcn.007c1490
int3