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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x84c4
call sub.ntdll.dll__chkstk
mov dword [ebp - 0x8494], ecx
push 1
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x24]
call eax
call fcn.0108d4a0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.010c46d0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x8494]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x8494]
mov eax, dword [edx + 0x18]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
push eax
call fcn.010c46d0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ecx + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x8494]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x8494]
mov ecx, dword [ecx + 0x18]
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
push eax
call fcn.010c47a0
mov dword [ebp - 0x3c], eax
push 5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
call eax
push 0x32
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
push 0x64
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x18]
or ecx, dword [ebp - 0x14]
jne 0x10d509e
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x44], eax
jmp 0x10d5039
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x10d5099
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x3c]
call eax
movzx ecx, al
test ecx, ecx
je 0x10d5097
mov byte [ebp - 0x4048], 0
push 0x3fff
push 0
lea edx, [ebp - 0x4047]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
push 0
push 1
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x1c]
call eax
push edx
push eax
lea ecx, [ebp - 0x4048]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x10]
call edx
jmp 0x10d5029
jmp 0x10d5159
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x404c], eax
jmp 0x10d50c6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x404c], eax
cmp dword [ebp - 0x404c], 0
je 0x10d5159
mov ecx, dword [ebp - 0x404c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x404c]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x849c], eax
mov dword [ebp - 0x8498], edx
mov ecx, dword [ebp - 0x849c]
cmp ecx, dword [ebp - 0x18]
jne 0x10d5154
mov edx, dword [ebp - 0x8498]
cmp edx, dword [ebp - 0x14]
jne 0x10d5154
mov byte [ebp - 0x8050], 0
push 0x3fff
push 0
lea eax, [ebp - 0x804f]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push 0
push 1
mov ecx, dword [ebp - 0x404c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x404c]
mov eax, dword [edx + 0x1c]
call eax
push edx
push eax
lea ecx, [ebp - 0x8050]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x10]
call edx
jmp 0x10d5159
jmp 0x10d50b3
push 0xa
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
call eax
push 0
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
je 0x10d52f2
cmp dword [ebp - 0x14], 0
jl 0x10d52f2
jg 0x10d5197
cmp dword [ebp - 0x18], 0
jbe 0x10d52f2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.010c2e90
test eax, eax
jne 0x10d51f3
call fcn.010906a0
mov dword [ebp - 0x84a0], eax
push 0xbd2
push 0x100add4
call fcn.010cda00
push eax
push 0x100ba30
mov edx, dword [ebp - 0x84a0]
push edx
mov eax, dword [ebp - 0x84a0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
add esp, 0xc
push 0x18
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
call eax
xor eax, eax
jmp 0x10d57e6
mov dword [ebp - 0x8058], 0
call fcn.010905a0
mov dword [ebp - 0x8054], eax
push 0x64
call fcn.0108d6a0
mov ecx, dword [ebp - 0x8058]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 8]
call edx
mov word [ebp - 0x8458], 0
push 0x3fe
push 0
lea eax, [ebp - 0x8456]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ecx + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
push 0x200
lea eax, [ebp - 0x8458]
push eax
mov ecx, dword [ebp - 0x8054]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x8054]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
jne 0x10d5279
jmp 0x10d5297
mov ecx, dword [ebp - 0x8058]
mov edx, dword [ebp - 0x8058]
add edx, 1
mov dword [ebp - 0x8058], edx
cmp ecx, 0x64
jl 0x10d5208
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x8494]
call fcn.010c9780
test eax, eax
jne 0x10d52f2
call fcn.010906a0
mov dword [ebp - 0x84a4], eax
push 0xbea
push 0x100add4
call fcn.010cda00
push eax
push 0x100ba04
mov eax, dword [ebp - 0x84a4]
push eax
mov ecx, dword [ebp - 0x84a4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
add esp, 0xc
xor eax, eax
jmp 0x10d57e6
push 0x64
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
push 0x55
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x14], 0
jl 0x10d5388
jg 0x10d5331
cmp dword [ebp - 0x18], 0
jbe 0x10d5388
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x44]
call eax
mov dword [ebp - 0x84ac], eax
mov dword [ebp - 0x84a8], edx
mov ecx, dword [ebp - 0x84a8]
cmp ecx, dword [ebp - 0x24]
jl 0x10d5388
jg 0x10d5375
mov edx, dword [ebp - 0x84ac]
cmp edx, dword [ebp - 0x28]
jbe 0x10d5388
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x44]
call eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call sub.ntdll.dll__allmul
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x58]
call edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x845c], 0
jmp 0x10d53e3
mov eax, dword [ebp - 0x845c]
add eax, 1
mov dword [ebp - 0x845c], eax
mov ecx, dword [ebp - 0x845c]
cmp ecx, dword [ebp - 0xc]
jge 0x10d57c0
mov eax, 0x400000
xor edx, edx
div dword [ebp - 0x1c]
mov dword [ebp - 0x8464], eax
mov eax, dword [ebp - 0x8464]
cdq
push edx
push eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
call sub.ntdll.dll__allrem
mov dword [ebp - 0x8460], eax
mov eax, dword [ebp - 0x8464]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call sub.ntdll.dll__alldiv
mov dword [ebp - 0x8468], eax
cmp dword [ebp - 0x8468], 0
je 0x10d561f
mov eax, dword [ebp - 0x8464]
imul eax, dword [ebp - 0x1c]
push eax
call fcn.0108b3e0
add esp, 4
mov dword [ebp - 0x8480], eax
mov ecx, dword [ebp - 0x8480]
mov dword [ebp - 0x846c], ecx
mov edx, dword [ebp - 0x8464]
imul edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x846c]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x8470], 0
jmp 0x10d54a3
mov ecx, dword [ebp - 0x8470]
add ecx, 1
mov dword [ebp - 0x8470], ecx
mov edx, dword [ebp - 0x8470]
cmp edx, dword [ebp - 0x8468]
jae 0x10d5604
mov eax, dword [ebp - 0x8464]
cdq
push edx
push eax
mov eax, dword [ebp - 0x8470]
imul eax, dword [ebp - 0x8464]
cdq
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
adc ecx, edx
push ecx
push eax
mov edx, dword [ebp - 0x846c]
push edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
mov eax, dword [ebp - 0x8464]
cdq
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
adc ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
fild qword [ebp - 0x30]
fild qword [ebp - 0x38]
fdivp st(1)
fmul qword [0x10061d0]
fistp qword [ebp - 0x84b4]
mov edx, dword [ebp - 0x84b4]
mov dword [ebp - 0x8474], edx
call fcn.0108d4a0
sub eax, dword [ebp - 0x40]
cmp eax, 0x3e8
jb 0x10d5586
mov eax, dword [ebp - 0x845c]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp - 0x8470]
add eax, 1
imul eax, dword [ebp - 0x8464]
cdq
push edx
push eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x58]
call eax
push eax
call fcn.010c3310
mov ecx, dword [ebp - 0x8474]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 8]
call edx
call fcn.0108d4a0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
je 0x10d55ff
push 0x17
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
call eax
call fcn.010906a0
mov dword [ebp - 0x84b8], eax
push 0xc1e
push 0x100add4
call fcn.010cda00
push eax
push 0x100b148
mov ecx, dword [ebp - 0x84b8]
push ecx
mov edx, dword [ebp - 0x84b8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
add esp, 0xc
mov edx, dword [ebp - 0x846c]
mov dword [ebp - 0x8484], edx
mov eax, dword [ebp - 0x8484]
push eax
call fcn.0108b400
add esp, 4
xor eax, eax
jmp 0x10d57e6
jmp 0x10d5494
mov ecx, dword [ebp - 0x846c]
mov dword [ebp - 0x8488], ecx
mov edx, dword [ebp - 0x8488]
push edx
call fcn.0108b400
add esp, 4
cmp dword [ebp - 0x8460], 0
je 0x10d5760
mov eax, dword [ebp - 0x8460]
imul eax, dword [ebp - 0x1c]
push eax
call fcn.0108b3e0
add esp, 4
mov dword [ebp - 0x848c], eax
mov ecx, dword [ebp - 0x848c]
mov dword [ebp - 0x8478], ecx
mov edx, dword [ebp - 0x8460]
imul edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x8478]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x8460]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x8468]
imul eax, dword [ebp - 0x8464]
xor ecx, ecx
add eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
adc edx, ecx
push edx
push eax
mov eax, dword [ebp - 0x8478]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x8460]
xor edx, edx
add ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
adc eax, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
fild qword [ebp - 0x30]
fild qword [ebp - 0x38]
fdivp st(1)
fmul qword [0x10061d0]
fistp qword [ebp - 0x84c0]
mov ecx, dword [ebp - 0x84c0]
mov dword [ebp - 0x847c], ecx
call fcn.0108d4a0
sub eax, dword [ebp - 0x40]
cmp eax, 0x3e8
jb 0x10d5745
mov edx, dword [ebp - 0x845c]
add edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x8468]
imul ecx, dword [ebp - 0x8464]
add ecx, dword [ebp - 0x8460]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x58]
call edx
push eax
call fcn.010c3310
mov eax, dword [ebp - 0x847c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
call fcn.0108d4a0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x8478]
mov dword [ebp - 0x8490], ecx
mov edx, dword [ebp - 0x8490]
push edx
call fcn.0108b400
add esp, 4
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
je 0x10d57bb
push 0x17
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
call eax
call fcn.010906a0
mov dword [ebp - 0x84c4], eax
push 0xc3c
push 0x100add4
call fcn.010cda00
push eax
push 0x100b148
mov ecx, dword [ebp - 0x84c4]
push ecx
mov edx, dword [ebp - 0x84c4]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
add esp, 0xc
xor eax, eax
jmp 0x10d57e6
jmp 0x10d53d4
push 0x64
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 8]
call edx
push 0x10049ac
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x38]
call eax
mov eax, 1
mov esp, ebp
pop ebp
ret 8