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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d8e19
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 + 0x14], edx
cmp edx, edi
jne 0x4b429f
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x4b4a78
cmp dword [ebx + 0x90], 3
mov dword [ebx + 0xb4], ecx
mov dword [ebx + 0xb8], eax
jne 0x4b42bc
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
jmp 0x4b4295
mov edi, dword [ebx]
add edi, ecx
cmp dword [ebx + 0x90], 0
jne 0x4b457f
mov ecx, edi
cmp edi, eax
je 0x4b498e
cmp byte [ecx], 0xa
je 0x4b42e1
inc ecx
cmp ecx, eax
jne 0x4b42d7
cmp ecx, eax
je 0x4b498e
cmp ecx, edi
je 0x4b49b0
lea eax, [ecx - 1]
cmp byte [eax], 0xd
mov dword [esp + 0x14], ecx
jne 0x4b4301
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 + 0x30], ecx
mov dword [esp + 0x24], ecx
call fcn.0043a227
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.004035dd
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0xf8]
call fcn.004034fc
push 5
push edi
lea eax, [esp + 0x130]
push eax
mov ecx, esi
call fcn.00404164
mov dword [esp + 0x214], 1
push str.HTTP_
mov esi, eax
call fcn.00425080
pop ecx
mov byte [esp + 0x10], al
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x130]
call fcn.004034fc
cmp byte [esp + 0x10], 0
je 0x4b445b
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1b4]
push 0x20
push eax
lea esi, [esp + 0x20]
call fcn.0043a227
pop ecx
pop ecx
mov dword [esp + 0x214], 2
cmp dword [eax + 0x18], 0x10
jb 0x4b43e8
mov eax, dword [eax + 4]
jmp 0x4b43eb
add eax, 4
push eax
call fcn.00574fbc
pop ecx
mov dword [ebx + 4], eax
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x1bc]
call fcn.004034fc
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x160]
push 0xd
push eax
lea esi, [esp + 0x20]
call fcn.0043a227
pop ecx
pop ecx
mov dword [esp + 0x214], 3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x5c]
call fcn.004035dd
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x168]
call fcn.004034fc
jmp 0x4b4563
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x40]
lea esi, [ebx + 8]
push eax
mov ecx, esi
call fcn.004035dd
lea eax, [esp + 0xac]
push eax
mov eax, esi
call fcn.00409660
mov dword [esp + 0x50], eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call fcn.00409680
mov dword [esp + 0x30], eax
lea eax, [esp + 0x9c]
push eax
mov eax, esi
call fcn.00409660
mov ecx, dword [esp + 0x50]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x38]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xbc]
call fcn.004b5089
add esp, 0x18
lea eax, [ebx + 0x40]
push eax
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], edi
call fcn.00409554
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10c]
push 0x20
push eax
lea esi, [esp + 0x20]
call fcn.0043a227
pop ecx
pop ecx
mov dword [esp + 0x214], 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x24]
call fcn.004035dd
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x114]
call fcn.004034fc
lea eax, [esp + 0x144]
push 0x20
push eax
call fcn.0043a227
pop ecx
pop ecx
mov dword [esp + 0x214], 5
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [ebx + 0x40]
call fcn.004035dd
or dword [esp + 0x214], 0xffffffff
push esi
push 1
lea ecx, [esp + 0x14c]
call fcn.004034fc
mov dword [ebx + 4], esi
mov eax, dword [esp + 0x28]
sub eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x90], 1
cmp dword [ebx + 0x90], 1
jne 0x4b4a01
mov esi, edi
cmp edi, eax
je 0x4b459c
cmp byte [esi], 0xa
je 0x4b459c
inc esi
cmp esi, eax
jne 0x4b4592
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
call fcn.004035c1
mov dword [esp + 0x214], 6
cmp esi, dword [ebp + 0x14]
je 0x4b49db
cmp dword [ebx + 0x90], 1
jne 0x4b49db
mov dword [esp + 0x1c], esi
cmp edi, esi
je 0x4b45e4
lea eax, [esi - 1]
cmp byte [eax], 0xd
jne 0x4b45e4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x38]
call fcn.00409680
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x58], ecx
call fcn.00409660
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x44]
push edi
push eax
mov eax, dword [esp + 0x34]
call fcn.004b4c95
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 + 0x40]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x1c], 0x3a
call fcn.0040434d
mov edi, eax
cmp edi, 0xffffffff
je 0x4b495c
push edi
push 0
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x40]
call fcn.00404164
mov byte [esp + 0x214], 7
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x7c]
call fcn.00409660
mov esi, eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x7c]
call fcn.00409680
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x7c]
call fcn.00409660
push dword [esi + 4]
mov ecx, dword [esp + 0x2c]
push dword [esi]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xcc]
call fcn.004b5089
add esp, 0x18
jmp 0x4b46f7
push edi
lea ecx, [esp + 0x38]
call fcn.00408f17
cmp byte [eax], 0x20
je 0x4b46f7
push edi
lea ecx, [esp + 0x38]
call fcn.00408f17
cmp byte [eax], 9
jne 0x4b46fe
inc edi
cmp edi, dword [esp + 0x48]
jb 0x4b46d9
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x40]
call fcn.00404164
mov byte [esp + 0x214], 8
sub esp, 0x1c
lea eax, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0040366f
mov byte [esp + 0x230], 9
sub esp, 0x1c
lea eax, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call fcn.0040366f
mov byte [esp + 0x24c], 0xa
lea eax, [esp + 0x208]
push eax
mov byte [esp + 0x250], 8
call fcn.004b50d7
add esp, 0x3c
mov esi, eax
mov byte [esp + 0x214], 0xb
push esi
lea ecx, [esp + 0x180]
call fcn.0040366f
mov byte [esp + 0x214], 0xc
add esi, 0x1c
push esi
lea ecx, [esp + 0x19c]
call fcn.0040366f
mov byte [esp + 0x214], 0xe
lea eax, [esp + 0x17c]
push eax
add ebx, 0x94
lea edi, [esp + 0xe8]
call fcn.004b4bdb
mov byte [esp + 0x214], 0xb
lea eax, [esp + 0x17c]
push eax
call fcn.00470491
mov byte [esp + 0x214], 8
lea eax, [esp + 0x1d0]
push eax
call fcn.00470491
push str.content_length
lea esi, [esp + 0x7c]
call fcn.00425080
pop ecx
test al, al
je 0x4b4820
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4b4805
lea eax, [esp + 0x60]
push 0xa
push 0
push eax
call fcn.005793df
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
jmp 0x4b490a
push str.content_range
lea esi, [esp + 0x7c]
call fcn.00425080
pop ecx
test al, al
je 0x4b490a
cmp dword [esp + 0x74], 0x10
mov ebx, dword [esp + 0x60]
jae 0x4b4846
lea ebx, [esp + 0x60]
mov eax, str.bytes
mov edi, ebx
mov esi, eax
mov dl, 0x62
sub edi, eax
movzx eax, byte [esi + edi]
push eax
call fcn.0043a0b8
pop ecx
push edx
mov byte [esp + 0x14], al
call fcn.0043a0b8
pop ecx
mov cl, byte [esp + 0x10]
cmp al, cl
jne 0x4b487b
inc esi
mov dl, byte [esi]
test dl, dl
jne 0x4b4853
add ebx, 6
push 0xa
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.005793df
mov esi, dword [ebp + 8]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x38]
add esp, 0xc
mov dword [esi + 0x84], edx
cmp eax, ebx
je 0x4b4a96
cmp byte [eax], 0x2d
jne 0x4b4a96
lea edi, [eax + 1]
push 0xa
lea eax, [esp + 0x30]
push eax
push edi
call fcn.005793df
add esp, 0xc
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edx
cmp dword [esp + 0x2c], edi
je 0x4b4a96
mov edi, dword [esi + 0x80]
mov ecx, eax
mov eax, edx
mov edx, dword [esi + 0x84]
cmp eax, edx
jl 0x4b4a96
jg 0x4b48fa
cmp ecx, edi
jb 0x4b4a96
sub ecx, edi
sbb eax, edx
add ecx, 1
adc eax, 0
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x18]
jmp 0x4b4916
cmp byte [eax], 0xa
je 0x4b491b
inc eax
cmp eax, dword [ebp + 0x14]
jne 0x4b4910
mov dword [esp + 0x18], eax
mov byte [esp + 0x214], 7
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.004034fc
mov byte [esp + 0x214], 6
push 0
push 1
lea ecx, [esp + 0x80]
call fcn.004034fc
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x4b45ba
cmp dword [ebx + 4], 0x64
jne 0x4b49c5
and dword [ebx + 0x90], 0
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.004034fc
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
jmp 0x4b42c0
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 0x4b4a7c
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x90], 3
mov byte [eax], 1
jmp 0x4b4a6f
mov eax, dword [ebx]
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x90], 2
mov dword [ebx + 0xbc], eax
sub esi, dword [esp + 0x14]
sub esi, dword [ebx + 0xb4]
add dword [esp + 0x24], esi
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.004034fc
mov eax, dword [ebp + 0x14]
cmp dword [ebx + 0x90], 2
jne 0x4b4a6f
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 0x4b4a42
jg 0x4b4a2b
cmp eax, dword [ebx + 0x78]
jbe 0x4b4a42
test edi, edi
jl 0x4b4a42
jg 0x4b4a37
cmp dword [ebx + 0x78], 0
jb 0x4b4a42
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 0x4b4a6f
jg 0x4b4a56
cmp dword [ebx + 0x78], 0
jb 0x4b4a6f
sub eax, dword [ebx + 0xbc]
cdq
cmp edx, edi
jl 0x4b4a6f
jg 0x4b4a68
cmp eax, dword [ebx + 0x78]
jb 0x4b4a6f
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 dword [esi + 0x90], 3
mov esi, dword [ebp + 0xc]
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.004034fc
mov byte [esp + 0x214], 6
push edi
push 1
lea ecx, [esp + 0x80]
call fcn.004034fc
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x3c]
call fcn.004034fc
mov eax, esi
jmp 0x4b4a7f