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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1182f76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
push ebx
push esi
push edi
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0xa0]
cdq
mov ecx, dword [ebp + 8]
push edx
push eax
mov edx, dword [ecx + 0xac]
push edx
mov eax, dword [ecx + 0xa8]
push eax
call sub.ntdll.dll__allmul
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + 0xa0]
cdq
mov ecx, dword [ebp + 8]
push edx
push eax
mov edx, dword [ecx + 0xb4]
push edx
mov eax, dword [ecx + 0xb0]
push eax
call sub.ntdll.dll__allmul
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.010980a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1168bbd
call fcn.010906a0
mov dword [ebp - 0x154], eax
push 0x455
push 0x101326c
call fcn.01165d80
push eax
push 0x100ee8c
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
add esp, 0xc
xor eax, eax
jmp 0x11697a9
mov ecx, dword [ebp - 0x150]
mov eax, 0x400000
cdq
idiv dword [ecx + 0xc]
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.ntdll.dll__alldiv
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call sub.ntdll.dll__allrem
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x158], eax
fild dword [ebp - 0x158]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x70]
fstp qword [ebp - 0x160]
call eax
mov dword [ebp - 0x164], eax
fild dword [ebp - 0x164]
fdivr qword [0x10061d0]
fmul qword [ebp - 0x160]
call fcn.01116030
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x150]
mov eax, dword [ecx + 0xc]
cdq
push edx
push eax
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call sub.ntdll.dll__allmul
push eax
call fcn.0108b3e0
add esp, 4
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x1168cca
call fcn.010906a0
mov dword [ebp - 0x168], eax
push 0x464
push 0x101326c
call fcn.01165d80
push eax
push 0x1011ab8
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
add esp, 0xc
xor eax, eax
jmp 0x11697a9
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 0xc]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call sub.ntdll.dll__allmul
push eax
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
jmp 0x1168d14
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov edx, dword [ebp - 0x58]
adc edx, 0
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x38]
jg 0x1168e86
jl 0x1168d2e
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x3c]
jae 0x1168e86
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 8]
add esi, dword [ebp - 0x1c]
mov edi, dword [edx + 0xc]
adc edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call sub.ntdll.dll__allmul
add esi, eax
adc edi, edx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], edi
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.011676c0
test eax, eax
jne 0x1168ddc
call fcn.010906a0
mov dword [ebp - 0x16c], eax
push 0x470
push 0x101326c
call fcn.01165d80
push eax
push 0x10134d0
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.01140d10
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.0108b400
add esp, 4
xor eax, eax
jmp 0x11697a9
fild dword [ebp - 0x40]
fild qword [ebp - 0x5c]
fild qword [ebp - 0x3c]
fdivp st(1)
fmul qword [0x10134c8]
faddp st(1)
call fcn.01116030
push eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
je 0x1168e81
push 0x17
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x20]
call eax
call fcn.010906a0
mov dword [ebp - 0x170], eax
push 0x47c
push 0x101326c
call fcn.01165d80
push eax
push 0x100b148
mov ecx, dword [ebp - 0x170]
push ecx
mov edx, dword [ebp - 0x170]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.01140d10
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.0108b400
add esp, 4
xor eax, eax
jmp 0x11697a9
jmp 0x1168d02
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x124]
push eax
call fcn.0108b400
add esp, 4
mov ecx, dword [ebp - 0x150]
mov eax, dword [ecx + 0xc]
cdq
push edx
push eax
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
call sub.ntdll.dll__allmul
push eax
call fcn.0108b3e0
add esp, 4
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x1168f13
call fcn.010906a0
mov dword [ebp - 0x174], eax
push 0x489
push 0x101326c
call fcn.01165d80
push eax
push 0x1011ab8
mov edx, dword [ebp - 0x174]
push edx
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
add esp, 0xc
xor eax, eax
jmp 0x11697a9
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 0xc]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call sub.ntdll.dll__allmul
push eax
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 8]
add esi, dword [ebp - 0x1c]
mov edi, dword [ecx + 0xc]
adc edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call sub.ntdll.dll__allmul
add esi, eax
adc edi, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.011676c0
test eax, eax
jne 0x1168fe9
call fcn.010906a0
mov dword [ebp - 0x178], eax
push 0x491
push 0x101326c
call fcn.01165d80
push eax
push 0x10134d0
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.01140d10
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0108b400
add esp, 4
xor eax, eax
jmp 0x11697a9
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
push edx
call fcn.0108b400
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc0]
mov dword [ebp - 0x7c], ecx
mov edx, dword [eax + 0xc4]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xc8]
add edx, dword [ecx + 0x20]
mov eax, dword [eax + 0xcc]
adc eax, dword [ecx + 0x24]
mov ecx, dword [ebp + 8]
add edx, dword [ecx + 8]
adc eax, dword [ecx + 0xc]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x84]
add edx, 7
mov eax, dword [ebp - 0x80]
adc eax, 0
and edx, 0xfffffff8
push 0
push 8
push eax
push edx
call sub.ntdll.dll__alldiv
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0xa0]
lea ecx, [eax + edx - 1]
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0xc]
sub eax, 1
not eax
and ecx, eax
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0xa0]
add edx, dword [ecx + 0xc]
mov dword [ebp - 0xa0], edx
mov ecx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xa0]
cdq
idiv dword [ecx + 0xc]
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x9c]
call fcn.01180e20
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xa0]
shl eax, 3
cdq
push edx
push eax
lea ecx, [ebp - 0x9c]
call fcn.01180e80
test eax, eax
jne 0x1169114
mov edx, dword [ebp - 0x10]
push edx
call fcn.01140d10
mov dword [ebp - 0x134], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.01180e60
mov eax, dword [ebp - 0x134]
jmp 0x11697a9
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 0xc]
shl eax, 3
cdq
push edx
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
call sub.ntdll.dll__allrem
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x9c]
call fcn.01181100
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 8]
add esi, dword [ebp - 0x1c]
mov edi, dword [ecx + 0xc]
adc edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0xc]
shl eax, 3
cdq
push edx
push eax
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
call sub.ntdll.dll__alldiv
add esi, eax
adc edi, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], edi
mov eax, dword [ebp - 0xa4]
cdq
push edx
push eax
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.011814c0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.011676c0
test eax, eax
jne 0x116921a
call fcn.010906a0
mov dword [ebp - 0x17c], eax
push 0x4b7
push 0x101326c
call fcn.01165d80
push eax
push 0x1013498
mov edx, dword [ebp - 0x17c]
push edx
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.01140d10
mov dword [ebp - 0x138], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.01180e60
mov eax, dword [ebp - 0x138]
jmp 0x11697a9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.01180e60
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xbc], edx
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x38]
add eax, dword [edx + 0x50]
mov ecx, dword [ecx + 0x3c]
adc ecx, dword [edx + 0x54]
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x68]
adc ecx, dword [edx + 0x6c]
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x80]
adc ecx, dword [edx + 0x84]
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x98]
adc ecx, dword [edx + 0x9c]
mov edx, dword [ebp + 8]
add eax, dword [edx + 0xb0]
adc ecx, dword [edx + 0xb4]
mov edx, dword [ebp + 8]
add eax, dword [edx + 0xe0]
adc ecx, dword [edx + 0xe4]
mov edx, dword [ebp + 8]
add eax, dword [edx + 0xf8]
adc ecx, dword [edx + 0xfc]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0xc4]
add eax, 7
mov ecx, dword [ebp - 0xc0]
adc ecx, 0
and eax, 0xfffffff8
push 0
push 8
push ecx
push eax
call sub.ntdll.dll__alldiv
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0xe0]
lea edx, [ecx + eax - 1]
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0xc]
sub ecx, 1
not ecx
and edx, ecx
mov dword [ebp - 0xe0], edx
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xe0]
add eax, dword [edx + 0xc]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ecx + 0xc]
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0xdc]
call fcn.01180e20
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xe0]
shl eax, 3
cdq
push edx
push eax
lea ecx, [ebp - 0xdc]
call fcn.01180e80
test eax, eax
jne 0x116938a
mov edx, dword [ebp - 0x10]
push edx
call fcn.01140d10
mov dword [ebp - 0x13c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.01180e60
mov eax, dword [ebp - 0x13c]
jmp 0x11697a9
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 0xc]
shl eax, 3
cdq
push edx
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
call sub.ntdll.dll__allrem
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xdc]
call fcn.01181100
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 8]
add esi, dword [ebp - 0x1c]
mov edi, dword [ecx + 0xc]
adc edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0xc]
shl eax, 3
cdq
push edx
push eax
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
call sub.ntdll.dll__alldiv
add esi, eax
adc edi, edx
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], edi
mov eax, dword [ebp - 0xe4]
cdq
push edx
push eax
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0xdc]
call fcn.011814c0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.011676c0
test eax, eax
jne 0x11694b7
call fcn.010906a0
mov dword [ebp - 0x180], eax
push 0x4e2
push 0x101326c
call fcn.01165d80
push eax
push 0x1013464
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x180]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.01140d10
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.01180e60
mov eax, dword [ebp - 0x140]
jmp 0x11697a9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.01180e60
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 8]
add esi, dword [ebp - 0x1c]
mov edi, dword [ecx + 0xc]
adc edi, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xb0]
sub ecx, 1
mov ebx, dword [edx + 0xb4]
sbb ebx, 0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0xa0]
cdq
push edx
push eax
push ebx
push ecx
call sub.ntdll.dll__allmul
add esi, eax
adc edi, edx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf0], edi
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0xa0]
mov edx, dword [ebp - 0x150]
imul ecx, dword [edx + 0xc]
push ecx
call fcn.0108b3e0
add esp, 4
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
jne 0x1169587
call fcn.010906a0
mov dword [ebp - 0x184], eax
push 0x4f2
push 0x101326c
call fcn.01165d80
push eax
push 0x1011ab8
mov ecx, dword [ebp - 0x184]
push ecx
mov edx, dword [ebp - 0x184]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
add esp, 0xc
xor eax, eax
jmp 0x11697a9
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0xa0]
mov ecx, dword [ebp - 0x150]
imul eax, dword [ecx + 0xc]
push eax
push 0
mov edx, dword [ebp - 0xe8]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
sub ecx, 1
mov edx, dword [eax + 0x14]
sbb edx, 0
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], edx
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0xa0]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call sub.ntdll.dll__alldiv
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], edx
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0xa0]
cdq
mov ecx, dword [ebp + 8]
push edx
push eax
mov edx, dword [ecx + 0xb4]
push edx
mov eax, dword [ecx + 0xb0]
push eax
call sub.ntdll.dll__allmul
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0xc]
cdq
push edx
push eax
push esi
push ecx
call sub.ntdll.dll__allmul
push 0
push 8
push edx
push eax
call sub.ntdll.dll__allmul
sub eax, dword [ebp - 0x104]
sbb edx, dword [ebp - 0x100]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0xa0]
mov edx, dword [ebp - 0x150]
imul ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x110]
cdq
and edx, 7
add eax, edx
sar eax, 3
sub ecx, eax
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0xa0]
mov edx, dword [ebp - 0x150]
imul ecx, dword [edx + 0xc]
sub ecx, dword [ebp - 0xf8]
push ecx
push 0xff
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0xf8]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
cmp dword [ebp - 0xf8], 0
jle 0x11696f2
mov ecx, dword [ebp - 0x110]
and ecx, 0x80000007
jns 0x11696c7
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, 8
sub edx, ecx
mov eax, 0xff
mov ecx, edx
shl eax, cl
mov byte [ebp - 0x111], al
mov ecx, dword [ebp - 0xe8]
add ecx, dword [ebp - 0xf8]
mov dl, byte [ebp - 0x111]
mov byte [ecx - 1], dl
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0xa0]
cdq
push edx
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.011676c0
test eax, eax
jne 0x1169780
call fcn.010906a0
mov dword [ebp - 0x188], eax
push 0x508
push 0x101326c
call fcn.01165d80
push eax
push 0x1013428
mov edx, dword [ebp - 0x188]
push edx
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
add esp, 0xc
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.0108b400
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call fcn.01140d10
xor eax, eax
jmp 0x11697a9
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.0108b400
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call fcn.01140d10
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc