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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
xor edx, edx
or eax, 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x7b0], edx
movzx ebx, byte [esi + 0x7be]
mov dword [esi + 0x7d0], eax
mov dword [esi + 0x7c8], eax
mov dword [esi + 0x7cc], eax
mov eax, dword [esi + 0x7b4]
setne byte [esp + 0x17]
cmp dword [esi + 0x7b8], edx
mov dword [esp + 0x38], eax
movzx eax, byte [esi + 0x7bf]
setne byte [esp + 0x26]
cmp eax, 0x5a
push edi
movzx edi, byte [esi + 0x7bd]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0xa
mov dword [esi + 0x7d4], edx
mov dword [esi + 0x7d8], edx
mov dword [esi + 0x7c4], edx
mov dword [esp + 0x14], ebx
jle 0x1001dcba
mov ecx, 0x65
sub ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x1001dccf
mov ecx, 0x5b
sub ecx, eax
mov eax, ecx
imul eax, ecx
add eax, 0xa
mov dword [esp + 0x2c], eax
mov ecx, eax
mov eax, 1
cmp edi, eax
jge 0x1001dcdc
mov edi, eax
jmp 0x1001dce9
cmp edi, 0xff
jle 0x1001dce9
mov edi, 0xff
cmp ebx, edx
jge 0x1001dcf3
mov dword [esp + 0x14], edx
jmp 0x1001dd03
cmp ebx, 0xff
jle 0x1001dd03
mov dword [esp + 0x14], 0xff
cmp dword [esp + 0x3c], eax
jge 0x1001dd0d
mov dword [esp + 0x3c], eax
cmp ecx, eax
jge 0x1001dd15
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x1c], 0x64
call fcn.1002d6a0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [esp + 0x1bc]
call fcn.1002c160
lea ecx, [esp + 0x1b8]
call fcn.1002c170
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x1c4]
call fcn.1002d670
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x2f]
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x1b]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
call fcn.1000f8a0
movzx ebx, byte [esp + 0x43]
add esp, 0x18
cmp ebx, edi
mov dword [esi + 0x7d0], ebx
jle 0x1001dd9e
or byte [esi + 0x7c5], 1
jmp 0x1001dda5
or dword [esi + 0x7c4], 1
cmp byte [esp + 0x1b], 0
jne 0x1001de17
cmp ebx, edi
jle 0x1001ddf3
sub ebx, edi
lea edx, [ebx + ebx*2]
lea eax, [ebx + edx*8]
add eax, eax
add eax, eax
add eax, eax
cdq
idiv edi
add eax, 0x32
cmp eax, 0x64
jle 0x1001ddce
mov eax, 0x64
lea ecx, [esp + 0x1b8]
mov dword [esi + 0x774], eax
mov dword [esi + 0x7c0], 1
call fcn.1002d710
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
sub eax, ebx
lea ecx, [eax + eax*2]
lea eax, [eax + ecx*8]
add eax, eax
add eax, eax
add eax, eax
cdq
idiv edi
cmp eax, 0x64
mov dword [esp + 0x1c], eax
jle 0x1001de17
mov dword [esp + 0x1c], 0x64
lea ecx, [esp + 0x158]
call fcn.1000fad0
lea ecx, [esp + 0xf8]
call fcn.1000fad0
cmp byte [esp + 0x1b], 0
je 0x1001de6a
mov eax, edi
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jle 0x1001de6a
movzx ecx, byte [esp + 0x13]
or byte [esi + 0x7c6], 1
lea edx, [esp + 0x158]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xfc]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push edi
push eax
jmp 0x1001de86
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x158]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xfc]
push edx
push 0xffffffffffffffff
push eax
push edi
push ecx
call fcn.1001d2e0
add esp, 0x18
lea ecx, [esp + 0x158]
call fcn.10011670
lea ecx, [esp + 0xf8]
mov ebx, eax
call fcn.10011670
mov edi, eax
push 6
push 6
mov ecx, edi
call fcn.10051730
lea ecx, [esp + 0x7c]
call fcn.1004f530
push edi
push ebx
lea ecx, [esp + 0x84]
call fcn.100503d0
push 0
lea ecx, [esp + 0x15c]
call fcn.10011680
push 0
lea ecx, [esp + 0xfc]
call fcn.10011680
lea ecx, [esp + 0x98]
call fcn.100456f0
mov eax, dword [esp + 0x2c]
mov ecx, 0x3e8
lea eax, [eax + eax*2]
cmp eax, ecx
jle 0x1001df06
mov ecx, eax
mov ebx, dword [esp + 0x3c]
mov eax, 0x66666667
imul ebx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp edi, 1
jge 0x1001df25
mov edi, 1
push ecx
lea ecx, [esp + 0x9c]
call fcn.100453a0
push edi
push edi
lea ecx, [esp + 0xa0]
call fcn.100453b0
push 0x3e8
push 0x3e8
lea ecx, [esp + 0xa0]
call fcn.100453d0
push ebx
lea ecx, [esp + 0x9c]
call fcn.10045390
push 0x186a0
lea ecx, [esp + 0x9c]
call fcn.1002f800
push 0
lea ecx, [esp + 0x9c]
call fcn.10045380
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x9c]
call fcn.10046b60
fld qword [0x757f088]
mov eax, dword [esp + 0xd4]
fstp qword [esp + 0x40]
test eax, eax
fld qword [0x757f088]
fstp qword [esp + 0x58]
jle 0x1001e2a9
fild dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xdc]
xor edi, edi
fstp qword [esp + 0x30]
jmp 0x1001dfd0
mov ecx, dword [eax + edi]
mov edx, dword [eax + edi + 4]
mov ebx, dword [eax + edi + 8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + edi + 0xc]
mov dword [esp + 0x70], edx
lea edx, [ebx + ecx]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
cmp ebx, edx
fstp qword [esp + 0x20]
mov dword [esp + 0x78], ecx
jge 0x1001e01d
cmp ecx, edx
jge 0x1001e01d
fld qword [esp + 0x20]
fadd st(0), st(0)
fdiv qword [esp + 0x30]
fadd qword [esp + 0x58]
fstp qword [esp + 0x58]
jmp 0x1001e09a
mov eax, dword [esp + 0x48]
add eax, 1
js 0x1001e032
cmp eax, dword [esp + 0x4c]
jg 0x1001e032
mov dword [esp + 0x48], eax
jmp 0x1001e040
push eax
lea ecx, [esp + 0x4c]
call fcn.10045410
mov ecx, dword [esp + 0x78]
fld qword [esp + 0x30]
mov eax, dword [esp + 0x48]
fadd st(0), st(0)
mov edx, dword [esp + 0x50]
shl eax, 4
lea eax, [eax + edx - 0x10]
fsubr qword [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov dword [eax], edx
mov edx, dword [esp + 0x70]
fdiv qword [esp + 0x30]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
fcom qword [0x757f088]
fnstsw ax
test ah, 5
jp 0x1001e085
fstp st(0)
fld qword [0x757f088]
fadd qword [esp + 0x40]
mov eax, dword [esp + 0xdc]
fadd qword [0x757f070]
fstp qword [esp + 0x40]
add edi, 0x30
sub dword [esp + 0x14], 1
jne 0x1001dfd0
fld qword [esp + 0x40]
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
or ah, 0xc
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp qword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x7c8], eax
fldcw word [esp + 0x20]
fld qword [esp + 0x58]
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
or ah, 0xc
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp qword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x7cc], ecx
fldcw word [esp + 0x20]
fild dword [esp + 0x2c]
fld qword [esp + 0x40]
fcomp st(1)
fld qword [esp + 0x58]
fnstsw ax
test ah, 1
jne 0x1001e224
fadd qword [esp + 0x40]
mov bl, 1
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
fadd qword [0x757f070]
or ah, 0xc
mov byte [esp + 0x13], bl
fsub st(1)
fmul qword [0x757f098]
mov dword [esp + 0x1c], eax
fdiv st(1)
fldcw word [esp + 0x1c]
fistp qword [esp + 0x30]
mov edi, dword [esp + 0x30]
cmp edi, 0x64
fstp st(0)
fldcw word [esp + 0x20]
jle 0x1001e15b
mov edi, 0x64
or byte [esi + 0x7c5], 2
cmp byte [esp + 0x2a], 0
je 0x1001e2c2
movzx eax, byte [esi + 0x7bc]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.1001d960
mov eax, dword [esp + 0x50]
add esp, 8
test eax, eax
mov dword [esi + 0x7d4], eax
jbe 0x1001e2b8
shl eax, 4
push eax
call fcn.10017ad0
add esp, 4
test eax, eax
mov dword [esi + 0x7d8], eax
je 0x1001e2c2
cmp dword [esi + 0x7d4], 0
mov dword [esp + 0x1c], 0
jbe 0x1001e2c2
mov ecx, dword [esp + 0x50]
xor eax, eax
add ecx, 8
lea esp, [esp]
mov ebx, dword [ecx - 8]
mov edx, dword [esi + 0x7d8]
mov dword [eax + edx], ebx
mov ebx, dword [ecx - 4]
mov edx, dword [esi + 0x7d8]
mov dword [edx + eax + 4], ebx
mov ebx, dword [ecx]
mov edx, dword [esi + 0x7d8]
mov dword [edx + eax + 8], ebx
mov edx, dword [esi + 0x7d8]
mov ebx, dword [ecx + 4]
mov dword [edx + eax + 0xc], ebx
mov edx, dword [esp + 0x1c]
add edx, 1
add eax, 0x10
add ecx, 0x10
cmp edx, dword [esi + 0x7d4]
mov dword [esp + 0x1c], edx
jb 0x1001e1d0
mov bl, byte [esp + 0x13]
jmp 0x1001e2c2
fmul qword [0x757f090]
mov edi, 0x64
fld qword [esp + 0x40]
xor bl, bl
fadd st(0), st(0)
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
faddp st(1)
or ah, 0xc
fsub st(1)
fmul qword [0x757fb88]
mov dword [esp + 0x14], eax
fdiv st(1)
mov eax, dword [esp + 0x1c]
fldcw word [esp + 0x14]
fistp qword [esp + 0x30]
mov edx, dword [esp + 0x30]
sub edi, edx
cmp edi, eax
fstp st(0)
fldcw word [esp + 0x20]
jle 0x1001e271
mov edi, eax
test edi, edi
jge 0x1001e277
xor edi, edi
fld qword [esp + 0x40]
fcomp qword [0x757f088]
fnstsw ax
test ah, 0x41
jne 0x1001e28f
or dword [esi + 0x7c4], 8
fld qword [esp + 0x58]
fcomp qword [0x757f088]
fnstsw ax
test ah, 0x41
jne 0x1001e2c2
or dword [esi + 0x7c4], 0x10
jmp 0x1001e2c2
mov edi, dword [esp + 0x1c]
xor bl, bl
or dword [esi + 0x7c4], 4
jmp 0x1001e2c2
mov dword [esi + 0x7d8], 0
movzx eax, bl
lea ecx, [esp + 0x98]
mov dword [esi + 0x774], edi
mov dword [esi + 0x7c0], eax
call fcn.10045750
lea ecx, [esp + 0x7c]
call fcn.1004f560
lea ecx, [esp + 0xf8]
call fcn.1000fb30
lea ecx, [esp + 0x158]
call fcn.1000fb30
lea ecx, [esp + 0x1b8]
call fcn.1002d710
cmp dword [esp + 0x4c], 1
jl 0x1001e322
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1001e322
push eax
call fcn.10018560
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret