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

Disassembly:
mov eax, 0x6c
call fcn.005dfc90
mov eax, dword [0x6a7d40]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c]
xor ecx, ecx
mov ebx, 1
mov dword [esp + 0x10], 0
push edi
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x870]
lea ebp, [esi + 0xce8]
test eax, eax
mov dword [esp + 0x1c], ecx
cmove eax, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x7cc]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x12e0]
mov edi, eax
cmp dword [esi + 0x9bc], 0xf1
mov ebx, ebp
mov edx, 0x4540
mov dword [esp + 0x18], ebx
jne 0x5cfa91
cmp dword [esi + 0x12e4], 5
mov edi, eax
jae 0x5cfcb2
lea eax, [esp + 0x24]
push eax
xor eax, eax
test ecx, ecx
sete al
push eax
push 0
push dword [esi + 0x9d0]
push 5
push esi
call fcn.005accf0
add esp, 0x18
test eax, eax
jle 0x5d085e
mov ebx, dword [esi + 0x12e4]
mov eax, dword [edi]
mov dword [esi + 0x9bc], 0xf1
mov dword [esp + 0x20], eax
cmp ebx, 0x7fffffff
ja 0x5d0830
mov edx, eax
mov edi, ebx
mov dword [esp + 0x30], edx
cmp ebx, 2
jb 0x5d081f
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
sub edi, 2
je 0x5d081f
cmp dword [esi + 0x1c], 0
movzx eax, byte [edx + 2]
je 0x5cfb79
cmp dword [esi + 0x1318], 0
je 0x5cfb79
test ecx, 0x8000
je 0x5cfb79
cmp eax, 1
jne 0x5cfb79
and ecx, 0x7fff
mov dword [ebp - 4], 0x16
mov dword [ebp - 8], 2
mov dword [ebp], ecx
mov eax, dword [esi + 0x9d0]
sub eax, 2
cmp ecx, eax
ja 0x5cfe05
cmp ecx, 9
jae 0x5cfca9
call fcn.0046b450
push str.ssl3_get_record
push 0x116
push 0x68c628
call fcn.0046b550
push 0
push 0xa0
push 0x32
jmp 0x5d0852
test ebx, ebx
je 0x5d07d6
movzx eax, byte [edx]
dec ebx
mov dword [esp + 0x30], eax
cmp ebx, 2
jb 0x5d07d6
movzx edi, byte [edx + 1]
sub ebx, 2
movzx eax, byte [edx + 2]
shl edi, 8
or edi, eax
cmp ebx, 2
jb 0x5d07d6
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [ebp - 8], edi
mov eax, dword [esp + 0x30]
mov dword [ebp], ecx
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x5cfbe9
push dword [esi + 0x3e0]
push esi
push 5
push dword [esp + 0x2c]
push 0x100
push edi
push 0
call eax
add esp, 0x1c
cmp dword [esi + 0x860], 0
jne 0x5cfc21
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x5cfc0e
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x5cfc0e
cmp eax, 0x10000
jne 0x5cfc21
cmp dword [esi + 0x7a4], 1
je 0x5cfc21
mov eax, dword [esi]
cmp edi, eax
jne 0x5cfe2c
and edi, 0xffffff00
cmp edi, 0x300
jne 0x5d06e1
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x5cfc97
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x5cfc97
cmp eax, 0x10000
je 0x5cfc97
cmp dword [esi + 0x724], 0
je 0x5cfc97
mov eax, dword [ebp - 4]
cmp eax, 0x17
je 0x5cfc8a
cmp eax, 0x14
jne 0x5cfc77
cmp dword [esi + 0x1fc], 0
je 0x5cfc8a
cmp dword [esi + 0x280], 0
je 0x5cfc8a
cmp eax, 0x15
jne 0x5cfea4
cmp dword [esi + 0x64], 1
jne 0x5cfea4
cmp dword [ebp - 8], 0x303
jne 0x5cfecb
mov eax, dword [esi + 0x9d0]
sub eax, 5
cmp dword [ebp], eax
ja 0x5d06cd
mov ebx, dword [esp + 0x18]
mov edx, 0x4540
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x5cfd00
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x5cfd00
cmp eax, 0x10000
je 0x5cfd00
mov ecx, dword [ebp]
cmp ecx, 0x4100
jbe 0x5cfd1a
call fcn.0046b450
push str.ssl3_get_record
push 0x18c
push 0x68c628
call fcn.0046b550
push 0
push 0x96
push 0x16
jmp 0x5d0852
cmp dword [esi + 0x740], 0
mov eax, 0x4140
mov ecx, dword [ebp]
cmovne eax, edx
cmp ecx, eax
ja 0x5d06b9
cmp dword [ebp - 8], 2
lea eax, [ecx - 3]
cmovne eax, ecx
test eax, eax
je 0x5cfd44
lea ecx, [esp + 0x24]
push ecx
push 0
push 1
push eax
push eax
push esi
call fcn.005accf0
add esp, 0x18
test eax, eax
jle 0x5d085e
mov edx, dword [esp + 0x10]
lea edi, [esi + 0x12e0]
mov dword [esi + 0x9bc], 0xf0
mov eax, 2
cmp dword [ebp - 8], eax
mov ecx, 5
cmovne eax, ecx
inc edx
add eax, dword [edi]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp]
mov dword [ebp + 4], eax
mov dword [ebp + 0x18], 0
add ebp, 0x30
mov dword [esp + 0x10], edx
mov dword [esi + 0x12e4], 0
mov dword [esi + 0x1318], 0
cmp edx, dword [esp + 0x28]
jae 0x5cfef6
cmp dword [ebx - 4], 0x17
jne 0x5cfef6
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x64]
test byte [eax + 0x30], 1
je 0x5cfef6
mov eax, dword [esi + 0x724]
test eax, eax
je 0x5cfef6
push eax
call fcn.00497870
push eax
call fcn.00493b20
add esp, 8
test eax, 0x800000
je 0x5cfef2
push esi
call fcn.005d0880
add esp, 4
test eax, eax
je 0x5cfef2
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x12e0]
jmp 0x5cfa6b
call fcn.0046b450
push str.ssl3_get_record
push 0x111
push 0x68c628
call fcn.0046b550
push 0
push 0xc6
push 0x16
jmp 0x5d0852
xor eax, edi
test eax, 0xff00
jne 0x5cfe7d
cmp dword [esi + 0x744], 0
jne 0x5cfe7d
cmp dword [esi + 0x758], 0
jne 0x5cfe7d
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 0x15
jne 0x5cfe78
call fcn.0046b450
push str.ssl3_get_record
push 0x143
push 0x68c628
call fcn.0046b550
push 0
push 0x10b
push 0xffffffffffffffff
jmp 0x5d0852
movzx eax, di
mov dword [esi], eax
call fcn.0046b450
push str.ssl3_get_record
push 0x14c
push 0x68c628
call fcn.0046b550
push 0
push 0x10b
push 0x46
jmp 0x5d0852
call fcn.0046b450
push str.ssl3_get_record
push 0x174
push 0x68c628
call fcn.0046b550
push 0
push 0x1bb
push 0xa
jmp 0x5d0852
call fcn.0046b450
push str.ssl3_get_record
push 0x179
push 0x68c628
call fcn.0046b550
push 0
push 0x10b
push 0x32
jmp 0x5d0852
mov edx, dword [esp + 0x10]
cmp edx, 1
jne 0x5cffe2
cmp dword [ebx - 4], 0x14
jne 0x5cffe2
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x5cff25
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x5cff25
cmp eax, 0x10000
jne 0x5cff32
cmp dword [esi + 0x7a4], 0
je 0x5cffe2
cmp dword [esi + 0x1fc], 0
je 0x5cff48
cmp dword [esi + 0x280], 0
jne 0x5cffe2
cmp dword [ebx], 1
jne 0x5cffbb
mov eax, dword [ebx + 0xc]
cmp byte [eax], 1
jne 0x5cffbb
mov dword [ebx - 4], 0x16
inc dword [esi + 0x12f4]
cmp dword [esi + 0x12f4], 0x20
jbe 0x5cff92
call fcn.0046b450
push str.ssl3_get_record
push 0x200
push 0x68c628
call fcn.0046b550
push 0
push 0x106
push 0xa
jmp 0x5d0852
pop edi
mov dword [ebx + 0x18], 1
mov eax, 1
mov dword [esi + 0x9c0], 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005df387
add esp, 0x6c
ret
call fcn.0046b450
push str.ssl3_get_record
push 0x1f4
push 0x68c628
call fcn.0046b550
push 0
push 0x104
push 0x2f
jmp 0x5d0852
mov eax, dword [esi + 0x738]
test eax, eax
je 0x5d0032
push eax
call fcn.00497870
add esp, 4
test eax, eax
je 0x5d0036
push eax
call fcn.00498340
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
cmp ebp, 0x40
jbe 0x5d0038
call fcn.0046b450
push str.ssl3_get_record
push 0x216
push 0x68c628
call fcn.0046b550
push 0
push 0x80006
jmp 0x5d0850
xor ebp, ebp
jmp 0x5d003c
xor ebp, ebp
mov edx, dword [esp + 0x10]
test dword [esi + 0x7c], 0x100
je 0x5d01a8
cmp dword [esi + 0x738], 0
je 0x5d01a8
xor ebx, ebx
test edx, edx
je 0x5d00bf
lea edi, [esi + 0xce8]
mov eax, dword [edi]
cmp eax, ebp
jb 0x5d0194
sub eax, ebp
mov ebp, dword [edi + 0xc]
mov dword [edi], eax
add ebp, eax
mov eax, dword [esi + 4]
push 0
mov ecx, dword [eax + 0x64]
lea eax, [esp + 0x3c]
push eax
lea eax, [edi - 8]
push eax
mov eax, dword [ecx + 4]
push esi
call eax
add esp, 0x10
test eax, eax
je 0x5d016d
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.00401390
add esp, 0xc
test eax, eax
jne 0x5d016d
mov ebp, dword [esp + 0x14]
inc ebx
add edi, 0x30
cmp ebx, dword [esp + 0x10]
jb 0x5d0062
xor ebp, ebp
mov dword [esp + 0x14], ebp
call fcn.004648b0
mov eax, dword [esi + 4]
lea ebx, [esi + 0xce0]
mov edi, dword [esp + 0x1c]
push ebp
push edi
mov eax, dword [eax + 0x64]
push 0
push dword [esp + 0x1c]
mov eax, dword [eax]
push ebx
push esi
call eax
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x5d0289
push esi
call fcn.005a4d60
add esp, 4
test eax, eax
je 0x5d01fb
call fcn.00464280
mov ebp, dword [esp + 0x10]
or ebx, 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5d0158
xor esi, esi
test ebp, ebp
je 0x5d0145
cmp dword [eax + esi*8 + 4], 0
je 0x5d0140
push 0x317
push 0x68c628
push dword [eax + esi*8]
call fcn.004679c0
mov eax, dword [esp + 0x28]
add esp, 0xc
inc esi
cmp esi, ebp
jb 0x5d0120
push 0x319
push 0x68c628
push eax
call fcn.004679c0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005df387
add esp, 0x6c
ret
call fcn.0046b450
push str.ssl3_get_record
push 0x230
push 0x68c628
call fcn.0046b550
push 0
push 0x119
push 0x14
jmp 0x5d0852
call fcn.0046b450
push str.ssl3_get_record
push 0x228
jmp 0x5cfb61
test ebp, ebp
je 0x5d00c5
push 0x23c
lea eax, [edx*8]
push 0x68c628
push eax
call fcn.00467c10
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x5d00c5
call fcn.0046b450
push str.ssl3_get_record
push 0x23e
push 0x68c628
call fcn.0046b550
push 0
push 0xc0100
jmp 0x5d0850
mov ebp, dword [esp + 0x10]
cmp ebp, 1
jne 0x5d0254
push esi
call fcn.005a4e00
add esp, 4
test eax, eax
je 0x5d0254
call fcn.004646d0
push 0
push 0x68
push dword [ebx + 8]
push esi
call fcn.005cf2b0
add esp, 0x10
test eax, eax
je 0x5d010f
mov dword [ebx + 8], 0
mov dword [ebx + 0x20], ebp
mov dword [esi + 0x9c0], ebp
add esi, 0x9b4
push esi
call fcn.005ab480
add esp, 4
mov ebx, ebp
jmp 0x5d0112
call fcn.00464280
call fcn.0046b450
push str.ssl3_get_record
push 0x26f
push 0x68c628
call fcn.0046b550
push 0
push 0x119
push 0x14
push esi
call fcn.005a4d00
add esp, 0x1c
jmp 0x5d010f
call fcn.00464280
cmp dword [esp + 0x2c], 0
je 0x5d0382
cmp dword [esi + 0x724], 0
je 0x5d0382
test dword [esi + 0x7c], 0x100
jne 0x5d0382
push dword [esi + 0x738]
call fcn.00497870
add esp, 4
test eax, eax
je 0x5d0382
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5d0382
mov dword [esp + 0x18], ecx
nop dword [eax]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x38]
push 0
push ecx
push ebx
mov eax, dword [eax + 0x64]
push esi
mov eax, dword [eax + 4]
call eax
add esp, 0x10
test eax, eax
je 0x5d031b
test edi, edi
je 0x5d031b
mov eax, dword [edi]
test eax, eax
je 0x5d031b
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00401390
add esp, 0xc
test eax, eax
je 0x5d031d
xor ebp, ebp
mov ecx, dword [esp + 0x14]
xor eax, eax
add ecx, 0x4400
cmp dword [ebx + 8], ecx
cmovbe eax, ebp
add edi, 8
add ebx, 0x30
mov ebp, eax
sub dword [esp + 0x18], 1
jne 0x5d02e0
test ebp, ebp
jne 0x5d0382
push esi
call fcn.005a4d60
add esp, 4
test eax, eax
jne 0x5d010b
call fcn.0046b450
push str.ssl3_get_record
push 0x299
push 0x68c628
call fcn.0046b550
push ebp
push 0x119
push 0x14
push esi
call fcn.005a4d00
add esp, 0x1c
jmp 0x5d010b
mov ebp, dword [esp + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x5d0532
lea edi, [esi + 0xce0]
cmp dword [esi + 0x740], 0
je 0x5d03be
cmp dword [edi + 8], 0x4400
ja 0x5d0599
push edi
push esi
call fcn.005cf720
add esp, 8
test eax, eax
je 0x5d056c
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x5d0463
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x5d0463
cmp eax, 0x10000
je 0x5d0463
cmp dword [esi + 0x724], 0
je 0x5d0463
mov eax, dword [edi + 4]
cmp eax, 0x15
je 0x5d0463
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x5d05f9
cmp eax, 0x17
jne 0x5d05f9
add ecx, 0xffffffff
je 0x5d041e
mov eax, dword [edi + 0x14]
cmp byte [eax + ecx], 0
jne 0x5d041e
sub ecx, 1
jne 0x5d0413
mov edx, dword [edi + 0x14]
add edx, ecx
mov dword [edi + 8], ecx
mov cl, byte [edx]
movzx eax, cl
mov dword [edi + 4], eax
cmp cl, 0x17
je 0x5d0441
cmp cl, 0x15
je 0x5d0441
cmp cl, 0x16
jne 0x5d05c9
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x5d0463
push dword [esi + 0x3e0]
push esi
push 1
push edx
push 0x101
push dword [esi]
push 0
call eax
add esp, 0x1c
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x5d0496
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x5d0496
cmp eax, 0x10000
je 0x5d0496
mov eax, dword [edi + 4]
cmp eax, 0x16
je 0x5d048c
cmp eax, 0x15
jne 0x5d0496
cmp dword [edi + 8], 0
je 0x5d0629
mov edx, dword [edi + 8]
cmp edx, 0x4000
ja 0x5d0689
mov eax, dword [esi + 0x7cc]
test eax, eax
je 0x5d04cf
mov cl, byte [eax + 0x30c]
lea eax, [ecx - 1]
cmp al, 3
ja 0x5d04cf
movzx ecx, cl
mov eax, 0x200
dec ecx
shl eax, cl
cmp edx, eax
ja 0x5d0659
mov dword [edi + 0x10], 0
test edx, edx
jne 0x5d051c
mov eax, dword [esi + 0x12f4]
inc eax
mov dword [esi + 0x12f4], eax
cmp eax, 0x20
jbe 0x5d0526
call fcn.0046b450
push str.ssl3_get_record
push 0x300
push 0x68c628
call fcn.0046b550
push 0
push 0x12a
push 0xa
push esi
call fcn.005a4d00
add esp, 0x1c
jmp 0x5d010f
mov dword [esi + 0x12f4], 0
inc ebx
add edi, 0x30
cmp ebx, ebp
jb 0x5d0396
cmp dword [esi + 0x68], 0xb
jne 0x5d055c
cmp dword [esi + 0xce4], 0x17
jne 0x5d055c
push 0
push 0
push dword [esi + 0xce8]
push esi
call fcn.005cf2b0
add esp, 0x10
test eax, eax
je 0x5d010f
mov dword [esi + 0x9c0], ebp
mov ebx, 1
jmp 0x5d0112
call fcn.0046b450
push str.ssl3_get_record
push 0x2ab
push 0x68c628
call fcn.0046b550
push 0
push 0x6b
push 0x1e
push esi
call fcn.005a4d00
add esp, 0x1c
jmp 0x5d010f
call fcn.0046b450
push str.ssl3_get_record
push 0x2a6
push 0x68c628
call fcn.0046b550
push 0
push 0x8c
push 0x16
push esi
call fcn.005a4d00
add esp, 0x1c
jmp 0x5d010f
call fcn.0046b450
push str.ssl3_get_record
push 0x2c5
push 0x68c628
call fcn.0046b550
push 0
push 0x1bb
push 0xa
push esi
call fcn.005a4d00
add esp, 0x1c
jmp 0x5d010f
call fcn.0046b450
push str.ssl3_get_record
push 0x2b7
push 0x68c628
call fcn.0046b550
push 0
push 0x1bb
push 0xa
push esi
call fcn.005a4d00
add esp, 0x1c
jmp 0x5d010f
call fcn.0046b450
push str.ssl3_get_record
push 0x2d5
push 0x68c628
call fcn.0046b550
push 0
push 0x10f
push 0xa
push esi
call fcn.005a4d00
add esp, 0x1c
jmp 0x5d010f
call fcn.0046b450
push str.ssl3_get_record
push 0x2ee
push 0x68c628
call fcn.0046b550
push 0
push 0x92
push 0x16
push esi
call fcn.005a4d00
add esp, 0x1c
jmp 0x5d010f
call fcn.0046b450
push str.ssl3_get_record
push 0x2e3
push 0x68c628
call fcn.0046b550
push 0
push 0x92
push 0x16
push esi
call fcn.005a4d00
add esp, 0x1c
jmp 0x5d010f
call fcn.0046b450
push str.ssl3_get_record
push 0x1a1
jmp 0x5cfce8
call fcn.0046b450
push str.ssl3_get_record
push 0x181
jmp 0x5cfe14
cmp dword [esi + 0x1318], 0
je 0x5d07c2
mov edi, dword [esi + 0x12e0]
push 4
push str.GET
push edi
call fcn.005eba00
add esp, 0xc
test eax, eax
je 0x5d079b
push 5
push str.POST
push edi
call fcn.005eba00
add esp, 0xc
test eax, eax
je 0x5d079b
push 5
push str.HEAD
push edi
call fcn.005eba00
add esp, 0xc
test eax, eax
je 0x5d079b
push 4
push str.PUT
push edi
call fcn.005eba00
add esp, 0xc
test eax, eax
je 0x5d079b
push 5
push str.CONNE
push edi
call fcn.005eba00
add esp, 0xc
test eax, eax
jne 0x5d0787
call fcn.0046b450
push str.ssl3_get_record
push 0x15d
push 0x68c628
call fcn.0046b550
push 0
push 0x9b
push 0xffffffffffffffff
jmp 0x5d0852
call fcn.0046b450
push str.ssl3_get_record
push 0x163
jmp 0x5cfe60
call fcn.0046b450
push str.ssl3_get_record
push 0x159
push 0x68c628
call fcn.0046b550
push 0
push 0x9c
push 0xffffffffffffffff
jmp 0x5d0852
call fcn.0046b450
push str.ssl3_get_record
push 0x167
jmp 0x5cfe8c
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x5d07fb
push dword [esi + 0x3e0]
push esi
push 5
push dword [esp + 0x2c]
push 0x100
push 0
push 0
call eax
add esp, 0x1c
call fcn.0046b450
push str.ssl3_get_record
push 0x123
push 0x68c628
call fcn.0046b550
push 0
push 0xc0103
push 0x32
jmp 0x5d0852
call fcn.0046b450
push str.ssl3_get_record
push 0xf7
jmp 0x5d080a
call fcn.0046b450
push str.ssl3_get_record
push 0xf1
push 0x68c628
call fcn.0046b550
push 0
push 0xc0103
push 0x50
push esi
call fcn.005a4d00
add esp, 0x1c
or eax, 0xffffffff
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005df387
add esp, 0x6c
ret