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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd8
push esi
mov dword [ebp - 0xc0], 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 + 4]
push edx
mov eax, dword [ecx]
push eax
call sub.ntdll.dll__allmul
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 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 + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
call sub.ntdll.dll__allmul
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx + 0xc]
cdq
push edx
push eax
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call sub.ntdll.dll__allmul
push eax
call fcn.0108b3e0
add esp, 4
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x1167b0c
call fcn.010906a0
mov dword [ebp - 0xc4], eax
push 0x2f4
push 0x101326c
call fcn.01165d80
push eax
push 0x1011ab8
mov edx, dword [ebp - 0xc4]
push edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
add esp, 0xc
xor eax, eax
jmp 0x11683f5
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0xc]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call sub.ntdll.dll__allmul
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0xc0]
cmp dword [ecx + 0xc], 0x200
jne 0x1167b5b
push 0x6c00
push 0x1055468
mov edx, dword [ebp - 0x24]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
jmp 0x1167bcd
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 0xc], 0x200
jle 0x1167bcd
mov ecx, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xc0]
mov eax, dword [ecx + 0x10]
cdq
idiv dword [esi + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], 0
jmp 0x1167b92
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x54]
jge 0x1167bcd
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0xc]
push edx
push 0x400
mov eax, dword [ebp - 0x58]
shl eax, 0xa
add eax, 0x1055468
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0x58]
imul edx, dword [ecx + 8]
add edx, dword [ebp - 0x24]
push edx
call fcn.01143820
jmp 0x1167b89
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 8]
shl ecx, 3
push ecx
push 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 8]
shl eax, 4
add eax, dword [ebp - 0x24]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0xc0]
mov eax, 0x6c00
xor edx, edx
div dword [ecx + 8]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0xc0]
cmp dword [edx + 0xc], 0x200
jle 0x1167c2c
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [eax + 0x10]
cdq
idiv dword [ecx + 8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x5c], 0
jmp 0x1167c3e
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x40]
jge 0x1167ca7
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0x5c]
imul edx, dword [ecx + 8]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
movzx ecx, word [eax + 4]
add ecx, dword [ebp - 0x64]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x68], 0
jmp 0x1167c78
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x64]
movzx ecx, word [eax + 6]
sub ecx, 1
cmp dword [ebp - 0x68], ecx
jge 0x1167ca5
mov edx, dword [ebp - 0x68]
add edx, 1
shl edx, 9
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x60]
mov cx, word [esi + ecx*2 + 2]
mov word [eax + edx - 2], cx
jmp 0x1167c6f
jmp 0x1167c35
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call sub.ntdll.dll__allmul
push eax
call fcn.0108b3e0
add esp, 4
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
jne 0x1167d1c
call fcn.010906a0
mov dword [ebp - 0xc8], eax
push 0x322
push 0x101326c
call fcn.01165d80
push eax
push 0x1011ab8
mov eax, dword [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
add esp, 0xc
xor eax, eax
jmp 0x11683f5
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx + 0xc]
cdq
push edx
push eax
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call sub.ntdll.dll__allmul
push eax
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
mov word [ebp - 0x38], 0
xor edx, edx
mov dword [ebp - 0x36], edx
mov dword [ebp - 0x32], edx
mov dword [ebp - 0x2e], edx
mov word [ebp - 0x2a], dx
lea eax, [ebp - 0x38]
push eax
call fcn.0108d6f0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.0108d740
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x6c], 0
jmp 0x1167d8d
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x40]
jge 0x1168117
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0x6c]
imul edx, dword [ecx + 8]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x6c]
imul ecx, dword [eax + 8]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x6c], 0x10
jl 0x1167dcd
cmp dword [ebp - 0x6c], 0x17
jg 0x1167dcd
jmp 0x1167d84
mov edx, dword [ebp - 0x74]
movzx eax, word [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x80]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x80]
mov dword [eax], 0x454c4946
mov ecx, dword [ebp - 0x74]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x6c]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 8]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 8]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
add eax, 1
mov ecx, dword [ebp - 0x80]
mov word [ecx + 6], ax
mov edx, dword [ebp - 0x74]
movzx eax, word [edx + 0x14]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx + 0x14]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x70]
cmp dword [eax], 0xffffffff
je 0x11680ea
mov ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x70]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
cmp dword [edx], 0xffffffff
jne 0x1167e71
jmp 0x11680ea
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 4]
add eax, 7
and eax, 0xfffffff8
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x84]
mov eax, dword [edx]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
sub ecx, 0x10
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0xcc], 0xa0
ja case.0x1167eef.1
mov edx, dword [ebp - 0xcc]
movzx eax, byte [edx + 0x1168420]
jmp dword [eax*4 + 0x11683fc]
mov ecx, dword [ebp - 0x84]
movzx edx, word [ecx + 0x14]
add edx, dword [ebp - 0x84]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x1c], edx
jmp case.0x1167eef.1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.0116b010
jmp case.0x1167eef.1
cmp dword [ebp - 0x6c], 5
jne 0x1167fba
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 0xa0]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [eax + 0x88]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
push ecx
mov edx, dword [eax + 0x78]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.0116a580
jmp case.0x1167eef.1
cmp dword [ebp - 0x6c], 3
jne 0x1167fdb
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0xc0]
call fcn.0116ae90
jmp case.0x1167eef.1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.0116ac20
jmp case.0x1167eef.1
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xc0]
call fcn.0116b2b0
jmp case.0x1167eef.1
cmp dword [ebp - 0x6c], 5
jne 0x116805f
mov edx, dword [ebp + 0xc]
mov ax, word [edx + 0xa0]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
push edx
mov eax, dword [ecx + 0xa0]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x94]
push edx
mov eax, dword [ecx + 0x90]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xc0]
call fcn.0116a580
jmp case.0x1167eef.1
cmp dword [ebp - 0x6c], 0
jne case.0x1167eef.1
mov edx, dword [ebp + 0xc]
mov ax, word [edx + 0xa0]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ecx + 0x28]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ecx + 0x18]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xc0]
call fcn.0116a580
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 4]
add eax, 7
and eax, 0xfffffff8
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x70]
add eax, dword [edx + 4]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x7c]
add edx, dword [ecx + 4]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x84]
add ecx, dword [edx + 4]
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x18], ecx
jmp 0x1167e46
mov ecx, dword [ebp - 0x80]
add ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
add ecx, 8
mov edx, dword [ebp - 0x80]
mov dword [edx + 0x18], ecx
jmp 0x1167d84
mov dword [ebp - 0x90], 0
jmp 0x1168132
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [ebp - 0x40]
jge 0x11681f7
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x90]
imul eax, dword [edx + 8]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
movzx edx, word [ecx + 4]
add edx, dword [ebp - 0x98]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x9c], 0
jmp 0x116818b
mov eax, dword [ebp - 0x9c]
add eax, 1
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx + 8]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
cmp dword [ebp - 0x9c], eax
jge 0x11681f2
mov edx, dword [ebp - 0x9c]
add edx, 1
shl edx, 9
mov eax, dword [ebp - 0x98]
lea ecx, [eax + edx - 2]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xa0]
mov cx, word [ecx]
mov word [eax + edx*2 + 2], cx
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x94]
mov cx, word [eax]
mov word [edx], cx
jmp 0x116817c
jmp 0x1168123
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0xa0]
cdq
mov ecx, dword [ebp + 8]
push edx
push eax
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ecx + 0x38]
push eax
call sub.ntdll.dll__allmul
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0xc]
cdq
push edx
push eax
push esi
push ecx
call sub.ntdll.dll__allmul
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.0108b3e0
add esp, 4
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xac]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 4], 0
jne 0x1168299
call fcn.010906a0
mov dword [ebp - 0xd0], eax
push 0x3a9
push 0x101326c
call fcn.01165d80
push eax
push 0x1011ab8
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
add esp, 0xc
xor eax, eax
jmp 0x11683f5
mov edx, dword [ebp - 0x28]
push edx
push 0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 4]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.010980a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x116834d
call fcn.010906a0
mov dword [ebp - 0xd4], eax
push 0x3b6
push 0x101326c
call fcn.01165d80
push eax
push 0x100ee8c
mov edx, dword [ebp - 0xd4]
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.0108b400
add esp, 4
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
call fcn.0108b400
add esp, 4
xor eax, eax
jmp 0x11683f5
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
add ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0xc]
adc edx, dword [ebp - 0x1c]
push edx
push ecx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.011676c0
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 4]
push edx
call fcn.01140d10
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.0108b400
add esp, 4
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
push eax
call fcn.0108b400
add esp, 4
cmp dword [ebp - 0x44], 0
jne 0x11683f0
call fcn.010906a0
mov dword [ebp - 0xd8], eax
push 0x3c3
push 0x101326c
call fcn.01165d80
push eax
push 0x10133b8
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
add esp, 0xc
xor eax, eax
jmp 0x11683f5
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8