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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a2a98
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x80], esi
lea eax, [esp + 0x24]
push eax
call fcn.1007e600
add esp, 4
mov dword [esp + 0x20], esi
xor ebx, ebx
mov edi, dword [esp + 0x28]
test edi, edi
mov dword [esp + 0x34], ebx
je 0x1007f521
mov ecx, dword [esp + 0x2c]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x1007f521
cmp dword [ebx + edi + 0x18], 8
lea eax, [ebx + edi + 0x18]
lea esi, [ebx + edi + 0x1c]
mov dword [esp + 0x10], eax
lea edi, [ebx + edi + 4]
jb 0x1007f346
mov ecx, dword [edi]
jmp 0x1007f348
mov ecx, edi
mov eax, 0x100aeb20
call fcn.1006add0
test al, al
je 0x1007f361
cmp dword [esi + 0x18], 8
jb 0x1007f389
mov eax, dword [esi + 4]
jmp 0x1007f38c
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 8
jb 0x1007f36e
mov ecx, dword [edi]
jmp 0x1007f370
mov ecx, edi
mov eax, str.Content_Length
call fcn.1006add0
test al, al
je 0x1007f399
cmp dword [esi + 0x18], 8
jb 0x1007f389
mov eax, dword [esi + 4]
jmp 0x1007f38c
lea eax, [esi + 4]
call fcn.1006ab50
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
cmp dword [edx], 8
jb 0x1007f3a6
mov ecx, dword [edi]
jmp 0x1007f3a8
mov ecx, edi
mov eax, str.Content_Range
call fcn.1006add0
test al, al
je 0x1007f45c
xor eax, eax
push 0xffffffffffffffff
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
push eax
mov eax, esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 7
call fcn.100076e0
mov byte [esp + 0x80], 1
lea ebx, [esp + 0x54]
call fcn.1006b100
push str.bytes
mov ebx, 5
xor eax, eax
lea edx, [esp + 0x58]
call fcn.10010d50
cmp eax, 0xffffffff
je 0x1007f42a
lea edi, [ebx - 4]
push esi
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], 0x2f
call fcn.10010e30
cmp eax, 0xffffffff
je 0x1007f42a
mov ecx, dword [esi + 0x14]
lea edx, [eax + 1]
cmp edx, ecx
jb 0x1007f46d
xor ebx, ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x6c], 8
jb 0x1007f447
mov eax, dword [esp + 0x58]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x6c], 7
add dword [esp + 0x20], 1
mov esi, dword [esp + 0x20]
add ebx, 0x38
jmp 0x1007f2fa
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
lea ecx, [eax + 1]
push esi
call fcn.100102e0
mov byte [esp + 0x80], 2
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x5c]
call fcn.100076e0
mov byte [esp + 0x80], 1
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x1007f4b3
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x6c], esi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jae 0x1007f4d2
lea eax, [esp + 0x58]
call fcn.1006ab50
mov esi, eax
mov edi, edx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x6c], 8
jb 0x1007f4f6
mov ecx, dword [esp + 0x58]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
mov dword [esp + 0x80], 0xffffffff
lea ebx, [esp + 0x24]
call fcn.1001b140
mov eax, esi
mov edx, edi
jmp 0x1007f56e
mov dword [esp + 0x80], 0xffffffff
mov esi, dword [esp + 0x28]
xor ebx, ebx
cmp esi, ebx
je 0x1007f55a
mov edi, dword [esp + 0x2c]
cmp esi, edi
je 0x1007f551
mov edi, edi
push esi
call fcn.1001b200
add esi, 0x38
cmp esi, edi
jne 0x1007f540
mov esi, dword [esp + 0x28]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1009176c
mov esp, ebp
pop ebp
ret