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

Disassembly:
mov eax, 0x70
call fcn.005b9060
mov eax, dword [0x6d1d44]
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 0x598e38
lea ebx, [ebp + 3]
jmp 0x599091
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x598e54
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x598e54
cmp eax, 0x10000
jne 0x598e60
cmp dword [ebx + 0x584], esi
jne 0x59908c
cmp ebp, 0x20
jb 0x59908c
call fcn.004c5790
mov dword [esp + 0x14], eax
test eax, eax
jne 0x598e7d
xor ebx, ebx
jmp 0x599091
call fcn.004a2ac0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x598e93
xor ebx, ebx
jmp 0x599091
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14c]
test ecx, ecx
je 0x598ee1
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 0x598ec5
mov ebx, 1
jmp 0x599091
je 0x59908c
cmp eax, 2
jne 0x598f7b
mov dword [esp + 0x24], 1
jmp 0x598f7b
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 0x138]
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x599088
add ecx, 4
add edx, 4
sub esi, 4
jae 0x598ef0
push 0
call fcn.004aacc0
mov esi, dword [esp + 0x2c]
push eax
push 0x20
push dword [esi + 0x148]
push dword [esp + 0x24]
call fcn.004c5980
add esp, 0x14
test eax, eax
jle 0x598f8d
mov eax, dword [esp + 0x1c]
add eax, 0x10
push eax
mov eax, dword [esi + 0x148]
add eax, 0x20
push eax
push 0
call fcn.004b0030
push eax
push dword [esp + 0x20]
call fcn.004a3140
add esp, 0x14
test eax, eax
jle 0x598f8d
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x598f7b
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x598f7b
xor ebx, ebx
mov ecx, 1
cmp eax, 0x10000
cmovne ebx, ecx
mov dword [esp + 0x24], ebx
push dword [esp + 0x14]
call fcn.004c5c70
mov esi, eax
add esp, 4
test esi, esi
jne 0x598f9b
mov esi, dword [esp + 0x10]
mov ebx, 1
jmp 0x599091
mov ebx, dword [esp + 0x10]
push ebx
call fcn.004c6480
add eax, 0x10
add esp, 4
add eax, esi
cmp ebp, eax
jbe 0x599088
sub ebp, esi
push ebp
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.004c5c50
add esp, 0xc
test eax, eax
jle 0x598f8d
push 0
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
call fcn.004c5890
add esp, 0xc
test eax, eax
jle 0x598f8d
push esi
mov esi, dword [esp + 0x20]
lea eax, [esi + ebp]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004c5fa0
add esp, 0xc
test eax, eax
jne 0x599088
push ebx
call fcn.004c6480
add esi, 0x10
add eax, esi
push ebx
mov dword [esp + 0x28], eax
call fcn.004c6480
mov ecx, 0xfffffff0
sub ecx, eax
push 0x5c1
add ebp, ecx
push str.ssl_t1_lib.c
push ebp
call fcn.004bc3b0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x599196
push ebp
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
push esi
push ebx
call fcn.004a3160
add esp, 0x14
test eax, eax
jle 0x599196
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
add eax, esi
push eax
push ebx
call fcn.004a2fa0
add esp, 0xc
test eax, eax
jg 0x599100
push 0x5c9
push str.ssl_t1_lib.c
push esi
call fcn.004bc3e0
add esp, 0xc
mov esi, dword [esp + 0x10]
mov ebx, 4
push esi
call fcn.004a2aa0
push dword [esp + 0x18]
call fcn.004c5730
mov esi, dword [esp + 0x3c]
add esp, 8
mov eax, dword [esi + 0x5d8]
mov ecx, dword [eax + 0x1f0]
test ecx, ecx
je 0x599201
cmp ebx, 3
je 0x5990d3
cmp ebx, 4
je 0x5990d3
cmp ebx, 5
je 0x5990d3
cmp ebx, 6
jne 0x599201
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.0x5990f9.0
jmp dword [eax*4 + 0x59925c]
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.005a3370
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.004bc3e0
add esp, 0x18
test edi, edi
je 0x59918c
cmp dword [esp + 0x18], 0
je 0x599157
push edi
call fcn.00586c00
add esp, 4
xor edi, edi
jmp 0x599088
mov esi, dword [esp + 0x94]
test esi, esi
je 0x59917c
push esi
push dword [esp + 0x34]
lea eax, [edi + 0x14c]
push eax
call fcn.005badf0
add esp, 0xc
mov dword [edi + 0x148], esi
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
add ebx, 5
jmp 0x599091
call fcn.004b3a80
jmp 0x599088
push 0x5c4
push str.ssl_t1_lib.c
push esi
call fcn.004bc3e0
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov ebx, 1
jmp 0x599091
push edi
mov ebx, 2
call fcn.00586c00
add esp, 4
xor edi, edi
jmp 0x599201
cmp ebx, 3
je 0x5991d8
mov eax, 4
cmp ebx, eax
cmovne ebx, eax
push edi
call fcn.00586c00
add esp, 4
xor edi, edi
jmp 0x599201
cmp ebx, 5
je 0x5991ef
cmp ebx, 6
jne case.0x5990f9.0
xor ebx, ebx
cmp eax, 3
setne bl
add ebx, 5
jmp 0x599201
mov ebx, 1
cmp dword [esi + 0x584], 0
je 0x599226
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x59923f
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x59923f
cmp eax, 0x10000
je 0x59923f
cmp ebx, 3
jl 0x59923f
cmp ebx, 4
jle 0x599235
cmp ebx, 6
jne 0x59923f
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.005b8900
add esp, 0x70
ret