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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov dword [ebp - 0x64], ecx
push 0
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 - 0x1c], 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 - 0x14], 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 - 0x64]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x64]
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 - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0xc], 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 - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x24], eax
jmp 0x10d43a6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10d43bb
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x3c]
call eax
jmp 0x10d4396
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x28], eax
jmp 0x10d43dd
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x10d441c
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x3c]
call eax
movzx ecx, al
test ecx, ecx
je 0x10d441a
call fcn.010905a0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 0x28]
call edx
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
call eax
jmp 0x10d43cd
push 0xa
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
call eax
push 0
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
jne 0x10d4522
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 0x30]
call eax
test eax, eax
je 0x10d44de
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
call edx
push eax
mov ecx, dword [ebp - 0x64]
call fcn.010e3490
push 0
push 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
jne 0x10d44dc
push 6
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 - 0x6c], eax
push 0xab5
push 0x100add4
call fcn.010cda00
push eax
push 0x100b9d4
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
add esp, 0xc
xor eax, eax
jmp 0x10d490b
jmp 0x10d4522
push 6
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x20]
call edx
call fcn.010906a0
mov dword [ebp - 0x70], eax
push 0xabc
push 0x100add4
call fcn.010cda00
push eax
push 0x100b9a4
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
add esp, 0xc
xor eax, eax
jmp 0x10d490b
push 0x64
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x20], 0
je 0x10d454a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x20], 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 - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x58]
call eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 0
je 0x10d48e5
cmp dword [ebp - 4], 0
ja 0x10d4596
cmp dword [ebp - 8], 0
jbe 0x10d48e5
push 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x24]
call eax
mov eax, 0x400000
xor edx, edx
div dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cdq
push edx
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.ntdll.dll__aullrem
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.ntdll.dll__aulldiv
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x10d478e
mov edx, dword [ebp - 0x34]
imul edx, dword [ebp - 0x18]
push edx
call fcn.0108b3e0
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x34]
imul ecx, dword [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x3c]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x40], 0
jmp 0x10d4629
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x38]
jae 0x10d477c
mov eax, dword [ebp - 0x34]
cdq
push edx
push eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x34]
cdq
push edx
push eax
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x40]
imul ecx, dword [ebp - 0x34]
mov dword [ebp - 0x74], ecx
fild dword [ebp - 0x74]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x80], ecx
and dword [ebp - 0x78], 0x7fffffff
fild qword [ebp - 0x7c]
and dword [ebp - 0x80], 0x80000000
mov dword [ebp - 0x84], 0
fild qword [ebp - 0x84]
fchs
faddp st(1)
fdivp st(1)
fmul qword [0x10061d0]
fistp qword [ebp - 0x8c]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x44], edx
call fcn.0108d4a0
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jb 0x10d4707
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x40]
add eax, 1
imul eax, dword [ebp - 0x34]
cdq
push edx
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x58]
call eax
push eax
call fcn.010c3310
mov ecx, dword [ebp - 0x44]
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 - 0x1c], 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 0x10d4777
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 - 0x90], eax
push 0xae9
push 0x100add4
call fcn.010cda00
push eax
push 0x100b148
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x90]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
add esp, 0xc
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.0108b400
add esp, 4
xor eax, eax
jmp 0x10d490b
jmp 0x10d4620
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.0108b400
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x10d48d6
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x18]
push eax
call fcn.0108b3e0
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x30]
imul edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x48]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x30]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x34]
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x38]
imul ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], 0
fild qword [ebp - 0x98]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], ecx
and dword [ebp - 0x9c], 0x7fffffff
fild qword [ebp - 0xa0]
and dword [ebp - 0xa4], 0x80000000
mov dword [ebp - 0xa8], 0
fild qword [ebp - 0xa8]
fchs
faddp st(1)
fdivp st(1)
fmul qword [0x10061d0]
fistp qword [ebp - 0xb0]
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x4c], edx
call fcn.0108d4a0
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jb 0x10d48c4
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x38]
imul ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x58]
call edx
push eax
call fcn.010c3310
mov eax, dword [ebp - 0x4c]
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 - 0x1c], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
call fcn.0108b400
add esp, 4
push 0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x24]
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
push 0x10049ac
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x38]
call eax
mov eax, 1
mov esp, ebp
pop ebp
ret 8