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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc4865b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
mov eax, dword [0xc57104]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x154], ecx
lea eax, [ebp - 0xbd]
mov dword [ebp - 0xbc], eax
push 0
push 0
lea ecx, [ebp - 0x54]
call fcn.00c01f20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc9]
mov dword [ebp - 0xc8], ecx
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.00c01f20
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00c332d0
add esp, 4
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x58
call fcn.00c01c50
mov eax, dword [0xc4b560]
push eax
push 0
mov ecx, dword [ebp + 0xc]
add ecx, 0x58
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x3c
call fcn.00c01b30
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x8c]
call fcn.00c01920
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x154]
add ecx, 4
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 4]
call dword [eax + 8]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x6d], al
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x8c]
call fcn.00c01f20
movzx ecx, byte [ebp - 0x6d]
test ecx, ecx
je 0xc0cb67
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00c01f20
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00c01f20
mov eax, dword [ebp - 0x90]
jmp 0xc0cf28
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x60], 0xc8
cmp dword [ebp - 0x3c], 0x10
jb 0xc0cb86
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x158], edx
jmp 0xc0cb8f
lea eax, [ebp - 0x50]
mov dword [ebp - 0x158], eax
push 0
push 0
push 0
push 0
push 3
mov cx, word [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x158]
push edx
mov ecx, dword [ebp - 0x154]
add ecx, 4
mov eax, dword [ebp - 0x154]
mov edx, dword [eax + 4]
call dword [edx + 4]
test eax, eax
jne 0xc0cbf6
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00c01f20
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00c01f20
mov eax, dword [ebp - 0x94]
jmp 0xc0cf28
mov dword [ebp - 0x18], 0
jmp 0xc0cc08
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 5
jge 0xc0cc64
cmp dword [ebp - 0x20], 0x10
jb 0xc0cc1f
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x15c], ecx
jmp 0xc0cc28
lea edx, [ebp - 0x34]
mov dword [ebp - 0x15c], edx
push 0
push 0x84400100
push str.HTTP_1.0
push 0
push 0xc4b8dc
push 0
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x154]
add ecx, 4
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 4]
call dword [eax + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0xc0cc64
jmp 0xc0cbff
cmp dword [ebp - 0x18], 5
jne 0xc0cca2
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00c01f20
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00c01f20
mov eax, dword [ebp - 0x98]
jmp 0xc0cf28
mov dword [ebp - 0x18], 0
jmp 0xc0ccb4
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 5
jge 0xc0cd52
push 0
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x9c], esp
push 0xc4b60c
call fcn.00c01920
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
call dword [eax + 0x1c]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jne 0xc0cd2f
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00c01f20
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00c01f20
mov eax, dword [ebp - 0xa0]
jmp 0xc0cf28
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
call dword [eax + 0x18]
test eax, eax
je 0xc0cd4d
cmp dword [ebp - 0x60], 0xc8
jne 0xc0cd4d
jmp 0xc0cd52
jmp 0xc0ccab
cmp dword [ebp - 0x18], 5
jne 0xc0cd90
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00c01f20
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00c01f20
mov eax, dword [ebp - 0xa4]
jmp 0xc0cf28
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
call dword [edx + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0xc]
add eax, 0x58
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
cmp dword [ecx + 0x18], 0x10
jb 0xc0cdca
mov edx, dword [ebp - 0x100]
mov eax, dword [edx + 4]
mov dword [ebp - 0x168], eax
jmp 0xc0cdd9
mov ecx, dword [ebp - 0x100]
add ecx, 4
mov dword [ebp - 0x168], ecx
lea edx, [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x74]
call fcn.00c1fc90
mov dword [ebp - 0x5c], 0x2000
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x14], 0
mov edx, 1
test edx, edx
je 0xc0cef5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x74]
mov edx, dword [ecx + 0x140]
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0
je 0xc0ce67
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00c01f20
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00c01f20
mov eax, dword [ebp - 0xac]
jmp 0xc0cf28
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x78]
push edx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [edx + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x58], 0
jne 0xc0ce9f
jmp 0xc0cef5
mov dword [ebp - 0xb0], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x130], edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x28
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
call dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
add edx, dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x74]
call fcn.00c0cf50
jmp 0xc0ce07
mov dword [ebp - 0xb4], 1
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00c01f20
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00c01f20
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00c32666
mov esp, ebp
pop ebp
ret 8