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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62918b
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 0x4ad81a
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x4adff7
cmp dword [ebx + 0x90], 3
mov dword [ebx + 0xb4], ecx
mov dword [ebx + 0xb8], eax
jne 0x4ad837
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
jmp 0x4ad810
mov edi, dword [ebx]
add edi, ecx
cmp dword [ebx + 0x90], 0
jne 0x4adafa
mov ecx, edi
cmp edi, eax
je 0x4adf0d
cmp byte [ecx], 0xa
je 0x4ad85c
inc ecx
cmp ecx, eax
jne 0x4ad852
cmp ecx, eax
je 0x4adf0d
cmp ecx, edi
je 0x4adf2f
lea eax, [ecx - 1]
cmp byte [eax], 0xd
mov dword [esp + 0x14], ecx
jne 0x4ad87c
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.004200ae
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.00401a17
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0xf8]
call fcn.00401ac6
push 5
push edi
lea eax, [esp + 0x130]
push eax
mov ecx, esi
call fcn.00402aa8
mov dword [esp + 0x214], 1
push str.HTTP_
mov esi, eax
call fcn.00419bf5
pop ecx
mov byte [esp + 0x10], al
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x130]
call fcn.00401ac6
cmp byte [esp + 0x10], 0
je 0x4ad9d6
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1b4]
push 0x20
push eax
lea esi, [esp + 0x20]
call fcn.004200ae
pop ecx
pop ecx
mov dword [esp + 0x214], 2
cmp dword [eax + 0x18], 0x10
jb 0x4ad963
mov eax, dword [eax + 4]
jmp 0x4ad966
add eax, 4
push eax
call fcn.005a6e3e
pop ecx
mov dword [ebx + 4], eax
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x1bc]
call fcn.00401ac6
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x160]
push 0xd
push eax
lea esi, [esp + 0x20]
call fcn.004200ae
pop ecx
pop ecx
mov dword [esp + 0x214], 3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x5c]
call fcn.00401a17
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x168]
call fcn.00401ac6
jmp 0x4adade
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x40]
lea esi, [ebx + 8]
push eax
mov ecx, esi
call fcn.00401a17
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call fcn.004063d1
mov dword [esp + 0x28], eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call fcn.004063f1
mov dword [esp + 0x34], eax
lea eax, [esp + 0x9c]
push eax
mov ecx, esi
call fcn.004063d1
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.004ae657
add esp, 0x18
lea eax, [ebx + 0x40]
push eax
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], edi
call fcn.004062fb
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10c]
push 0x20
push eax
lea esi, [esp + 0x20]
call fcn.004200ae
pop ecx
pop ecx
mov dword [esp + 0x214], 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x24]
call fcn.00401a17
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x114]
call fcn.00401ac6
lea eax, [esp + 0x144]
push 0x20
push eax
call fcn.004200ae
pop ecx
pop ecx
mov dword [esp + 0x214], 5
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [ebx + 0x40]
call fcn.00401a17
or dword [esp + 0x214], 0xffffffff
push esi
push 1
lea ecx, [esp + 0x14c]
call fcn.00401ac6
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 0x4adf80
mov esi, edi
cmp edi, eax
je 0x4adb17
cmp byte [esi], 0xa
je 0x4adb17
inc esi
cmp esi, eax
jne 0x4adb0d
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
call fcn.00401e8e
mov dword [esp + 0x214], 6
cmp esi, dword [ebp + 0x14]
je 0x4adf5a
cmp dword [ebx + 0x90], 1
jne 0x4adf5a
mov dword [esp + 0x1c], esi
cmp edi, esi
je 0x4adb5f
lea eax, [esi - 1]
cmp byte [eax], 0xd
jne 0x4adb5f
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x3c]
call fcn.004063f1
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.004063d1
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.004ae256
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.00402cc3
mov edi, eax
cmp edi, 0xffffffff
je 0x4adedb
push edi
push 0
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x44]
call fcn.00402aa8
mov byte [esp + 0x214], 7
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x7c]
call fcn.004063d1
mov esi, eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x7c]
call fcn.004063f1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x7c]
call fcn.004063d1
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.004ae657
add esp, 0x18
jmp 0x4adc71
push edi
lea ecx, [esp + 0x3c]
call fcn.00402a5f
cmp byte [eax], 0x20
je 0x4adc71
push edi
lea ecx, [esp + 0x3c]
call fcn.00402a5f
cmp byte [eax], 9
jne 0x4adc78
inc edi
cmp edi, dword [esp + 0x4c]
jb 0x4adc53
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x44]
call fcn.00402aa8
mov byte [esp + 0x214], 8
sub esp, 0x1c
lea eax, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004018b0
mov byte [esp + 0x230], 9
sub esp, 0x1c
lea eax, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
call fcn.004018b0
mov byte [esp + 0x24c], 0xa
lea eax, [esp + 0x208]
push eax
mov byte [esp + 0x250], 8
call fcn.004ae6a5
add esp, 0x3c
mov esi, eax
mov byte [esp + 0x214], 0xb
push esi
lea ecx, [esp + 0x180]
call fcn.004018b0
mov byte [esp + 0x214], 0xc
add esi, 0x1c
push esi
lea ecx, [esp + 0x19c]
call fcn.004018b0
mov byte [esp + 0x214], 0xe
lea eax, [esp + 0x17c]
push eax
lea eax, [ebx + 0x94]
push eax
lea edi, [esp + 0xec]
call fcn.004ae196
mov byte [esp + 0x214], 0xb
lea eax, [esp + 0x17c]
push eax
call fcn.004ae07a
mov byte [esp + 0x214], 8
lea eax, [esp + 0x1d0]
push eax
call fcn.004ae07a
push str.content_length
lea esi, [esp + 0x7c]
call fcn.00419bf5
pop ecx
test al, al
je 0x4add98
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4add80
lea eax, [esp + 0x60]
push 0xa
push 0
push eax
call fcn.005ac5ac
add esp, 0xc
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], edx
jmp 0x4ade8c
push str.content_range
lea esi, [esp + 0x7c]
call fcn.00419bf5
pop ecx
test al, al
je 0x4ade8c
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4addbe
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.0041ff3f
pop ecx
push edx
mov byte [esp + 0x14], al
call fcn.0041ff3f
pop ecx
mov cl, byte [esp + 0x10]
cmp al, cl
jne 0x4addfb
inc esi
mov dl, byte [esi]
test dl, dl
jne 0x4addd1
add dword [esp + 0x14], 6
push 0xa
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x1c]
call fcn.005ac5ac
mov dword [ebx + 0x80], eax
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [ebx + 0x84], edx
cmp eax, dword [esp + 0x14]
je 0x4ae015
cmp byte [eax], 0x2d
jne 0x4ae015
lea esi, [eax + 1]
push 0xa
lea eax, [esp + 0x34]
push eax
push esi
call fcn.005ac5ac
add esp, 0xc
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], edx
cmp dword [esp + 0x30], esi
je 0x4ae015
mov esi, dword [ebx + 0x80]
mov ecx, eax
mov eax, edx
mov edx, dword [ebx + 0x84]
cmp eax, edx
jl 0x4ae015
jg 0x4ade7c
cmp ecx, esi
jb 0x4ae015
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 0x4ade98
cmp byte [eax], 0xa
je 0x4ade9d
inc eax
cmp eax, dword [ebp + 0x14]
jne 0x4ade92
mov dword [esp + 0x18], eax
mov byte [esp + 0x214], 7
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.00401ac6
mov byte [esp + 0x214], 6
push 0
push 1
lea ecx, [esp + 0x80]
call fcn.00401ac6
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x4adb35
cmp dword [ebx + 4], 0x64
jne 0x4adf44
and dword [ebx + 0x90], 0
or dword [esp + 0x214], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.00401ac6
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
jmp 0x4ad83b
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 0x4adffb
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x90], 3
mov byte [eax], 1
jmp 0x4adfee
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.00401ac6
mov eax, dword [ebp + 0x14]
cmp dword [ebx + 0x90], 2
jne 0x4adfee
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 0x4adfc1
jg 0x4adfaa
cmp eax, dword [ebx + 0x78]
jbe 0x4adfc1
test edi, edi
jl 0x4adfc1
jg 0x4adfb6
cmp dword [ebx + 0x78], 0
jb 0x4adfc1
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 0x4adfee
jg 0x4adfd5
cmp dword [ebx + 0x78], 0
jb 0x4adfee
sub eax, dword [ebx + 0xbc]
cdq
cmp edx, edi
jl 0x4adfee
jg 0x4adfe7
cmp eax, dword [ebx + 0x78]
jb 0x4adfee
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.00401ac6
mov byte [esp + 0x214], 6
push edi
push 1
lea ecx, [esp + 0x80]
call fcn.00401ac6
or dword [esp + 0x214], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00401ac6
mov eax, esi
jmp 0x4adffe