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

Disassembly:
push 0xffffffffffffffff
push 0x10114348
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xa4]
mov eax, dword [ebp + 0x38]
xor esi, esi
cmp eax, esi
jne 0x1007c60a
xor ecx, ecx
jmp 0x1007c620
mov ecx, dword [ebp + 0x3c]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [edi + edi*2]
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jbe 0x1007c634
or dword [esp + 0xc0], 8
mov al, byte [esp + 0xc0]
test al, 0x40
je 0x1007c646
mov dword [esp + 0xb4], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
test al, 8
mov byte [esp + 0x9c], 2
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
je 0x1007c831
mov esi, dword [ebp + 0x38]
cmp esi, dword [ebp + 0x3c]
jbe 0x1007c69a
call edi
mov eax, dword [ebp + 0x3c]
cmp dword [ebp + 0x38], eax
mov dword [esp + 0x20], eax
jbe 0x1007c6a8
call edi
lea edi, [ebp + 0x34]
cmp edi, edi
je 0x1007c6b5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x20]
je 0x1007c7d3
cmp esi, dword [edi + 8]
jb 0x1007c6ca
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 4]
mov ecx, edi
and ecx, 7
mov eax, 0x80
sar eax, cl
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
mov eax, edi
cdq
and edx, 7
add eax, edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x1c]
sar eax, 3
mov al, byte [eax + edx]
test al, cl
je 0x1007c7b9
cmp esi, dword [ebp + 0x3c]
jb 0x1007c70b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x28]
test ecx, ecx
mov edi, dword [esi + 4]
je 0x1007c721
mov eax, dword [ebp + 0x2c]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x1007c727
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x28]
test dword [ecx + edi*8], 0x20000
je 0x1007c765
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x1007c73f
xor eax, eax
jmp 0x1007c748
mov eax, dword [esp + 0x68]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jb 0x1007c765
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x1007c758
xor eax, eax
jmp 0x1007c761
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jae 0x1007c7b9
cmp esi, dword [ebp + 0x3c]
jb 0x1007c770
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
push eax
push ecx
push edx
mov edx, dword [esp + 0xbc]
push ebx
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x78]
push ecx
push edx
push eax
push ebp
mov edi, esi
call fcn.1007d850
mov ebx, eax
test ebx, ebx
jle 0x1007c7cc
cmp esi, dword [ebp + 0x3c]
jb 0x1007c7c4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 0x14
jmp 0x1007c6a8
xor esi, esi
jmp 0x1007d3d2
mov esi, dword [esp + 0xac]
push ebx
push esi
lea eax, [esp + 0x68]
call fcn.1007c4f0
xor edi, edi
add esp, 8
cmp eax, edi
jg 0x1007c816
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x1007c7ff
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
cmp eax, edi
jmp 0x1007d3f5
push eax
push esi
lea eax, [esp + 0x58]
call fcn.1007c4f0
mov ebx, eax
add esp, 8
cmp ebx, edi
mov dword [esp + 0xb0], ebx
jle 0x1007c7ee
mov esi, dword [esp + 0xc4]
mov edi, dword [esi + 4]
test edi, edi
je 0x1007c950
mov eax, dword [esi + 8]
mov ecx, eax
sub ecx, edi
sar ecx, 2
je 0x1007c950
cmp edi, eax
jbe 0x1007c85d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esp + 0x3c], edi
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x1007c86f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x1007c950
cmp eax, dword [esi + 8]
jb 0x1007c886
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
push edx
mov esi, ebp
call fcn.1007d420
test al, al
mov esi, dword [esp + 0x3c]
je 0x1007c90e
mov ecx, dword [esp + 0xc4]
cmp esi, dword [ecx + 8]
jb 0x1007c8b5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
push eax
push ecx
push edx
mov edx, dword [esp + 0xbc]
push ebx
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ebp
lea eax, [esp + 0xa8]
call fcn.1007d600
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [esp + 0xb0], ebx
jle 0x1007c933
mov ecx, dword [esp + 0xc4]
cmp esi, dword [ecx + 8]
jb 0x1007c920
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 4
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0xc4]
jmp 0x1007c861
mov eax, dword [esp + 0x84]
cmp eax, edi
je 0x1007c7ee
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x1007c7ee
mov al, byte [esp + 0xc0]
test al, 0x10
je 0x1007ca7d
test al, 2
je 0x1007c9f3
mov edi, dword [ebp + 0x6c]
sub edi, 1
cmp edi, dword [ebp + 0x68]
jl 0x1007cebe
mov edx, dword [esp + 0xa8]
push edx
mov esi, ebp
call fcn.1007d420
test al, al
je 0x1007c9df
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xb8]
push ecx
push edx
push eax
mov eax, dword [esp + 0xbc]
push ebx
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x78]
push edx
push eax
mov eax, dword [esp + 0xe4]
push ecx
push ebp
mov ecx, edi
call fcn.1007d600
mov ebx, eax
xor esi, esi
cmp ebx, esi
jle 0x1007d3be
sub edi, 1
cmp edi, dword [ebp + 0x68]
jge 0x1007c976
mov dword [esp + 0xb0], ebx
jmp 0x1007cebe
mov edi, dword [ebp + 0x68]
cmp edi, dword [ebp + 0x6c]
jge 0x1007cebe
nop
mov edx, dword [esp + 0xa8]
push edx
mov esi, ebp
call fcn.1007d420
test al, al
je 0x1007ca69
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xb8]
push ecx
push edx
push eax
mov eax, dword [esp + 0xbc]
push ebx
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x78]
push edx
push eax
mov eax, dword [esp + 0xe4]
push ecx
push ebp
mov ecx, edi
call fcn.1007d600
mov ebx, eax
xor esi, esi
cmp ebx, esi
jle 0x1007d3be
add edi, 1
cmp edi, dword [ebp + 0x6c]
jl 0x1007ca00
mov dword [esp + 0xb0], ebx
jmp 0x1007cebe
test al, 1
je 0x1007cd97
cmp byte [ebp + 0x74], 0
je 0x1007ca91
push ebp
call fcn.1007b9c0
test byte [esp + 0xc0], 2
je 0x1007cca1
mov eax, dword [ebp + 0x18]
test eax, eax
lea edi, [ebp + 0x14]
jne 0x1007caad
xor esi, esi
jmp 0x1007cab5
mov esi, dword [edi + 8]
sub esi, eax
sar esi, 2
mov eax, edi
call fcn.1005dc00
mov edx, dword [eax]
add esi, 3
shr esi, 2
add esi, esi
push edx
add esi, esi
push esi
mov eax, edi
call fcn.10060200
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x1007cadc
xor eax, eax
jmp 0x1007cae4
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
add eax, 0xffffffff
mov dword [esp + 0x20], eax
js 0x1007ceb7
mov ecx, dword [esp + 0x20]
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, eax
add eax, eax
and ecx, reloc.WS2_32.dll_closesocket
mov esi, eax
jns 0x1007cb13
dec ecx
or ecx, 0xfffffffc
inc ecx
sub esi, ecx
add esi, 3
mov dword [esp + 0x24], esi
jne 0x1007cb22
xor eax, eax
jmp 0x1007cb47
mov ecx, dword [edi + 4]
test ecx, ecx
lea edx, [esi - 1]
je 0x1007cb38
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x1007cb3e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 4]
lea eax, [esi - 1]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x1c], eax
jmp 0x1007cb50
mov ecx, dword [ebp + 0x18]
test ecx, ecx
lea edi, [ebp + 0x14]
je 0x1007cb66
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1007cb6c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + esi*4]
jge 0x1007cc49
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1007cb8f
mov eax, dword [ebp + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x1007cb95
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
add ecx, ecx
add ecx, ecx
mov edi, dword [eax + ecx]
add eax, ecx
mov ecx, dword [esp + 0xa8]
push ecx
mov esi, ebp
call fcn.1007d420
test al, al
je 0x1007cc3b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1007cbd1
mov eax, dword [ebp + 0xc]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x1c], eax
jb 0x1007cbd7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc0]
push edx
mov edx, dword [esp + 0xbc]
add eax, eax
add eax, eax
add ecx, eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [ecx]
push eax
mov eax, dword [esp + 0xbc]
push edx
push eax
push ebx
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0xc4]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0xc4]
push edx
push eax
mov eax, dword [esp + 0xe8]
push ebp
call fcn.1007d600
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xb0], ebx
jle 0x1007cc59
add dword [esp + 0x1c], 1
mov esi, dword [esp + 0x24]
jmp 0x1007cb50
sub dword [esp + 0x20], 1
jns 0x1007caf1
jmp 0x1007cebe
mov eax, dword [esp + 0x84]
test eax, eax
je 0x1007cc6d
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1007cc7e
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
test eax, eax
jmp 0x1007d3f5
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
jbe 0x1007ccaf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esp + 0x3c], edi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 8], esi
lea edi, [ebp + 4]
jbe 0x1007ccc4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test edi, edi
je 0x1007cccc
cmp edi, edi
je 0x1007ccd2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x3c], esi
je 0x1007ceb7
test edi, edi
jne 0x1007cce6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [edi + 8]
jb 0x1007ccf5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
push edx
mov esi, ebp
call fcn.1007d420
test al, al
mov esi, dword [esp + 0x3c]
je 0x1007cd7d
cmp esi, dword [ebp + 0xc]
lea eax, [ebp + 4]
jb 0x1007cd20
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0xb8]
push edx
push eax
push ecx
mov ecx, dword [esp + 0xbc]
push ebx
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0xc0]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0xe0]
push ecx
mov ecx, dword [esi]
push edx
push ebp
call fcn.1007d600
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [esp + 0xb0], ebx
jle 0x1007c933
cmp esi, dword [ebp + 0xc]
lea eax, [ebp + 4]
jb 0x1007cd8b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 4
mov dword [esp + 0x3c], esi
jmp 0x1007ccb3
mov eax, dword [0x1014dd28]
mov edx, dword [0x101518d0]
mov ecx, eax
shl ecx, 0xb
xor ecx, eax
mov eax, dword [0x101518cc]
mov dword [0x101518cc], edx
mov dword [0x1014dd28], eax
mov eax, dword [0x101518d4]
mov edx, eax
shr edx, 0xb
xor edx, ecx
shr edx, 8
xor edx, ecx
mov dword [0x101518d0], eax
xor eax, edx
mov edx, dword [ebp + 0x28]
test edx, edx
mov dword [0x101518d4], eax
jne 0x1007cde1
xor ecx, ecx
jmp 0x1007cde9
mov ecx, dword [ebp + 0x2c]
sub ecx, edx
sar ecx, 3
xor edx, edx
div ecx
test ebx, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
jle 0x1007cec6
lea ecx, [ecx]
mov ebx, dword [esp + 0xc4]
jmp 0x1007ce10
mov eax, dword [esp + 0xa8]
mov edi, dword [esp + 0x1c]
push eax
mov esi, ebp
call fcn.1007d4a0
test al, al
je 0x1007ce83
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x24], eax
jbe 0x1007ce39
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
jbe 0x1007ce47
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x1007ce55
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, edi
mov eax, ebx
mov dword [esp + 0x34], esi
je 0x1007ce6f
nop
mov ecx, dword [esi]
cmp ecx, dword [esp + 0x1c]
je 0x1007ce6f
add esi, 4
cmp esi, edi
jne 0x1007ce60
test eax, eax
je 0x1007ce77
cmp eax, ebx
je 0x1007ce7d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x24]
je 0x1007cecd
mov ecx, dword [ebp + 0x28]
add dword [esp + 0x1c], 1
test ecx, ecx
jne 0x1007ce93
xor eax, eax
jmp 0x1007ce9b
mov eax, dword [ebp + 0x2c]
sub eax, ecx
sar eax, 3
cmp dword [esp + 0x1c], eax
jne 0x1007cea9
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x20]
jne 0x1007ce10
mov ebx, dword [esp + 0xb0]
test ebx, ebx
jg 0x1007cfe0
xor esi, esi
jmp 0x1007d3be
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x4c]
push eax
mov eax, ebp
call fcn.1007da90
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov esi, dword [eax + 4]
cmp ecx, esi
mov dword [esp + 0x2c], esi
jge 0x1007cf9a
mov edx, dword [ebp + 0x28]
test edx, edx
jne 0x1007cf0e
xor eax, eax
jmp 0x1007cf16
mov eax, dword [ebp + 0x2c]
sub eax, edx
sar eax, 3
lea edx, [ecx + 1]
cmp edx, eax
mov dword [esp + 0x30], edx
jne 0x1007cf26
mov eax, dword [ebp + 0x58]
jmp 0x1007cf29
mov eax, dword [ebp + 0x54]
cmp dword [esp + 0xb4], 0
mov dword [esp + 0x1c], eax
jne 0x1007cf48
mov edx, dword [esp + 0xb0]
cmp eax, edx
jle 0x1007cf48
mov eax, edx
mov dword [esp + 0x1c], eax
xor edi, edi
test eax, eax
jle 0x1007cf8e
and ecx, 0x7ffff
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
sub dword [esp + 0xb0], ecx
mov esi, dword [esp + 0xac]
movzx edx, di
shl edx, 0x13
or edx, dword [esp + 0x24]
lea ebx, [esp + 0x28]
mov dword [esp + 0x28], edx
call fcn.1007eb90
add edi, 1
cmp edi, dword [esp + 0x1c]
jl 0x1007cf63
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp ecx, esi
jl 0x1007cf03
mov ecx, dword [ebp + 0x28]
test ecx, ecx
mov dword [esp + 0x1c], esi
jne 0x1007cfa9
xor eax, eax
jmp 0x1007cfb1
mov eax, dword [ebp + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jne 0x1007cfbd
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
je 0x1007ceb7
cmp dword [esp + 0xb0], 0
jg 0x1007ce00
xor esi, esi
jmp 0x1007d3be
mov edi, dword [ebp + 0x38]
cmp edi, dword [ebp + 0x3c]
lea ebx, [ebp + 0x34]
jbe 0x1007cff1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
mov dword [esp + 0x2c], esi
jbe 0x1007d003
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, ebx
je 0x1007d00d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x1007d12f
cmp edi, dword [ebx + 8]
jb 0x1007d020
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
mov ecx, eax
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x30], edx
cdq
and edx, 7
add eax, edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x30]
sar eax, 3
mov al, byte [eax + edx]
test al, cl
je 0x1007d118
cmp edi, dword [ebx + 8]
jb 0x1007d05f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x28]
test ecx, ecx
mov esi, dword [edi + 4]
je 0x1007d075
mov eax, dword [ebp + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x1007d07b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x28]
test dword [ecx + esi*8], 0x20000
je 0x1007d118
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x9c], 3
cmp edi, dword [ebx + 8]
jb 0x1007d0ac
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xb8]
push ecx
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x5c]
push eax
push ecx
push ebp
call fcn.1007d850
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, esi
je 0x1007d10c
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
cmp edi, dword [ebx + 8]
jb 0x1007d123
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x2c]
add edi, 0x14
jmp 0x1007d003
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x9c], 4
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x1007d153
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
mov dword [esp + 0x2c], esi
jbe 0x1007d165
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, ebx
je 0x1007d16f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x1007d2ca
cmp edi, dword [ebx + 8]
jb 0x1007d182
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
mov ecx, eax
and ecx, 7
mov edx, 0x80
sar edx, cl
mov dword [esp + 0x30], edx
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0xa8]
mov ecx, dword [edx]
sar eax, 3
mov dl, byte [eax + ecx]
mov eax, dword [esp + 0x30]
test dl, al
je 0x1007d2b0
cmp edi, dword [ebx + 8]
jb 0x1007d1c1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x28]
test ecx, ecx
mov esi, dword [edi + 4]
je 0x1007d1d7
mov eax, dword [ebp + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x1007d1dd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x28]
test dword [eax + esi*8], 0x1c0000
je 0x1007d2b0
cmp edi, dword [ebx + 8]
jb 0x1007d1f8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jne 0x1007d203
xor eax, eax
jmp 0x1007d20b
mov eax, dword [ebp + 0x2c]
sub eax, ecx
sar eax, 3
mov ecx, dword [edi + 4]
add ecx, 1
cmp ecx, eax
jne 0x1007d21a
mov ebx, dword [ebp + 0x58]
jmp 0x1007d21d
mov ebx, dword [ebp + 0x54]
xor esi, esi
test ebx, ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1b], 0
mov dword [esp + 0x20], esi
jle 0x1007d2b0
cmp edi, dword [ebp + 0x3c]
jb 0x1007d23f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 8]
mov ecx, dword [edx + esi*8 + 4]
lea eax, [edx + esi*8]
and ecx, 0xc000
cmp ecx, 0x4000
jne 0x1007d29e
mov edx, dword [eax]
cmp edx, dword [esp + 0xb8]
je 0x1007d29e
cmp edi, dword [ebp + 0x3c]
jb 0x1007d26d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
movzx eax, word [esp + 0x20]
mov ecx, dword [edi + 4]
shl eax, 0x13
and ecx, 0x7ffff
or eax, ecx
lea ebx, [esp + 0x30]
lea esi, [esp + 0x70]
mov dword [esp + 0x30], eax
call fcn.1007eb90
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov byte [esp + 0x1b], 1
add esi, 1
cmp esi, ebx
mov dword [esp + 0x20], esi
jl 0x1007d234
cmp byte [esp + 0x1b], 0
jne 0x1007d2ca
cmp edi, dword [ebp + 0x3c]
lea ebx, [ebp + 0x34]
jb 0x1007d2be
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x2c]
add edi, 0x14
jmp 0x1007d165
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0xac]
push edx
push edi
lea eax, [esp + 0x68]
call fcn.1007c4f0
xor esi, esi
add esp, 8
cmp eax, esi
jg 0x1007d306
mov eax, dword [esp + 0x74]
cmp eax, esi
je 0x1007d3b2
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x1007d3b2
push eax
push edi
lea eax, [esp + 0x58]
call fcn.1007c4f0
add esp, 8
test eax, eax
jle 0x1007d2ec
test byte [esp + 0xc0], 4
jne 0x1007d2ec
mov ebx, dword [esp + 0x74]
cmp ebx, esi
je 0x1007d3b0
mov esi, dword [esp + 0x78]
sub esi, ebx
sar esi, 2
je 0x1007d39f
mov eax, dword [0x1014dd28]
mov edx, dword [0x101518d0]
mov ecx, eax
shl ecx, 0xb
xor ecx, eax
mov eax, dword [0x101518cc]
mov dword [0x101518cc], edx
mov dword [0x1014dd28], eax
mov eax, dword [0x101518d4]
mov edx, eax
shr edx, 0xb
xor edx, ecx
shr edx, 8
xor edx, ecx
mov dword [0x101518d0], eax
xor eax, edx
xor edx, edx
mov dword [0x101518d4], eax
div esi
mov edi, edx
cmp edi, esi
jb 0x1007d38c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0xac]
lea ebx, [ebx + edi*4]
call fcn.1007eb90
mov ebx, dword [esp + 0x74]
xor esi, esi
cmp ebx, esi
je 0x1007d3b2
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x1007d3b2
xor esi, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x1007d3d2
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x1007d3e3
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x64]
cmp eax, esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
je 0x1007d400
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x24