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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x624055
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 0x4b5c1e
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x4b63fb
cmp dword [ebx + 0x90], 3
mov dword [ebx + 0xb4], ecx
mov dword [ebx + 0xb8], eax
jne 0x4b5c3b
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
jmp 0x4b5c14
mov edi, dword [ebx]
add edi, ecx
cmp dword [ebx + 0x90], 0
jne 0x4b5efe
mov ecx, edi
cmp edi, eax
je 0x4b6311
cmp byte [ecx], 0xa
je 0x4b5c60
inc ecx
cmp ecx, eax
jne 0x4b5c56
cmp ecx, eax
je 0x4b6311
cmp ecx, edi
je 0x4b6333
lea eax, [ecx - 1]
cmp byte [eax], 0xd
mov dword [esp + 0x14], ecx
jne 0x4b5c80
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.0043c37c
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.00403843
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0xf8]
call fcn.00403762
push 5
push edi
lea eax, [esp + 0x130]
push eax
mov ecx, esi
call fcn.00403f9d
mov dword [esp + 0x214], 1
push str.HTTP_
mov esi, eax
call fcn.00427659
pop ecx
mov byte [esp + 0x10], al
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x130]
call fcn.00403762
cmp byte [esp + 0x10], 0
je 0x4b5dda
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1b4]
push 0x20
push eax
lea esi, [esp + 0x20]
call fcn.0043c37c
pop ecx
pop ecx
mov dword [esp + 0x214], 2
cmp dword [eax + 0x18], 0x10
jb 0x4b5d67
mov eax, dword [eax + 4]
jmp 0x4b5d6a
add eax, 4
push eax
call fcn.005b5b0f
pop ecx
mov dword [ebx + 4], eax
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x1bc]
call fcn.00403762
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x160]
push 0xd
push eax
lea esi, [esp + 0x20]
call fcn.0043c37c
pop ecx
pop ecx
mov dword [esp + 0x214], 3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x5c]
call fcn.00403843
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x168]
call fcn.00403762
jmp 0x4b5ee2
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x40]
lea esi, [ebx + 8]
push eax
mov ecx, esi
call fcn.00403843
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call fcn.0040949e
mov dword [esp + 0x28], eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call fcn.004094be
mov dword [esp + 0x34], eax
lea eax, [esp + 0x9c]
push eax
mov ecx, esi
call fcn.0040949e
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.004b6a1f
add esp, 0x18
lea eax, [ebx + 0x40]
push eax
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], edi
call fcn.004093c8
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10c]
push 0x20
push eax
lea esi, [esp + 0x20]
call fcn.0043c37c
pop ecx
pop ecx
mov dword [esp + 0x214], 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x24]
call fcn.00403843
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x114]
call fcn.00403762
lea eax, [esp + 0x144]
push 0x20
push eax
call fcn.0043c37c
pop ecx
pop ecx
mov dword [esp + 0x214], 5
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [ebx + 0x40]
call fcn.00403843
or dword [esp + 0x214], 0xffffffff
push esi
push 1
lea ecx, [esp + 0x14c]
call fcn.00403762
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 0x4b6384
mov esi, edi
cmp edi, eax
je 0x4b5f1b
cmp byte [esi], 0xa
je 0x4b5f1b
inc esi
cmp esi, eax
jne 0x4b5f11
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
call fcn.00403827
mov dword [esp + 0x214], 6
cmp esi, dword [ebp + 0x14]
je 0x4b635e
cmp dword [ebx + 0x90], 1
jne 0x4b635e
mov dword [esp + 0x1c], esi
cmp edi, esi
je 0x4b5f63
lea eax, [esi - 1]
cmp byte [eax], 0xd
jne 0x4b5f63
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x3c]
call fcn.004094be
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.0040949e
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.004b661e
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.00404197
mov edi, eax
cmp edi, 0xffffffff
je 0x4b62df
push edi
push 0
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x44]
call fcn.00403f9d
mov byte [esp + 0x214], 7
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040949e
mov esi, eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x7c]
call fcn.004094be
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040949e
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.004b6a1f
add esp, 0x18
jmp 0x4b6075
push edi
lea ecx, [esp + 0x3c]
call fcn.00408d8b
cmp byte [eax], 0x20
je 0x4b6075
push edi
lea ecx, [esp + 0x3c]
call fcn.00408d8b
cmp byte [eax], 9
jne 0x4b607c
inc edi
cmp edi, dword [esp + 0x4c]
jb 0x4b6057
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x44]
call fcn.00403f9d
mov byte [esp + 0x214], 8
sub esp, 0x1c
lea eax, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004038d5
mov byte [esp + 0x230], 9
sub esp, 0x1c
lea eax, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
call fcn.004038d5
mov byte [esp + 0x24c], 0xa
lea eax, [esp + 0x208]
push eax
mov byte [esp + 0x250], 8
call fcn.004b6a6d
add esp, 0x3c
mov esi, eax
mov byte [esp + 0x214], 0xb
push esi
lea ecx, [esp + 0x180]
call fcn.004038d5
mov byte [esp + 0x214], 0xc
add esi, 0x1c
push esi
lea ecx, [esp + 0x19c]
call fcn.004038d5
mov byte [esp + 0x214], 0xe
lea eax, [esp + 0x17c]
push eax
lea eax, [ebx + 0x94]
push eax
lea edi, [esp + 0xec]
call fcn.004b655e
mov byte [esp + 0x214], 0xb
lea eax, [esp + 0x17c]
push eax
call fcn.004718e6
mov byte [esp + 0x214], 8
lea eax, [esp + 0x1d0]
push eax
call fcn.004718e6
push str.content_length
lea esi, [esp + 0x7c]
call fcn.00427659
pop ecx
test al, al
je 0x4b619c
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4b6184
lea eax, [esp + 0x60]
push 0xa
push 0
push eax
call fcn.005ba868
add esp, 0xc
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], edx
jmp 0x4b6290
push str.content_range
lea esi, [esp + 0x7c]
call fcn.00427659
pop ecx
test al, al
je 0x4b6290
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4b61c2
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.0043c20d
pop ecx
push edx
mov byte [esp + 0x14], al
call fcn.0043c20d
pop ecx
mov cl, byte [esp + 0x10]
cmp al, cl
jne 0x4b61ff
inc esi
mov dl, byte [esi]
test dl, dl
jne 0x4b61d5
add dword [esp + 0x14], 6
push 0xa
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x1c]
call fcn.005ba868
mov dword [ebx + 0x80], eax
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [ebx + 0x84], edx
cmp eax, dword [esp + 0x14]
je 0x4b6419
cmp byte [eax], 0x2d
jne 0x4b6419
lea esi, [eax + 1]
push 0xa
lea eax, [esp + 0x34]
push eax
push esi
call fcn.005ba868
add esp, 0xc
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], edx
cmp dword [esp + 0x30], esi
je 0x4b6419
mov esi, dword [ebx + 0x80]
mov ecx, eax
mov eax, edx
mov edx, dword [ebx + 0x84]
cmp eax, edx
jl 0x4b6419
jg 0x4b6280
cmp ecx, esi
jb 0x4b6419
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 0x4b629c
cmp byte [eax], 0xa
je 0x4b62a1
inc eax
cmp eax, dword [ebp + 0x14]
jne 0x4b6296
mov dword [esp + 0x18], eax
mov byte [esp + 0x214], 7
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.00403762
mov byte [esp + 0x214], 6
push 0
push 1
lea ecx, [esp + 0x80]
call fcn.00403762
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x4b5f39
cmp dword [ebx + 4], 0x64
jne 0x4b6348
and dword [ebx + 0x90], 0
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.00403762
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
jmp 0x4b5c3f
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 0x4b63ff
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x90], 3
mov byte [eax], 1
jmp 0x4b63f2
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.00403762
mov eax, dword [ebp + 0x14]
cmp dword [ebx + 0x90], 2
jne 0x4b63f2
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 0x4b63c5
jg 0x4b63ae
cmp eax, dword [ebx + 0x78]
jbe 0x4b63c5
test edi, edi
jl 0x4b63c5
jg 0x4b63ba
cmp dword [ebx + 0x78], 0
jb 0x4b63c5
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 0x4b63f2
jg 0x4b63d9
cmp dword [ebx + 0x78], 0
jb 0x4b63f2
sub eax, dword [ebx + 0xbc]
cdq
cmp edx, edi
jl 0x4b63f2
jg 0x4b63eb
cmp eax, dword [ebx + 0x78]
jb 0x4b63f2
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.00403762
mov byte [esp + 0x214], 6
push edi
push 1
lea ecx, [esp + 0x80]
call fcn.00403762
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00403762
mov eax, esi
jmp 0x4b6402