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

Disassembly:
mov eax, 0x1012b8a1
call fcn.1011695c
sub esp, 0x4dc
mov eax, dword [0x10169ccc]
xor eax, dword [ebp + 4]
push ebx
mov dword [ebp - 0x10], eax
mov al, byte [ebp + 0xb]
push esi
mov ebx, ecx
inc dword [ebx + 0x20e8]
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], al
call fcn.1002029b
mov al, byte [ebp + 0xb]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x5c], al
call fcn.1002029b
mov al, byte [ebp + 0xb]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
mov byte [ebp - 0x38], al
call fcn.1002029b
mov al, byte [ebp + 0xb]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
mov byte [ebp - 0x50], al
call fcn.1002029b
fld dword [ebx + 0x1d04]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
push ecx
mov ecx, dword [ebx + 0x60]
fstp dword [esp]
push dword [ebp + 8]
mov byte [ebp - 4], 3
call fcn.1003d698
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
cmp eax, edx
mov ecx, eax
mov dword [ebp + 8], ecx
je 0x1002d5e5
mov eax, dword [ebx + 0x60]
add ecx, 0xc
lea esi, [eax + 0x170]
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.10006414
mov esi, dword [esi + 4]
mov edi, dword [ebp - 0x1c]
cmp edi, esi
je 0x1002d5d5
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1002d5d5
mov eax, dword [eax + 0x74]
test eax, eax
jle 0x1002d5ad
push eax
mov ecx, ebx
call fcn.10016b3f
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x78]
test eax, eax
jle 0x1002d5bf
push eax
mov ecx, ebx
call fcn.10016b3f
mov eax, dword [edi + 0x10]
push 0x21
push dword [eax + 0x70]
mov ecx, ebx
call fcn.10022eec
mov eax, dword [edi + 0x10]
and dword [eax + 0x70], 0
lea ecx, [ebp + 8]
call fcn.10037849
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x4c]
jne 0x1002d575
mov eax, dword [ebp - 0x58]
mov esi, dword [eax]
cmp esi, eax
mov dword [ebp + 8], esi
je 0x1002d638
lea edi, [ebx + 0x2064]
mov ecx, dword [ebx + 0x14]
push dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.1002f94b
mov eax, dword [ebx + 0x2068]
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
je 0x1002d628
and byte [ecx + 0x10], 0
lea ecx, [ebp + 8]
call fcn.10037849
mov esi, dword [ebp + 8]
cmp esi, dword [ebp - 0x58]
jne 0x1002d5f7
lea ecx, [ebp - 0x3e8]
call fcn.1010f720
mov eax, dword [ebp - 0x40]
mov esi, dword [eax]
cmp esi, eax
mov byte [ebp - 4], 4
mov dword [ebp + 8], esi
je 0x1002d6d1
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x3e8]
push eax
push dword [esi + 0xc]
call fcn.10040b80
test al, al
je 0x1002d6c1
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x3e8]
push edx
push dword [esi + 0xc]
push 7
call dword [eax + 8]
mov esi, dword [esi + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
lea edi, [ebx + 0x2064]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], esi
call fcn.1002f94b
mov eax, dword [ebx + 0x2068]
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
je 0x1002d6ab
mov byte [ecx + 0x10], 1
jmp 0x1002d6c1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x24], 1
call fcn.100227a7
lea ecx, [ebp + 8]
call fcn.10037849
mov esi, dword [ebp + 8]
cmp esi, dword [ebp - 0x40]
jne 0x1002d653
lea ecx, [ebp - 0x2e8]
call fcn.1001129a
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebx + 0xc66]
push edx
lea edx, [ebx + 0xb66]
push edx
mov byte [ebp - 4], 5
call dword [eax + 0x1fc]
fld1
mov dword [ebp - 0x2e8], 0x15
mov byte [ebp - 0x2e4], 1
lea esi, [ebx + 0x1884]
lea edi, [ebp - 0x170]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x1894]
lea edi, [ebp - 0x160]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x18a4]
lea edi, [ebp - 0x140]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x18b4]
lea edi, [ebp - 0x150]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fstp dword [ebp - 0x114]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp + 8], eax
je 0x1002d918
mov eax, dword [ebx + 0x60]
lea esi, [eax + 0x170]
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.10006414
mov esi, dword [esi + 4]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x1002d904
cmp dword [eax + 0x10], 0
je 0x1002d904
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x1e0], ecx
mov esi, dword [eax + 0x10]
push 0x10
add esi, 0x18
pop ecx
lea edi, [ebp - 0x1b8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x10]
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x1dc]
fld dword [ecx + 0x50]
push 0x18
fld dword [ecx + 0x4c]
mov ecx, dword [ecx + 0x48]
fstp dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
fstp dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x10]
add eax, 0x58
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10116d70
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
add esp, 0xc
lea edx, [ebp - 0x2e8]
push edx
lea edx, [ebp - 0x18]
push edx
call dword [eax + 0x3c]
test eax, eax
je 0x1002d837
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x2e3]
push eax
push dword [ebp - 0x1e0]
call fcn.10040b80
test al, al
je 0x1002d904
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x2e8]
push edx
lea edx, [ebp - 0x18]
push edx
call dword [eax + 0x3c]
test eax, eax
jne 0x1002d904
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x70], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x60]
add eax, 8
cmp dword [ebp - 0x64], 2
push eax
push dword [ebp - 0x18]
jne 0x1002d85d
call fcn.1003d518
jmp 0x1002d86f
cmp dword [ebp - 0x64], 1
jne 0x1002d86a
call fcn.1003d5d8
jmp 0x1002d86f
call fcn.1003d458
lea ecx, [ebp - 0x4e8]
call fcn.1010f720
mov eax, dword [esi + 0x10]
xor edx, edx
mov dword [eax + 0x74], edx
mov eax, dword [esi + 0x10]
mov dword [eax + 0x78], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x58]
cmp ecx, edx
mov eax, dword [eax + 0x5c]
mov byte [ebp - 4], 6
jbe 0x1002d8d5
cmp eax, edx
lea eax, [ebp - 0x14]
jbe 0x1002d8ba
push edx
push 1
push dword [ebp - 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.10016341
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x74], ecx
jmp 0x1002d8ec
push 1
push 1
push dword [ebp - 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.10016341
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x74], ecx
jmp 0x1002d8f5
cmp eax, edx
jbe 0x1002d8f5
push 2
push 1
push dword [ebp - 0x18]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10016341
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x10]
mov dword [eax + 0x78], ecx
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 5
call fcn.1010f440
lea ecx, [ebp + 8]
call fcn.10037849
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x34]
jne 0x1002d762
cmp dword [ebx + 0x205c], 0x9ca4
je 0x1002d92b
mov ecx, ebx
call fcn.1001869c
lea ecx, [ebp - 0x2e3]
mov byte [ebp - 4], 4
call fcn.1010f440
lea ecx, [ebp - 0x3e8]
mov byte [ebp - 4], 3
call fcn.1010f440
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.1002283a
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.1002283a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.1002283a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.1002283a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.10115a7a
leave
ret 4