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

Disassembly:
mov eax, 0x70
call fcn.005b3d10
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
push esi
mov dword [esp + 0x2c], eax
xor esi, esi
mov eax, dword [esp + 0x94]
push edi
xor edi, edi
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x5d8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
test ebp, ebp
jne 0x593bf8
lea ebx, [ebp + 3]
jmp 0x593e51
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x593c14
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x593c14
cmp eax, 0x10000
jne 0x593c20
cmp dword [ebx + 0x584], esi
jne 0x593e4c
cmp ebp, 0x20
jb 0x593e4c
call fcn.004c0840
mov dword [esp + 0x14], eax
test eax, eax
jne 0x593c3d
xor ebx, ebx
jmp 0x593e51
call fcn.0049dd00
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x593c53
xor ebx, ebx
jmp 0x593e51
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14c]
test ecx, ecx
je 0x593ca1
mov edx, dword [esp + 0x1c]
push 0
push dword [esp + 0x18]
push esi
lea eax, [edx + 0x10]
push eax
push edx
push ebx
call ecx
add esp, 0x18
test eax, eax
jns 0x593c85
mov ebx, 1
jmp 0x593e51
je 0x593e4c
cmp eax, 2
jne 0x593d3b
mov dword [esp + 0x24], 1
jmp 0x593d3b
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 0x138]
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x593e48
add ecx, 4
add edx, 4
sub esi, 4
jae 0x593cb0
push 0
call fcn.004a5df0
mov esi, dword [esp + 0x2c]
push eax
push 0x20
push dword [esi + 0x148]
push dword [esp + 0x24]
call fcn.004c0a30
add esp, 0x14
test eax, eax
jle 0x593d4d
mov eax, dword [esp + 0x1c]
add eax, 0x10
push eax
mov eax, dword [esi + 0x148]
add eax, 0x20
push eax
push 0
call fcn.004ab130
push eax
push dword [esp + 0x20]
call fcn.0049e350
add esp, 0x14
test eax, eax
jle 0x593d4d
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x593d3b
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x593d3b
xor ebx, ebx
mov ecx, 1
cmp eax, 0x10000
cmovne ebx, ecx
mov dword [esp + 0x24], ebx
push dword [esp + 0x14]
call fcn.004c0d20
mov esi, eax
add esp, 4
test esi, esi
jne 0x593d5b
mov esi, dword [esp + 0x10]
mov ebx, 1
jmp 0x593e51
mov ebx, dword [esp + 0x10]
push ebx
call fcn.004c1520
add eax, 0x10
add esp, 4
add eax, esi
cmp ebp, eax
jbe 0x593e48
sub ebp, esi
push ebp
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.004c0d00
add esp, 0xc
test eax, eax
jle 0x593d4d
push 0
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
call fcn.004c0940
add esp, 0xc
test eax, eax
jle 0x593d4d
push esi
mov esi, dword [esp + 0x20]
lea eax, [esi + ebp]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004c1050
add esp, 0xc
test eax, eax
jne 0x593e48
push ebx
call fcn.004c1520
add esi, 0x10
add eax, esi
push ebx
mov dword [esp + 0x28], eax
call fcn.004c1520
mov ecx, 0xfffffff0
sub ecx, eax
push 0x5c1
add ebp, ecx
push str.ssl_t1_lib.c
push ebp
call fcn.004b7500
mov esi, eax
add esp, 0x14
test esi, esi
je 0x593f56
push ebp
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
push esi
push ebx
call fcn.0049e370
add esp, 0x14
test eax, eax
jle 0x593f56
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
add eax, esi
push eax
push ebx
call fcn.0049e1b0
add esp, 0xc
test eax, eax
jg 0x593ec0
push 0x5c9
push str.ssl_t1_lib.c
push esi
call fcn.004b7530
add esp, 0xc
mov esi, dword [esp + 0x10]
mov ebx, 4
push esi
call fcn.0049dce0
push dword [esp + 0x18]
call fcn.004c07e0
mov esi, dword [esp + 0x3c]
add esp, 8
mov eax, dword [esi + 0x5d8]
mov ecx, dword [eax + 0x1f0]
test ecx, ecx
je 0x593fc1
cmp ebx, 3
je 0x593e93
cmp ebx, 4
je 0x593e93
cmp ebx, 5
je 0x593e93
cmp ebx, 6
jne 0x593fc1
push dword [eax + 0x1f4]
mov edx, 0x10
cmp ebp, edx
push ebx
cmova ebp, edx
push ebp
push dword [esp + 0x28]
push edi
push esi
call ecx
add esp, 0x18
cmp eax, 4
ja case.0x593eb9.0
jmp dword [eax*4 + 0x59401c]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
push 0
mov dword [esp + 0x2c], esi
call fcn.0059dfb0
push 0x5d2
mov ecx, esi
mov edi, eax
sub ecx, dword [esp + 0x30]
add dword [esp + 0x28], ecx
push str.ssl_t1_lib.c
push esi
call fcn.004b7530
add esp, 0x18
test edi, edi
je 0x593f4c
cmp dword [esp + 0x18], 0
je 0x593f17
push edi
call fcn.00581990
add esp, 4
xor edi, edi
jmp 0x593e48
mov esi, dword [esp + 0x94]
test esi, esi
je 0x593f3c
push esi
push dword [esp + 0x34]
lea eax, [edi + 0x14c]
push eax
call fcn.005b5a50
add esp, 0xc
mov dword [edi + 0x148], esi
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
add ebx, 5
jmp 0x593e51
call fcn.004aeb80
jmp 0x593e48
push 0x5c4
push str.ssl_t1_lib.c
push esi
call fcn.004b7530
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov ebx, 1
jmp 0x593e51
push edi
mov ebx, 2
call fcn.00581990
add esp, 4
xor edi, edi
jmp 0x593fc1
cmp ebx, 3
je 0x593f98
mov eax, 4
cmp ebx, eax
cmovne ebx, eax
push edi
call fcn.00581990
add esp, 4
xor edi, edi
jmp 0x593fc1
cmp ebx, 5
je 0x593faf
cmp ebx, 6
jne case.0x593eb9.0
xor ebx, ebx
cmp eax, 3
setne bl
add ebx, 5
jmp 0x593fc1
mov ebx, 1
cmp dword [esi + 0x584], 0
je 0x593fe6
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x593fff
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x593fff
cmp eax, 0x10000
je 0x593fff
cmp ebx, 3
jl 0x593fff
cmp ebx, 4
jle 0x593ff5
cmp ebx, 6
jne 0x593fff
mov dword [esi + 0x554], 1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b35b0
add esp, 0x70
ret