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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a2af6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0xa8], edi
lea edx, [esp + 0x14]
push edx
call fcn.1007e600
add esp, 4
mov dword [esp + 0x10], edi
jmp 0x1007ec30
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov ebx, dword [esp + 0x1c]
je 0x1007ed70
mov esi, ebx
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
mov esi, dword [esp + 0x10]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x1007ed70
cmp dword [ecx + edi + 0x18], 8
lea ebx, [ecx + edi + 0x1c]
jb 0x1007ec74
mov ecx, dword [ecx + edi + 4]
jmp 0x1007ec78
lea ecx, [ecx + edi + 4]
mov eax, str.Server
call fcn.1006add0
test al, al
jne 0x1007ec92
add esi, 1
mov dword [esp + 0x10], esi
add edi, 0x38
jmp 0x1007ec30
xor eax, eax
push 0xffffffffffffffff
mov dword [esp + 0x78], eax
mov word [esp + 0x68], ax
push eax
mov esi, 7
mov eax, ebx
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], esi
call fcn.100076e0
mov byte [esp + 0xa8], 1
lea ebx, [esp + 0x60]
call fcn.1006b100
push str.__r_t_n
mov eax, ebx
call fcn.1006afb0
add esp, 4
push str.__r_t_n
mov eax, ebx
call fcn.1006b020
mov eax, dword [esp + 0x78]
add esp, 4
push str.lotus_domino
lea edi, [esi + 5]
mov ecx, ebx
call fcn.100130c0
xor ebx, ebx
test eax, eax
jne 0x1007ed40
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x78], 8
jb 0x1007ed1a
mov eax, dword [esp + 0x64]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov dword [esp + 0xa8], 0xffffffff
lea ebx, [esp + 0x14]
call fcn.1001b140
jmp 0x1007f268
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x78], 8
jb 0x1007ed5b
mov ecx, dword [esp + 0x64]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x78], esi
xor esi, esi
xor edi, edi
test ecx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], esi
je 0x1007f220
sub ebx, ecx
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x1007f220
cmp dword [ecx + edi + 0x18], 8
lea ebx, [ecx + edi + 0x1c]
jb 0x1007edb2
mov ecx, dword [ecx + edi + 4]
jmp 0x1007edb6
lea ecx, [ecx + edi + 4]
mov eax, str.Content_Range
call fcn.1006add0
test al, al
je 0x1007efdc
xor eax, eax
push 0xffffffffffffffff
mov dword [esp + 0x78], eax
mov word [esp + 0x68], ax
push eax
mov esi, 7
mov eax, ebx
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], esi
call fcn.100076e0
mov byte [esp + 0xa8], 2
lea ebx, [esp + 0x60]
call fcn.1006b100
push 5
mov dword [esp + 0x98], esi
xor edi, edi
push str.bytes
lea esi, [esp + 0x84]
mov dword [esp + 0x98], edi
mov word [esp + 0x88], di
call fcn.10011cd0
mov byte [esp + 0xa8], 3
mov edx, dword [esp + 0x80]
mov esi, 8
cmp dword [esp + 0x94], esi
jae 0x1007ee4d
lea edx, [esp + 0x80]
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1007ee52
sub eax, ebx
sar eax, 1
push edx
mov ebx, eax
xor eax, eax
lea edx, [esp + 0x64]
call fcn.10010d50
cmp eax, 0xffffffff
je 0x1007ef6f
mov ecx, dword [esp + 0x90]
push 0xffffffffffffffff
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.100102e0
mov byte [esp + 0xa8], 4
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x68]
call fcn.100076e0
mov byte [esp + 0xa8], 3
cmp dword [esp + 0x5c], esi
jb 0x1007eec1
mov ecx, dword [esp + 0x48]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x2f
push 0x2d
lea edi, [esp + 0x68]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.1006af50
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0xb0], 5
lea edx, [esp + 0x30]
push edx
push 0x2f
call fcn.10090390
mov edi, dword [esp + 0x3c]
add esp, 0x10
cmp edi, ebx
je 0x1007ef33
mov esi, dword [esp + 0x30]
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
je 0x1007efef
mov esi, 8
mov byte [esp + 0xa8], 3
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1007ef61
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
push ecx
call fcn.10013250
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
jmp 0x1007ef71
xor ebx, ebx
mov byte [esp + 0xa8], 2
cmp dword [esp + 0x94], esi
jb 0x1007ef92
mov eax, dword [esp + 0x80]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 7
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x78], esi
jb 0x1007efc7
mov ecx, dword [esp + 0x64]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x10]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add esi, 1
add edi, 0x38
jmp 0x1007ed74
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1007f016
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
cmp edi, ebx
mov dword [esp + 0x24], edi
je 0x1007f03a
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x1007f048
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
cmp edi, ebx
lea ecx, [edi + 0x1c]
mov dword [esp + 0x10], ecx
je 0x1007f06d
sub esi, edi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x1007f077
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x2c]
lea esi, [edi + 0x38]
mov edi, dword [esp + 0x24]
push str.__r_t_n
mov eax, edi
call fcn.1006afb0
add esp, 4
push str.__r_t_n
mov eax, edi
call fcn.1006b020
mov eax, dword [esp + 0x14]
add esp, 4
push str.__r_t_n
call fcn.1006afb0
mov eax, dword [esp + 0x14]
add esp, 4
push str.__r_t_n
call fcn.1006b020
add esp, 4
push str.__r_t_n
mov eax, esi
call fcn.1006afb0
add esp, 4
push str.__r_t_n
mov eax, esi
call fcn.1006b020
add esp, 4
cmp dword [edi + 0x18], 8
jb 0x1007f0e7
mov eax, dword [edi + 4]
jmp 0x1007f0ea
lea eax, [edi + 4]
call fcn.1006ab50
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov edi, 8
mov dword [ecx + 4], edx
cmp dword [eax + 0x18], edi
jb 0x1007f10b
mov eax, dword [eax + 4]
jmp 0x1007f10e
add eax, 4
call fcn.1006ab50
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp dword [esi + 0x18], edi
jb 0x1007f126
mov esi, dword [esi + 4]
jmp 0x1007f129
add esi, 4
mov eax, esi
call fcn.1006ab50
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov byte [esp + 0xa8], 3
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1007f16c
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
push edx
call fcn.10013250
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 8
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0xa8], 2
cmp dword [esp + 0x94], edi
jb 0x1007f199
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x78], edi
jb 0x1007f1ce
mov edx, dword [esp + 0x64]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov dword [esp + 0xa8], 0xffffffff
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x1007f210
mov edi, dword [esp + 0x1c]
cmp esi, edi
je 0x1007f207
push esi
call fcn.1001b200
add esi, 0x38
cmp esi, edi
jne 0x1007f1f6
mov esi, dword [esp + 0x18]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov al, 1
jmp 0x1007f26a
mov dword [esp + 0xa8], 0xffffffff
mov edi, dword [esp + 0x18]
test edi, edi
je 0x1007f25a
mov ebx, dword [esp + 0x1c]
cmp edi, ebx
je 0x1007f251
jmp 0x1007f240
push edi
call fcn.1001b200
add edi, 0x38
cmp edi, ebx
jne 0x1007f240
mov edi, dword [esp + 0x18]
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
xor al, al
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1009176c
mov esp, ebp
pop ebp
ret