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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x130
mov eax, dword [esp + 0x164]
mov ebx, dword [esp + 0x15c]
mov esi, dword [esp + 0x154]
mov ebp, dword [esp + 0x160]
mov edi, ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x30]
lea edx, [esp + 8]
push ebp
push ebx
mov ebx, dword [esp + 0x160]
push ebx
push esi
push dword [esp + 0x160]
push dword [esp + 0x160]
mov ebp, eax
push eax
call fcn.0059a0c0
add esp, 0x1c
movzx eax, byte [esp + 0x30]
cmp al, 0x14
jne 0x594624
test ebx, ebx
mov dword [esp + 0x2c], edi
je 0x59467c
lea eax, [ebx + ebx*8]
add esi, 0x10
lea eax, [eax + eax*2]
add eax, ebx
jmp 0x594608
add esi, 0x1c
add eax, 0xffffffe4
je 0x59467c
mov ecx, dword [esi - 0x10]
cmp ecx, 0xf
jb 0x594600
cmp ecx, 0x10
jne 0x59461b
cmp word [esi], 0x16
jne 0x594600
mov al, 1
mov bl, 1
mov dword [esp], eax
jmp 0x594685
movsd xmm1, qword [esp + 0x38]
movsd xmm0, qword [esp + 0x31]
mov ebx, dword [esp + 0x10]
movsd qword [edi + 8], xmm1
movsd qword [edi + 1], xmm0
mov byte [edi], al
mov edi, dword [esp + 0xc]
test ebx, ebx
je 0x59465d
mov esi, edi
nop word [eax + eax]
mov ecx, esi
call fcn.0056ed40
add esi, 0x14
dec ebx
jne 0x594650
cmp dword [esp + 8], 0
je 0x594a0b
push edi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x594a0b
xor ebx, ebx
mov dword [esp], 0
mov eax, dword [esp + 0x14c]
cmp dword [esp + 0x15c], 0
mov esi, dword [eax]
mov dword [esp + 0x28], esi
je 0x594817
mov edi, dword [eax + 4]
cmp dword [ebp + 0x48], 0
je 0x5946cc
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov edx, dword [ecx + 8]
dec edx
and edx, 0xfffffff8
lea eax, [edx + eax + 8]
push eax
call dword [ecx + 0x18]
add esp, 4
mov edx, eax
test bl, bl
jne 0x5946d6
jmp 0x5947f9
mov dl, 1
test bl, bl
je 0x5947f9
mov eax, dword [esp + 0x15c]
test byte [eax + 0x51], 1
je 0x5947f9
movzx eax, word [esi + 0x23c]
cmp ax, 0xa
je 0x5947f9
mov ecx, dword [esp + 0x15c]
movzx ecx, word [ecx + 0x44]
cmp cx, ax
jne 0x5947f9
cmp cx, 9
jne 0x59472a
mov eax, dword [esp + 0x15c]
movzx eax, word [eax + 0x46]
cmp ax, word [esi + 0x23e]
jne 0x5947f9
movzx eax, word [esp + 0x144]
mov ecx, dword [esp + 0x15c]
cmp word [ecx + 0x48], ax
jne 0x5947f9
movzx eax, ax
cmp eax, 0x178
jne 0x59475f
movzx eax, word [esp + 0x148]
cmp word [ecx + 0x4a], ax
jne 0x5947f9
mov ecx, dword [esi + 0x218]
mov ebx, edx
mov edx, dword [esp + 0x15c]
cmp ecx, 0x80000000
sete al
cmp dword [edx + 0x2c], 0x80000000
jne 0x5947bb
xor al, 1
or bl, al
jne 0x5947f9
cmp dword [edi], 4
je 0x5947f9
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 8]
jne 0x5947a2
lea ecx, [esp + 8]
call fcn.0043a660
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*4]
inc edx
mov word [eax + ecx*4], 0xc
mov al, 2
mov dword [esp + 0x10], edx
mov dword [esp], eax
jmp 0x594817
cmp ecx, 0x80000000
je 0x5947f9
mov eax, dword [esp + 0x15c]
mov eax, dword [eax + 0x34]
cmp eax, dword [esi + 0x220]
jne 0x5947f9
push eax
push dword [esi + 0x21c]
mov eax, dword [esp + 0x164]
push dword [eax + 0x30]
call fcn.007be090
add esp, 0xc
test eax, eax
sete al
xor al, 1
or bl, al
je 0x594786
cmp byte [esi + 0x24c], 0
je 0x594817
cmp dword [esi + 0x78], 0
je 0x594810
lea ecx, [esi + 0x7c]
call fcn.005692c0
mov dword [esi + 0x78], 0
mov eax, dword [esp + 0x10]
movsd xmm0, qword [esp + 8]
lea esi, [esp + 0xb0]
lea ebp, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0
mov ecx, esi
mov edx, ebp
mov dword [esp + 0xbc], eax
movsd qword [esp + 0xb4], xmm0
mov byte [esp + 0x11c], 7
mov dword [esp + 0xb0], 0x8000000f
call fcn.00572150
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
lea edi, [esp + 0x3c]
mov ecx, 0x1c
lea edx, [esp + 0xb0]
mov dword [esp + 0x38], eax
movsd qword [esp + 0x30], xmm0
lea eax, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x12c], 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 0x59496f
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0x584930
mov edx, 0x93d1f8
mov ecx, dword [0x94be3c]
mov dword [esp + 0x5c], 0x8a1aa0
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x50], 5
mov dword [esp + 0x54], str.rustls::server::tls13::client_hello
mov dword [esp + 0x58], 0x23
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0x23
mov dword [esp + 0x3c], str.rustls::server::tls13::client_hello
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0x6b
mov dword [esp + 0x48], str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rustls_0.22.4_src_server_tls13.rs
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x2b4
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 ebp, dword [esp + 0x2c]
xor eax, dword [esp + 0xb0]
cmp eax, 3
ja 0x594989
cmp eax, 1
jne 0x5949df
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0xb8]
mov eax, dword [esi + 0x18]
push edi
push ebx
push dword [esi + 0x14]
call dword [eax + 0x18]
add esp, 0xc
mov eax, dword [esi]
cmp eax, 0x80000000
je 0x5949df
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ebx
mov esi, dword [ecx + 8]
sub eax, esi
cmp eax, edi
jb 0x594a16
mov ebx, dword [esp + 4]
mov eax, dword [ebx + 4]
add eax, esi
push edi
push dword [esp + 0x28]
push eax
call fcn.007bd9b0
add esp, 0xc
add esi, edi
mov dword [ebx + 8], esi
lea edx, [esp + 0x30]
lea esi, [esp + 0xb0]
mov ecx, 0x20
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
push 1
call fcn.0057c7a0
add esp, 4
mov eax, dword [esp]
mov byte [ebp + 1], al
mov byte [ebp], 0x14
add esp, 0x130
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 4]
mov edx, esi
mov ecx, ebx
push edi
call fcn.007c54d0
add esp, 4
mov esi, dword [ebx + 8]
jmp 0x5949c3