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

Disassembly:
mov eax, 0x6c
call fcn.0060ff70
mov eax, dword [0x6ed0a4]
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 + 0x14], 0
push edi
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x870]
test eax, eax
mov dword [esp + 0x20], ecx
cmove eax, ebx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x7cc]
mov dword [esp + 0x34], eax
lea eax, [esi + 0xce8]
mov dword [esp + 0x24], eax
mov edi, eax
cmp dword [esi + 0x9bc], 0xf1
lea ebp, [esi + 0x12e4]
mov ebx, edi
mov edx, 0x4540
mov dword [esp + 0x1c], ebx
jne 0x602520
cmp dword [ebp], 5
jae 0x60272e
lea eax, [esp + 0x2c]
push eax
xor eax, eax
test ecx, ecx
sete al
push eax
push 0
push dword [esi + 0x9d0]
push 5
push esi
call fcn.005e02d0
add esp, 0x18
test eax, eax
jle 0x6032a0
mov ebx, dword [ebp]
mov edx, dword [esi + 0x12e0]
mov dword [esi + 0x9bc], 0xf1
cmp ebx, 0x7fffffff
ja 0x603272
cmp ebx, 2
jb 0x603261
movzx ecx, byte [edx]
mov al, byte [edx + 1]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x17], al
shl ecx, 8
movzx eax, al
or ecx, eax
lea eax, [ebx - 2]
test eax, eax
je 0x603261
cmp dword [esi + 0x1c], 0
mov al, byte [edx + 2]
je 0x602606
cmp dword [esi + 0x1318], 0
je 0x602606
test ecx, 0x8000
je 0x602606
cmp al, 1
jne 0x602606
and ecx, 0x7fff
mov dword [edi - 4], 0x16
mov dword [edi - 8], 2
mov dword [edi], ecx
mov eax, dword [esi + 0x9d0]
sub eax, 2
cmp ecx, eax
ja 0x602875
cmp ecx, 9
jae 0x602725
call fcn.004bef90
push str.ssl3_get_record
push 0x116
push 0x6d6ec0
call fcn.004bf090
push 0
push 0xa0
push 0x32
jmp 0x603294
lea ecx, [ebx - 1]
cmp ecx, 2
jb 0x60321b
movzx eax, byte [esp + 0x17]
sub ecx, 2
movzx ebx, byte [edx + 2]
shl eax, 8
or ebx, eax
cmp ecx, 2
jb 0x60321b
movzx eax, byte [edx + 3]
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [edi - 8], ebx
mov eax, dword [esp + 0x28]
mov dword [edi], ecx
mov dword [edi - 4], eax
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x602666
push dword [esi + 0x3e0]
push esi
push 5
push edx
push 0x100
push ebx
push 0
call eax
add esp, 0x1c
cmp dword [esi + 0x860], 0
jne 0x60269e
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x60268b
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x60268b
cmp eax, 0x10000
jne 0x60269e
cmp dword [esi + 0x7a4], 1
je 0x60269e
mov eax, dword [esi]
cmp ebx, eax
jne 0x60289c
and ebx, 0xffffff00
cmp ebx, 0x300
jne 0x60312a
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x602714
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x602714
cmp eax, 0x10000
je 0x602714
cmp dword [esi + 0x724], 0
je 0x602714
mov eax, dword [edi - 4]
cmp eax, 0x17
je 0x602707
cmp eax, 0x14
jne 0x6026f4
cmp dword [esi + 0x1fc], 0
je 0x602707
cmp dword [esi + 0x280], 0
jmp 0x602701
cmp eax, 0x15
jne 0x602911
cmp dword [esi + 0x64], 1
jne 0x602911
cmp dword [edi - 8], 0x303
jne 0x602938
mov eax, dword [esi + 0x9d0]
sub eax, 5
cmp dword [edi], eax
ja 0x603116
mov ebx, dword [esp + 0x1c]
mov edx, 0x4540
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x60277b
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x60277b
cmp eax, 0x10000
je 0x60277b
mov ecx, dword [edi]
cmp ecx, 0x4100
jbe 0x602794
call fcn.004bef90
push str.ssl3_get_record
push 0x18c
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x96
push 0x16
jmp 0x603294
cmp dword [esi + 0x740], 0
mov eax, 0x4140
mov ecx, dword [edi]
cmovne eax, edx
cmp ecx, eax
ja 0x603102
cmp dword [edi - 8], 2
lea eax, [ecx - 3]
cmovne eax, ecx
test eax, eax
je 0x6027be
lea ecx, [esp + 0x2c]
push ecx
push 0
push 1
push eax
push eax
push esi
call fcn.005e02d0
add esp, 0x18
test eax, eax
jle 0x6032a0
mov edx, dword [esp + 0x10]
mov ecx, 2
mov dword [esi + 0x9bc], 0xf0
mov eax, 5
cmp dword [edi - 8], ecx
cmovne ecx, eax
mov eax, dword [esi + 0x12e0]
add eax, ecx
inc edx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov eax, dword [edi]
mov dword [edi + 4], eax
mov dword [edi + 0x18], 0
add edi, 0x30
mov dword [esp + 0x10], edx
mov dword [ebp], 0
mov dword [esi + 0x1318], 0
cmp edx, dword [esp + 0x30]
jae 0x602963
cmp dword [ebx - 4], 0x17
jne 0x602963
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x64]
test byte [eax + 0x30], 1
je 0x602963
mov eax, dword [esi + 0x724]
test eax, eax
je 0x602963
push eax
call fcn.004b7190
push eax
call fcn.004ae9c0
add esp, 8
test eax, 0x800000
je 0x60295f
push esi
call fcn.006032c0
add esp, 4
test eax, eax
je 0x60295f
mov ecx, dword [esp + 0x10]
jmp 0x6024f9
call fcn.004bef90
push str.ssl3_get_record
push 0x111
push 0x6d6ec0
call fcn.004bf090
push 0
push 0xc6
push 0x16
jmp 0x603294
xor eax, ebx
test eax, 0xff00
jne 0x6028ea
cmp dword [esi + 0x744], 0
jne 0x6028ea
cmp dword [esi + 0x758], 0
jne 0x6028ea
mov eax, dword [esp + 0x1c]
cmp dword [eax - 4], 0x15
jne 0x6028e8
call fcn.004bef90
push str.ssl3_get_record
push 0x143
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x10b
push 0xffffffffffffffff
jmp 0x603294
mov dword [esi], ebx
call fcn.004bef90
push str.ssl3_get_record
push 0x14c
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x10b
push 0x46
jmp 0x603294
call fcn.004bef90
push str.ssl3_get_record
push 0x174
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x1bb
push 0xa
jmp 0x603294
call fcn.004bef90
push str.ssl3_get_record
push 0x179
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x10b
push 0x32
jmp 0x603294
mov edx, dword [esp + 0x10]
cmp edx, 1
jne 0x602a4f
cmp dword [ebx - 4], 0x14
jne 0x602a4f
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x602992
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x602992
cmp eax, 0x10000
jne 0x60299f
cmp dword [esi + 0x7a4], 0
je 0x602a4f
cmp dword [esi + 0x1fc], 0
je 0x6029b5
cmp dword [esi + 0x280], 0
jne 0x602a4f
cmp dword [ebx], 1
jne 0x602a28
mov eax, dword [ebx + 0xc]
cmp byte [eax], 1
jne 0x602a28
mov dword [ebx - 4], 0x16
inc dword [esi + 0x12f4]
cmp dword [esi + 0x12f4], 0x20
jbe 0x6029ff
call fcn.004bef90
push str.ssl3_get_record
push 0x1fc
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x106
push 0xa
jmp 0x603294
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.0060f4a4
add esp, 0x6c
ret
call fcn.004bef90
push str.ssl3_get_record
push 0x1f0
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x104
push 0x2f
jmp 0x603294
mov eax, dword [esi + 0x738]
test eax, eax
je 0x602a9f
push eax
call fcn.004b7190
add esp, 4
test eax, eax
je 0x602aa3
push eax
call fcn.004cd7c0
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
cmp ebp, 0x40
jbe 0x602aa5
call fcn.004bef90
push str.ssl3_get_record
push 0x212
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x80006
jmp 0x603292
xor ebp, ebp
jmp 0x602aa9
xor ebp, ebp
mov edx, dword [esp + 0x10]
test dword [esi + 0x7c], 0x100
je 0x602c06
cmp dword [esi + 0x738], 0
je 0x602c06
xor ebx, ebx
test edx, edx
je 0x602b2d
mov edi, dword [esp + 0x24]
nop dword [eax]
mov eax, dword [edi]
cmp eax, ebp
jb 0x602bf2
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 0x602bcb
push dword [esp + 0x18]
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.00401390
add esp, 0xc
test eax, eax
jne 0x602bcb
mov ebp, dword [esp + 0x18]
inc ebx
add edi, 0x30
cmp ebx, dword [esp + 0x10]
jb 0x602ad0
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, dword [esi + 4]
lea ebx, [esi + 0xce0]
mov edi, dword [esp + 0x20]
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 0x602c89
push esi
call fcn.005ddc50
mov ebp, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x602d75
cmp ebp, 1
jne 0x602c59
push esi
call fcn.005ddcf0
add esp, 4
test eax, eax
je 0x602c59
push 0
push 0x68
push dword [ebx + 8]
push esi
call fcn.00601d30
add esp, 0x10
test eax, eax
je 0x602d75
mov dword [ebx + 8], 0
mov dword [ebx + 0x20], ebp
mov dword [esi + 0x9c0], ebp
add esi, 0x9b4
push esi
call fcn.005dea90
add esp, 4
mov ebx, ebp
jmp 0x602d78
call fcn.004bef90
push str.ssl3_get_record
push 0x22c
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x119
push 0x14
jmp 0x603294
call fcn.004bef90
push str.ssl3_get_record
push 0x224
jmp 0x6025ee
test ebp, ebp
je 0x602b33
push 0x238
lea eax, [edx*8]
push 0x6d6ec0
push eax
call fcn.004a1d50
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
jne 0x602b33
call fcn.004bef90
push str.ssl3_get_record
push 0x23a
push 0x6d6ec0
call fcn.004bf090
push 0
push 0xc0100
jmp 0x603292
call fcn.004bef90
push str.ssl3_get_record
push 0x262
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x119
push 0x14
push esi
call fcn.005ddbf0
add esp, 0x1c
jmp 0x602d75
cmp dword [esp + 0x34], 0
je 0x602dd3
cmp dword [esi + 0x724], 0
je 0x602dd3
test dword [esi + 0x7c], 0x100
jne 0x602dd3
push dword [esi + 0x738]
call fcn.004b7190
add esp, 4
test eax, eax
je 0x602dd3
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x602dd3
mov dword [esp + 0x1c], ecx
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 0x602d0f
test edi, edi
je 0x602d0f
mov eax, dword [edi]
test eax, eax
je 0x602d0f
push dword [esp + 0x18]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00401390
add esp, 0xc
test eax, eax
je 0x602d11
xor ebp, ebp
mov ecx, dword [esp + 0x18]
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 + 0x1c], 1
jne 0x602cd4
test ebp, ebp
jne 0x602dd3
push esi
call fcn.005ddc50
add esp, 4
test eax, eax
jne 0x602d71
call fcn.004bef90
push str.ssl3_get_record
push 0x28a
push 0x6d6ec0
call fcn.004bf090
push ebp
push 0x119
push 0x14
push esi
call fcn.005ddbf0
add esp, 0x1c
mov ebp, dword [esp + 0x10]
or ebx, 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x602dbe
xor esi, esi
test ebp, ebp
je 0x602dab
cmp dword [eax + esi*8 + 4], 0
je 0x602da6
push 0x2fd
push 0x6d6ec0
push dword [eax + esi*8]
call fcn.004a1af0
mov eax, dword [esp + 0x2c]
add esp, 0xc
inc esi
cmp esi, ebp
jb 0x602d86
push 0x2ff
push 0x6d6ec0
push eax
call fcn.004a1af0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0060f4a4
add esp, 0x6c
ret
mov ebp, dword [esp + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x602f7b
lea edi, [esi + 0xce0]
cmp dword [esi + 0x740], 0
je 0x602e0f
cmp dword [edi + 8], 0x4400
ja 0x602fe2
push edi
push esi
call fcn.006021b0
add esp, 8
test eax, eax
je 0x602fb5
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x602eac
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x602eac
cmp eax, 0x10000
je 0x602eac
cmp dword [esi + 0x724], 0
je 0x602eac
mov eax, dword [edi + 4]
cmp eax, 0x15
je 0x602eac
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x603042
cmp eax, 0x17
jne 0x603042
add ecx, 0xffffffff
je 0x602e6b
mov eax, dword [edi + 0x14]
cmp byte [eax + ecx], 0
jne 0x602e6b
sub ecx, 1
jne 0x602e60
mov dword [edi + 8], ecx
add ecx, dword [edi + 0x14]
movzx eax, byte [ecx]
mov dword [edi + 4], eax
cmp eax, 0x17
je 0x602e8a
cmp eax, 0x15
je 0x602e8a
cmp eax, 0x16
jne 0x603012
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x602eac
push dword [esi + 0x3e0]
push esi
push 1
push ecx
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 0x602edf
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x602edf
cmp eax, 0x10000
je 0x602edf
mov eax, dword [edi + 4]
cmp eax, 0x16
je 0x602ed5
cmp eax, 0x15
jne 0x602edf
cmp dword [edi + 8], 0
je 0x603072
mov edx, dword [edi + 8]
cmp edx, 0x4000
ja 0x6030d2
mov eax, dword [esi + 0x7cc]
test eax, eax
je 0x602f18
mov cl, byte [eax + 0x2fc]
lea eax, [ecx - 1]
cmp al, 3
ja 0x602f18
movzx ecx, cl
mov eax, 0x200
dec ecx
shl eax, cl
cmp edx, eax
ja 0x6030a2
mov dword [edi + 0x10], 0
test edx, edx
jne 0x602f65
mov eax, dword [esi + 0x12f4]
inc eax
mov dword [esi + 0x12f4], eax
cmp eax, 0x20
jbe 0x602f6f
call fcn.004bef90
push str.ssl3_get_record
push 0x2e6
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x12a
push 0xa
push esi
call fcn.005ddbf0
add esp, 0x1c
jmp 0x602d75
mov dword [esi + 0x12f4], 0
inc ebx
add edi, 0x30
cmp ebx, ebp
jb 0x602de7
cmp dword [esi + 0x68], 0xb
jne 0x602fa5
cmp dword [esi + 0xce4], 0x17
jne 0x602fa5
mov eax, dword [esp + 0x24]
push 0
push 0
push dword [eax]
push esi
call fcn.00601d30
add esp, 0x10
test eax, eax
je 0x602d75
mov dword [esi + 0x9c0], ebp
mov ebx, 1
jmp 0x602d78
call fcn.004bef90
push str.ssl3_get_record
push 0x29c
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x6b
push 0x1e
push esi
call fcn.005ddbf0
add esp, 0x1c
jmp 0x602d75
call fcn.004bef90
push str.ssl3_get_record
push 0x297
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x8c
push 0x16
push esi
call fcn.005ddbf0
add esp, 0x1c
jmp 0x602d75
call fcn.004bef90
push str.ssl3_get_record
push 0x2b6
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x1bb
push 0xa
push esi
call fcn.005ddbf0
add esp, 0x1c
jmp 0x602d75
call fcn.004bef90
push str.ssl3_get_record
push 0x2a8
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x1bb
push 0xa
push esi
call fcn.005ddbf0
add esp, 0x1c
jmp 0x602d75
call fcn.004bef90
push str.ssl3_get_record
push 0x2c6
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x10f
push 0xa
push esi
call fcn.005ddbf0
add esp, 0x1c
jmp 0x602d75
call fcn.004bef90
push str.ssl3_get_record
push 0x2d4
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x92
push 0x16
push esi
call fcn.005ddbf0
add esp, 0x1c
jmp 0x602d75
call fcn.004bef90
push str.ssl3_get_record
push 0x2cc
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x92
push 0x16
push esi
call fcn.005ddbf0
add esp, 0x1c
jmp 0x602d75
call fcn.004bef90
push str.ssl3_get_record
push 0x19d
jmp 0x602763
call fcn.004bef90
push str.ssl3_get_record
push 0x181
jmp 0x602884
cmp dword [esi + 0x1318], 0
je 0x603207
mov edi, dword [esi + 0x12e0]
push 4
push str.GET
push edi
call fcn.0061bce0
add esp, 0xc
test eax, eax
je 0x6031e0
push 5
push str.POST
push edi
call fcn.0061bce0
add esp, 0xc
test eax, eax
je 0x6031e0
push 5
push str.HEAD
push edi
call fcn.0061bce0
add esp, 0xc
test eax, eax
je 0x6031e0
push 4
push str.PUT
push edi
call fcn.0061bce0
add esp, 0xc
test eax, eax
je 0x6031e0
push 5
push str.CONNE
push edi
call fcn.0061bce0
add esp, 0xc
test eax, eax
jne 0x6031cc
call fcn.004bef90
push str.ssl3_get_record
push 0x15d
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x9b
push 0xffffffffffffffff
jmp 0x603294
call fcn.004bef90
push str.ssl3_get_record
push 0x163
jmp 0x6028d0
call fcn.004bef90
push str.ssl3_get_record
push 0x159
push 0x6d6ec0
call fcn.004bf090
push 0
push 0x9c
push 0xffffffffffffffff
jmp 0x603294
call fcn.004bef90
push str.ssl3_get_record
push 0x167
jmp 0x6028f9
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x60323d
push dword [esi + 0x3e0]
push esi
push 5
push edx
push 0x100
push 0
push 0
call eax
add esp, 0x1c
call fcn.004bef90
push str.ssl3_get_record
push 0x123
push 0x6d6ec0
call fcn.004bf090
push 0
push 0xc0103
push 0x32
jmp 0x603294
call fcn.004bef90
push str.ssl3_get_record
push 0xf7
jmp 0x60324c
call fcn.004bef90
push str.ssl3_get_record
push 0xf1
push 0x6d6ec0
call fcn.004bf090
push 0
push 0xc0103
push 0x50
push esi
call fcn.005ddbf0
add esp, 0x1c
or eax, 0xffffffff
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0060f4a4
add esp, 0x6c
ret