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

Disassembly:
mov eax, 0x70
call fcn.005c1510
mov eax, dword [0x6d9d44]
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 0x5a11d8
lea ebx, [ebp + 3]
jmp 0x5a1431
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x5a11f4
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x5a11f4
cmp eax, 0x10000
jne 0x5a1200
cmp dword [ebx + 0x584], esi
jne 0x5a142c
cmp ebp, 0x20
jb 0x5a142c
call fcn.004cd430
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5a121d
xor ebx, ebx
jmp 0x5a1431
call fcn.004aab20
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x5a1233
xor ebx, ebx
jmp 0x5a1431
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14c]
test ecx, ecx
je 0x5a1281
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 0x5a1265
mov ebx, 1
jmp 0x5a1431
je 0x5a142c
cmp eax, 2
jne 0x5a131b
mov dword [esp + 0x24], 1
jmp 0x5a131b
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 0x138]
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x5a1428
add ecx, 4
add edx, 4
sub esi, 4
jae 0x5a1290
push 0
call fcn.004b2d40
mov esi, dword [esp + 0x2c]
push eax
push 0x20
push dword [esi + 0x148]
push dword [esp + 0x24]
call fcn.004cd620
add esp, 0x14
test eax, eax
jle 0x5a132d
mov eax, dword [esp + 0x1c]
add eax, 0x10
push eax
mov eax, dword [esi + 0x148]
add eax, 0x20
push eax
push 0
call fcn.004b80c0
push eax
push dword [esp + 0x20]
call fcn.004ab1a0
add esp, 0x14
test eax, eax
jle 0x5a132d
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x5a131b
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x5a131b
xor ebx, ebx
mov ecx, 1
cmp eax, 0x10000
cmovne ebx, ecx
mov dword [esp + 0x24], ebx
push dword [esp + 0x14]
call fcn.004cd910
mov esi, eax
add esp, 4
test esi, esi
jne 0x5a133b
mov esi, dword [esp + 0x10]
mov ebx, 1
jmp 0x5a1431
mov ebx, dword [esp + 0x10]
push ebx
call fcn.004ce110
add eax, 0x10
add esp, 4
add eax, esi
cmp ebp, eax
jbe 0x5a1428
sub ebp, esi
push ebp
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.004cd8f0
add esp, 0xc
test eax, eax
jle 0x5a132d
push 0
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
call fcn.004cd530
add esp, 0xc
test eax, eax
jle 0x5a132d
push esi
mov esi, dword [esp + 0x20]
lea eax, [esi + ebp]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004cdc40
add esp, 0xc
test eax, eax
jne 0x5a1428
push ebx
call fcn.004ce110
add esi, 0x10
add eax, esi
push ebx
mov dword [esp + 0x28], eax
call fcn.004ce110
mov ecx, 0xfffffff0
sub ecx, eax
push 0x5c1
add ebp, ecx
push str.ssl_t1_lib.c
push ebp
call fcn.004c4060
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5a1536
push ebp
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
push esi
push ebx
call fcn.004ab1c0
add esp, 0x14
test eax, eax
jle 0x5a1536
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
add eax, esi
push eax
push ebx
call fcn.004ab000
add esp, 0xc
test eax, eax
jg 0x5a14a0
push 0x5c9
push str.ssl_t1_lib.c
push esi
call fcn.004c4090
add esp, 0xc
mov esi, dword [esp + 0x10]
mov ebx, 4
push esi
call fcn.004aab00
push dword [esp + 0x18]
call fcn.004cd3d0
mov esi, dword [esp + 0x3c]
add esp, 8
mov eax, dword [esi + 0x5d8]
mov ecx, dword [eax + 0x1f0]
test ecx, ecx
je 0x5a15a1
cmp ebx, 3
je 0x5a1473
cmp ebx, 4
je 0x5a1473
cmp ebx, 5
je 0x5a1473
cmp ebx, 6
jne 0x5a15a1
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.0x5a1499.0
jmp dword [eax*4 + 0x5a15fc]
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.005ab650
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.004c4090
add esp, 0x18
test edi, edi
je 0x5a152c
cmp dword [esp + 0x18], 0
je 0x5a14f7
push edi
call fcn.0058eb90
add esp, 4
xor edi, edi
jmp 0x5a1428
mov esi, dword [esp + 0x94]
test esi, esi
je 0x5a151c
push esi
push dword [esp + 0x34]
lea eax, [edi + 0x14c]
push eax
call fcn.005c3250
add esp, 0xc
mov dword [edi + 0x148], esi
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
add ebx, 5
jmp 0x5a1431
call fcn.004bbb30
jmp 0x5a1428
push 0x5c4
push str.ssl_t1_lib.c
push esi
call fcn.004c4090
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov ebx, 1
jmp 0x5a1431
push edi
mov ebx, 2
call fcn.0058eb90
add esp, 4
xor edi, edi
jmp 0x5a15a1
cmp ebx, 3
je 0x5a1578
mov eax, 4
cmp ebx, eax
cmovne ebx, eax
push edi
call fcn.0058eb90
add esp, 4
xor edi, edi
jmp 0x5a15a1
cmp ebx, 5
je 0x5a158f
cmp ebx, 6
jne case.0x5a1499.0
xor ebx, ebx
cmp eax, 3
setne bl
add ebx, 5
jmp 0x5a15a1
mov ebx, 1
cmp dword [esi + 0x584], 0
je 0x5a15c6
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x5a15df
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x5a15df
cmp eax, 0x10000
je 0x5a15df
cmp ebx, 3
jl 0x5a15df
cmp ebx, 4
jle 0x5a15d5
cmp ebx, 6
jne 0x5a15df
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.005c0db0
add esp, 0x70
ret