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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62162e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0xb8]
sub edx, dword [ebx + 0xb4]
push esi
push edi
mov edi, eax
xor esi, esi
sub edi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
cmp edx, edi
jne 0x4b5d05
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x4b64e2
cmp dword [ebx + 0x90], 3
mov dword [ebx + 0xb4], ecx
mov dword [ebx + 0xb8], eax
jne 0x4b5d22
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
jmp 0x4b5cfb
mov edi, dword [ebx]
add edi, ecx
cmp dword [ebx + 0x90], 0
jne 0x4b5fe5
mov ecx, edi
cmp edi, eax
je 0x4b63f8
cmp byte [ecx], 0xa
je 0x4b5d47
inc ecx
cmp ecx, eax
jne 0x4b5d3d
cmp ecx, eax
je 0x4b63f8
cmp ecx, edi
je 0x4b641a
lea eax, [ecx - 1]
cmp byte [eax], 0xd
mov dword [esp + 0x14], ecx
jne 0x4b5d67
mov dword [esp + 0x14], eax
inc ecx
mov eax, ecx
sub eax, edi
add dword [ebx], eax
mov eax, ecx
sub eax, edx
sub eax, dword [ebx + 0xb4]
mov dword [esp + 0x18], edi
add dword [esp + 0x24], eax
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xf0]
push 0x20
push eax
lea esi, [esp + 0x20]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], ecx
call fcn.0043c506
pop ecx
pop ecx
xor edi, edi
mov dword [esp + 0x214], edi
push 0xffffffffffffffff
push edi
lea esi, [ebx + 0x40]
push eax
mov ecx, esi
call fcn.00403c48
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0xf8]
call fcn.00403b67
push 5
push edi
lea eax, [esp + 0x130]
push eax
mov ecx, esi
call fcn.0040439f
mov dword [esp + 0x214], 1
push str.HTTP_
mov esi, eax
call fcn.004274ae
pop ecx
mov byte [esp + 0x10], al
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x130]
call fcn.00403b67
cmp byte [esp + 0x10], 0
je 0x4b5ec1
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1b4]
push 0x20
push eax
lea esi, [esp + 0x20]
call fcn.0043c506
pop ecx
pop ecx
mov dword [esp + 0x214], 2
cmp dword [eax + 0x18], 0x10
jb 0x4b5e4e
mov eax, dword [eax + 4]
jmp 0x4b5e51
add eax, 4
push eax
call fcn.005b38ec
pop ecx
mov dword [ebx + 4], eax
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x1bc]
call fcn.00403b67
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x160]
push 0xd
push eax
lea esi, [esp + 0x20]
call fcn.0043c506
pop ecx
pop ecx
mov dword [esp + 0x214], 3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x5c]
call fcn.00403c48
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x168]
call fcn.00403b67
jmp 0x4b5fc9
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x40]
lea esi, [ebx + 8]
push eax
mov ecx, esi
call fcn.00403c48
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call fcn.0040990a
mov dword [esp + 0x28], eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call fcn.0040992a
mov dword [esp + 0x34], eax
lea eax, [esp + 0x9c]
push eax
mov ecx, esi
call fcn.0040990a
mov ecx, dword [esp + 0x28]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x3c]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xbc]
call fcn.004b6b42
add esp, 0x18
lea eax, [ebx + 0x40]
push eax
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], edi
call fcn.00409834
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10c]
push 0x20
push eax
lea esi, [esp + 0x20]
call fcn.0043c506
pop ecx
pop ecx
mov dword [esp + 0x214], 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x24]
call fcn.00403c48
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x114]
call fcn.00403b67
lea eax, [esp + 0x144]
push 0x20
push eax
call fcn.0043c506
pop ecx
pop ecx
mov dword [esp + 0x214], 5
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [ebx + 0x40]
call fcn.00403c48
or dword [esp + 0x214], 0xffffffff
push esi
push 1
lea ecx, [esp + 0x14c]
call fcn.00403b67
mov dword [ebx + 4], esi
mov eax, dword [esp + 0x2c]
sub eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x90], 1
cmp dword [ebx + 0x90], 1
jne 0x4b646b
mov esi, edi
cmp edi, eax
je 0x4b6002
cmp byte [esi], 0xa
je 0x4b6002
inc esi
cmp esi, eax
jne 0x4b5ff8
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
call fcn.00403c2c
mov dword [esp + 0x214], 6
cmp esi, dword [ebp + 0x14]
je 0x4b6445
cmp dword [ebx + 0x90], 1
jne 0x4b6445
mov dword [esp + 0x1c], esi
cmp edi, esi
je 0x4b604a
lea eax, [esi - 1]
cmp byte [eax], 0xd
jne 0x4b604a
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040992a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x54], ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.0040990a
push dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push edi
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [eax + 4]
push dword [eax]
call fcn.004b6741
inc esi
mov eax, esi
sub eax, edi
add dword [ebx], eax
push 1
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x1c], 0x3a
call fcn.0040458e
mov edi, eax
cmp edi, 0xffffffff
je 0x4b63c6
push edi
push 0
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x44]
call fcn.0040439f
mov byte [esp + 0x214], 7
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040990a
mov esi, eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040992a
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040990a
push dword [esi + 4]
mov ecx, dword [esp + 0x30]
push dword [esi]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xcc]
call fcn.004b6b42
add esp, 0x18
jmp 0x4b615c
push edi
lea ecx, [esp + 0x3c]
call fcn.00405547
cmp byte [eax], 0x20
je 0x4b615c
push edi
lea ecx, [esp + 0x3c]
call fcn.00405547
cmp byte [eax], 9
jne 0x4b6163
inc edi
cmp edi, dword [esp + 0x4c]
jb 0x4b613e
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x44]
call fcn.0040439f
mov byte [esp + 0x214], 8
sub esp, 0x1c
lea eax, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00403cda
mov byte [esp + 0x230], 9
sub esp, 0x1c
lea eax, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
call fcn.00403cda
mov byte [esp + 0x24c], 0xa
lea eax, [esp + 0x208]
push eax
mov byte [esp + 0x250], 8
call fcn.004b6b90
add esp, 0x3c
mov esi, eax
mov byte [esp + 0x214], 0xb
push esi
lea ecx, [esp + 0x180]
call fcn.00403cda
mov byte [esp + 0x214], 0xc
add esi, 0x1c
push esi
lea ecx, [esp + 0x19c]
call fcn.00403cda
mov byte [esp + 0x214], 0xe
lea eax, [esp + 0x17c]
push eax
lea eax, [ebx + 0x94]
push eax
lea edi, [esp + 0xec]
call fcn.004b6681
mov byte [esp + 0x214], 0xb
lea eax, [esp + 0x17c]
push eax
call fcn.004b6565
mov byte [esp + 0x214], 8
lea eax, [esp + 0x1d0]
push eax
call fcn.004b6565
push str.content_length
lea esi, [esp + 0x7c]
call fcn.004274ae
pop ecx
test al, al
je 0x4b6283
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4b626b
lea eax, [esp + 0x60]
push 0xa
push 0
push eax
call fcn.005b83e1
add esp, 0xc
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], edx
jmp 0x4b6377
push str.content_range
lea esi, [esp + 0x7c]
call fcn.004274ae
pop ecx
test al, al
je 0x4b6377
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4b62a9
lea eax, [esp + 0x60]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x14]
mov eax, str.bytes
mov esi, eax
mov dl, 0x62
sub edi, eax
movzx eax, byte [esi + edi]
push eax
call fcn.0043c397
pop ecx
push edx
mov byte [esp + 0x14], al
call fcn.0043c397
pop ecx
mov cl, byte [esp + 0x10]
cmp al, cl
jne 0x4b62e6
inc esi
mov dl, byte [esi]
test dl, dl
jne 0x4b62bc
add dword [esp + 0x14], 6
push 0xa
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x1c]
call fcn.005b83e1
mov dword [ebx + 0x80], eax
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [ebx + 0x84], edx
cmp eax, dword [esp + 0x14]
je 0x4b6500
cmp byte [eax], 0x2d
jne 0x4b6500
lea esi, [eax + 1]
push 0xa
lea eax, [esp + 0x34]
push eax
push esi
call fcn.005b83e1
add esp, 0xc
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], edx
cmp dword [esp + 0x30], esi
je 0x4b6500
mov esi, dword [ebx + 0x80]
mov ecx, eax
mov eax, edx
mov edx, dword [ebx + 0x84]
cmp eax, edx
jl 0x4b6500
jg 0x4b6367
cmp ecx, esi
jb 0x4b6500
sub ecx, esi
sbb eax, edx
add ecx, 1
adc eax, 0
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x7c], eax
mov eax, dword [esp + 0x18]
jmp 0x4b6383
cmp byte [eax], 0xa
je 0x4b6388
inc eax
cmp eax, dword [ebp + 0x14]
jne 0x4b637d
mov dword [esp + 0x18], eax
mov byte [esp + 0x214], 7
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.00403b67
mov byte [esp + 0x214], 6
push 0
push 1
lea ecx, [esp + 0x80]
call fcn.00403b67
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x4b6020
cmp dword [ebx + 4], 0x64
jne 0x4b642f
and dword [ebx + 0x90], 0
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.00403b67
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
jmp 0x4b5d26
mov eax, dword [ebx + 0xb8]
sub eax, dword [ebx + 0xb4]
mov ecx, dword [esp + 0x24]
sub eax, edx
mov edx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
jmp 0x4b64e6
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x90], 3
mov byte [eax], 1
jmp 0x4b64d9
mov eax, dword [ebx]
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x90], 2
mov dword [ebx + 0xbc], eax
sub esi, dword [esp + 0x28]
sub esi, dword [ebx + 0xb4]
add dword [esp + 0x24], esi
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.00403b67
mov eax, dword [ebp + 0x14]
cmp dword [ebx + 0x90], 2
jne 0x4b64d9
mov esi, dword [ebx]
mov edx, dword [ebx + 0xbc]
sub eax, edi
mov edi, dword [ebx + 0x7c]
mov ecx, eax
mov eax, esi
sub eax, edx
add eax, ecx
cdq
cmp edx, edi
jl 0x4b64ac
jg 0x4b6495
cmp eax, dword [ebx + 0x78]
jbe 0x4b64ac
test edi, edi
jl 0x4b64ac
jg 0x4b64a1
cmp dword [ebx + 0x78], 0
jb 0x4b64ac
mov ecx, dword [ebx + 0xbc]
sub ecx, esi
add ecx, dword [ebx + 0x78]
add dword [ebx], ecx
mov eax, dword [ebx]
mov dword [esp + 0x20], ecx
test edi, edi
jl 0x4b64d9
jg 0x4b64c0
cmp dword [ebx + 0x78], 0
jb 0x4b64d9
sub eax, dword [ebx + 0xbc]
cdq
cmp edx, edi
jl 0x4b64d9
jg 0x4b64d2
cmp eax, dword [ebx + 0x78]
jb 0x4b64d9
mov byte [ebx + 0xc0], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x90], 3
mov byte [eax], 1
mov eax, dword [esp + 0x20]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 4], eax
mov byte [esp + 0x214], 7
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x64]
call fcn.00403b67
mov byte [esp + 0x214], 6
push edi
push 1
lea ecx, [esp + 0x80]
call fcn.00403b67
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00403b67
mov eax, esi
jmp 0x4b64e9