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

Disassembly:
mov eax, 0x68
call fcn.00585720
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
push ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x1b4]
push edi
mov dword [esp + 0x1c], ecx
or edi, 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
call fcn.004e69f0
mov ebx, eax
test ebx, ebx
jne 0x5721c4
lea eax, [edi - 1]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005852a8
add esp, 0x68
ret
push esi
call fcn.004d37b0
mov esi, eax
test esi, esi
jne 0x5721d8
lea edi, [eax - 2]
jmp 0x5724e1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0x170]
test edx, edx
je 0x57221d
push 0
push ebx
push esi
lea eax, [ecx + 0x10]
push eax
push ecx
push dword [esp + 0x34]
call edx
add esp, 0x18
test eax, eax
js 0x5724e1
je 0x5724dc
cmp eax, 2
jne 0x572297
mov dword [esp + 0x28], 1
jmp 0x572297
lea edx, [eax + 0x120]
mov dword [esp + 0x20], 0xc
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x5724dc
add ecx, 4
add edx, 4
sub dword [esp + 0x20], 4
jae 0x572230
push 0
call fcn.004d1ca0
push eax
mov eax, dword [esp + 0x2c]
push 0x20
add eax, 0x130
push eax
push ebx
call fcn.004e6bd0
add esp, 0x14
test eax, eax
jle 0x5724e1
mov eax, dword [esp + 0x14]
add eax, 0x10
push eax
mov eax, dword [esp + 0x28]
add eax, 0x150
push eax
push 0
call fcn.004d6300
push eax
push esi
call fcn.004d3da0
add esp, 0x14
test eax, eax
jle 0x5724e1
push ebx
call fcn.004e6e00
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
js 0x5724e1
push esi
call fcn.004e8ec0
mov ecx, dword [esp + 0x1c]
add eax, 0x10
add eax, ecx
add esp, 4
cmp ebp, eax
jle 0x5724dc
sub ebp, ecx
push ebp
push dword [esp + 0x18]
push ebx
call fcn.004e6de0
add esp, 0xc
test eax, eax
jle 0x5724e1
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.004e6b20
add esp, 0xc
test eax, eax
jle 0x5724e1
push ebx
call fcn.004e6980
mov ebx, dword [esp + 0x18]
push dword [esp + 0x1c]
lea eax, [ebx + ebp]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004e6fc0
add esp, 0x10
push esi
test eax, eax
je 0x57233a
call fcn.004d3790
add esp, 4
mov eax, 2
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005852a8
add esp, 0x68
ret
call fcn.004e8ec0
add eax, 0x10
add eax, ebx
push esi
mov dword [esp + 0x24], eax
call fcn.004e8ec0
mov ecx, 0xfffffff0
sub ecx, eax
push 0xc57
add ebp, ecx
push str.ssl_t1_lib.c
push ebp
call fcn.004da370
mov edi, eax
add esp, 0x14
test edi, edi
je 0x5724ad
push ebp
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push edi
push esi
call fcn.004d3dc0
add esp, 0x14
test eax, eax
jle 0x5724ad
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
add eax, edi
push eax
push esi
call fcn.004d3c20
add esp, 0xc
push esi
test eax, eax
jg 0x5723da
call fcn.004d3790
push 0xc5f
push str.ssl_t1_lib.c
push edi
call fcn.004da3a0
add esp, 0x10
mov eax, 2
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005852a8
add esp, 0x68
ret
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], eax
call fcn.004d3790
push dword [esp + 0x14]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edi
push eax
push 0
call fcn.0057fcf0
mov esi, eax
mov eax, edi
sub eax, dword [esp + 0x2c]
add dword [esp + 0x20], eax
push 0xc69
push str.ssl_t1_lib.c
push edi
call fcn.004da3a0
add esp, 0x1c
test esi, esi
je 0x572490
cmp dword [esp + 0x10], 0
jne 0x57246f
cmp dword [esi + 0x38], 0
jne 0x57246f
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x572447
push edi
push dword [esp + 0x30]
lea eax, [esi + 0x3c]
push eax
call fcn.00586cd0
add esp, 0xc
mov eax, dword [esp + 0x30]
mov dword [esi + 0x38], edi
mov dword [eax], esi
xor eax, eax
cmp dword [esp + 0x28], eax
pop esi
pop edi
setne al
pop ebp
add eax, 3
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005852a8
add esp, 0x68
ret
push esi
call fcn.00567bc0
add esp, 4
mov eax, 2
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005852a8
add esp, 0x68
ret
call fcn.004e1190
pop esi
pop edi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005852a8
add esp, 0x68
ret
push esi
call fcn.004d3790
push 0xc5a
push str.ssl_t1_lib.c
push edi
call fcn.004da3a0
add esp, 0x10
or eax, 0xffffffff
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005852a8
add esp, 0x68
ret
mov edi, 2
push esi
call fcn.004d3790
push ebx
call fcn.004e6980
mov ecx, dword [esp + 0x7c]
add esp, 8
mov eax, edi
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.005852a8
add esp, 0x68
ret