Function at 0x1006f260
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011e018
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edx, dword [0x101556f4]
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [0x101556f0]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x33c]
mov dword [eax + 0x114], ecx
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x340]
mov dword [eax + 0x118], edx
movzx ecx, word [ebx + 0x348]
mov dword [eax + 0x10c], ecx
mov edx, dword [ebx + 0x10c]
mov edi, dword [ebx + 0x124]
mov esi, dword [ebx + 0x94]
mov ecx, dword [ebx + 0x7c]
add edi, edx
add edi, dword [ebx + 0xf4]
mov dword [esp + 0x10], ebx
add edi, esi
add edi, ecx
mov dword [eax + 0x2c], edi
mov esi, dword [ebx + 0xc4]
mov edi, dword [ebx + 0xdc]
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x4c]
add edi, esi
add edi, dword [ebx + 0xac]
lea esi, [ebx + 0x21c]
add edi, edx
add edi, ecx
mov dword [eax + 0x28], edi
mov ecx, dword [ebx + 0x7c]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [eax + 0x30], ecx
mov edx, dword [ebx + 0x240]
mov dword [eax + 0x48], edx
mov ecx, dword [ebx + 0x244]
mov dword [eax + 0x4c], ecx
mov edx, dword [ebx + 0x248]
mov dword [eax + 0x50], edx
mov ecx, dword [ebx + 0x24c]
mov dword [eax + 0x54], ecx
mov edx, dword [ebx + 0x250]
mov dword [eax + 0x58], edx
lea edi, [eax + 0xc]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x338]
mov dword [eax + 0x100], ecx
mov edx, dword [ebx + 0x40]
mov dword [eax + 0x104], edx
mov ecx, dword [ebx + 0x44]
mov dword [eax + 0x108], ecx
mov edx, dword [ebx + 0x2f0]
lea edi, [ebx + 0x280]
mov dword [eax + 0x110], edx
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esp + 0x2c], eax
je 0x1006f3ac
mov edx, dword [edi + 8]
sub edx, ecx
sar edx, 3
jne 0x1006f3b8
mov dword [eax + 0x8c], 0xffffffff
jmp 0x1006f3ff
mov eax, dword [ebx + 0x1a0]
sub eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x1a4]
sbb ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.100b5b80
add esp, 8
push 0
push 0xf4240
push edx
push eax
call fcn.1010e550
mov ecx, dword [ebx + 0x138]
mov edx, dword [ecx + 0x7c]
add edx, dword [ebx + 0x2e0]
add edx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], edx
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.10068d20
mov edx, dword [eax]
mov esi, dword [esp + 0x2c]
mov dword [esi + 0x80], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x84], eax
mov ecx, dword [ebx + 0x2e4]
mov dword [esi + 0x88], ecx
mov dl, byte [ebx + 0x15c]
mov byte [esi + 0xa4], dl
mov al, byte [ebx + 0x15d]
mov byte [esi + 0xa5], al
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0x8c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x1006f474
mov dword [esi + 0x68], 0xffffffff
jmp 0x1006f477
mov dword [esi + 0x68], eax
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x1006f487
mov dword [esi + 0x6c], 0xffffffff
jmp 0x1006f48a
mov dword [esi + 0x6c], eax
mov eax, dword [ebx + 0x1c8]
mov ecx, dword [ebx + 0x1cc]
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x1006f4ad
xor ecx, ecx
jmp 0x1006f4b5
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
mov edx, dword [ebx + 0x274]
test edx, edx
jne 0x1006f4c3
xor eax, eax
jmp 0x1006f4ce
mov eax, dword [ebx + 0x278]
sub eax, edx
sar eax, 3
add eax, ecx
mov dword [esi + 0xb0], eax
mov eax, dword [ebx + 0x2c4]
test eax, eax
jne 0x1006f4e4
xor edx, edx
jmp 0x1006f4ef
mov edx, dword [ebx + 0x2c8]
sub edx, eax
sar edx, 2
mov ecx, dword [ebx + 0x274]
test ecx, ecx
jne 0x1006f4fd
xor eax, eax
jmp 0x1006f508
mov eax, dword [ebx + 0x278]
sub eax, ecx
sar eax, 3
add eax, edx
mov dword [esi + 0xbc], eax
test byte [ebx + 0x34f], 0x10
mov eax, 1
jne 0x1006f525
movzx eax, byte [ebx + 0x34b]
mov dword [esi + 0xc0], eax
mov eax, dword [ebx + 0x264]
xor ecx, ecx
cmp eax, ecx
jne 0x1006f53b
xor eax, eax
jmp 0x1006f553
mov edx, dword [ebx + 0x268]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0xc4], eax
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xb8], ecx
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x24], eax
jbe 0x1006f57b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 8]
cmp dword [edi + 4], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
jbe 0x1006f595
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
cmp edi, edi
je 0x1006f5a3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x24]
je 0x1006f5f9
cmp eax, dword [edi + 8]
jb 0x1006f5b8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
test byte [eax + 6], 2
je 0x1006f5c5
add dword [esi + 0xb4], 1
cmp eax, dword [edi + 8]
jb 0x1006f5d4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
test byte [eax + 6], 4
je 0x1006f5e1
add dword [esi + 0xb8], 1
cmp eax, dword [edi + 8]
jb 0x1006f5f0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
add eax, 8
mov dword [esp + 0x18], eax
jmp 0x1006f595
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call edx
mov al, byte [esp + 0x4c]
neg al
sbb eax, eax
test eax, 0x100230e0
je 0x1006f63a
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esi + 0xcc], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0xd0], edx
mov dword [esi + 0xd8], ecx
jmp 0x1006f651
or eax, 0xffffffff
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xd4], eax
mov edi, dword [ebx + 0x254]
mov ebx, dword [ebx + 0x258]
add esi, 0x5c
add ebx, ebx
sar ebx, 1
mov dword [esp + 0x24], esi
call fcn.10001ac0
lea eax, [ebx + 7]
cdq
and edx, 7
add eax, edx
mov edx, dword [esi]
sar eax, 3
push eax
push edi
push edx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
test byte [esi + 4], 7
je 0x1006f6c1
mov edi, dword [esi + 4]
mov ecx, dword [esi]
lea eax, [edi + edi]
sar eax, 1
add eax, 7
cdq
and edx, 7
add eax, edx
and edi, 7
sar eax, 3
lea eax, [eax + ecx - 1]
add edi, edi
sar edi, 1
mov ecx, 8
sub ecx, edi
or dl, 0xff
shl dl, cl
and byte [eax], dl
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x170]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 0x174]
mov edx, eax
sub edx, ecx
mov ecx, dword [esp + 0x20]
mov edi, ecx
sbb edi, ebx
mov ebx, dword [esp + 0x2c]
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x74], edi
mov edi, dword [esi + 0x19c]
cmp edi, dword [esi + 0x194]
lea edx, [esi + 0x190]
ja 0x1006f70b
jb 0x1006f711
mov edi, dword [esi + 0x198]
cmp edi, dword [edx]
jb 0x1006f711
lea edx, [esi + 0x198]
mov edi, dword [edx]
mov edx, dword [edx + 4]
sub eax, edi
sbb ecx, edx
mov dword [ebx + 0x7c], ecx
xor edi, edi
mov dword [ebx + 0x78], eax
mov dword [ebx], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ebx
mov ecx, esi
call edx
mov eax, esi
call fcn.10073490
neg al
sbb eax, eax
and eax, 0x400
or dword [ebx], eax
movzx eax, byte [esi + 0x34f]
mov ecx, dword [ebx]
and eax, 2
shl eax, 0xb
or eax, ecx
mov dword [ebx], eax
movzx ecx, byte [esi + 0x34f]
and ecx, 1
shl ecx, 0xd
or ecx, eax
mov dword [ebx], ecx
movzx eax, byte [esi + 0x34f]
and eax, 0x10
shl eax, 0xa
or eax, ecx
mov dword [ebx], eax
movzx ecx, byte [esi + 0x34f]
and ecx, 0x40
shl ecx, 9
or ecx, eax
mov dword [ebx], ecx
mov eax, dword [esi + 0x31c]
cmp eax, edi
je 0x1006f7d0
mov edx, dword [eax + 0x20]
shr edx, 8
and edx, 0x3f
mov dword [ebx + 4], edx
mov ecx, dword [eax + 0x18]
and ecx, 0x1f
mov dword [ebx + 0xc8], ecx
movzx edx, byte [eax + 0x16]
mov dword [ebx + 0xa0], edx
movzx ecx, byte [eax + 0x24]
and ecx, 4
shl ecx, 7
or dword [ebx], ecx
movzx edx, byte [eax + 0x1c]
mov ecx, dword [ebx]
and edx, 2
shl edx, 0xa
or edx, ecx
mov dword [ebx], edx
jmp 0x1006f7df
mov dword [ebx + 4], edi
mov dword [ebx + 0xc8], edi
mov dword [ebx + 0xa0], edi
mov eax, dword [esi + 0x334]
mov edi, dword [ebx + 0x60]
mov dword [ebx + 0xfc], eax
mov eax, dword [esi + 0x204]
mov dword [ebx + 0x90], eax
mov eax, dword [esi + 0x200]
mov dword [ebx + 0x94], eax
mov ecx, dword [esi + 0x304]
add ecx, dword [esi + 0x1e8]
add edi, edi
sub ecx, dword [esi + 0x1e0]
sar edi, 1
mov dword [ebx + 0x98], ecx
mov edx, dword [esi + 0x300]
mov dword [ebx + 0x9c], edx
mov al, byte [esi + 8]
mov byte [ebx + 9], al
mov cl, byte [esi + 9]
mov byte [ebx + 8], cl
jne 0x1006f84e
fldz
xor edi, edi
fstp dword [ebx + 0x11c]
mov dword [ebx + 0x120], edi
jmp 0x1006f8a7
mov edx, dword [esp + 0x24]
push edx
call fcn.10065230
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, edi
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jge 0x1006f874
fadd dword [0x101305b8]
fdivp st(1)
mov ecx, dword [esp + 0x24]
push ecx
fstp dword [ebx + 0x11c]
call fcn.10065230
push 0
cdq
push 0xf4240
push edx
push eax
call fcn.1010e450
push 0
push edi
push edx
push eax
call fcn.1010e3e0
mov dword [ebx + 0x120], eax
xor edi, edi
mov edx, dword [esi + 0x344]
mov dword [ebx + 0x124], edx
mov dword [esp + 0x1c], edi
call fcn.1010d600
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.1001ceb0
mov dword [esp + 0x70], edi
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x30]
call fcn.100a8a50
add ebx, 0x128
mov esi, eax
mov ecx, 7
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006f92b
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1006f92b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1006f92b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1010defb
mov esp, ebp
pop ebp
ret 4