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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1016fc1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f8
mov eax, dword [0x101b7f10]
push ebx
push esi
mov ebx, ecx
inc dword [ebx + 0x2120]
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4fc], eax
call fcn.1003c0d2
and dword [esp + 0x50c], 0
lea ecx, [esp + 0x54]
call fcn.1003c0d2
lea ecx, [esp + 0x48]
mov byte [esp + 0x50c], 1
call fcn.1003c0d2
lea ecx, [esp + 0x30]
mov byte [esp + 0x50c], 2
call fcn.1003c0d2
fld dword [ebx + 0x1d34]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, dword [ebx + 0x90]
fstp dword [esp]
push dword [ebp + 8]
mov byte [esp + 0x524], 3
call fcn.1004049a
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
cmp eax, edx
mov ecx, eax
mov dword [esp + 0x10], ecx
je 0x1002e28e
mov eax, dword [ebx + 0x90]
add ecx, 0xc
lea esi, [eax + 0x170]
push ecx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.1003c009
mov esi, dword [esi + 4]
mov edi, dword [esp + 0x1c]
cmp edi, esi
je 0x1002e27b
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1002e27b
mov eax, dword [eax + 0x7c]
test eax, eax
jle 0x1002e250
push eax
mov ecx, ebx
call fcn.100185ce
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x80]
test eax, eax
jle 0x1002e265
push eax
mov ecx, ebx
call fcn.100185ce
mov eax, dword [edi + 0x10]
push 0x21
push dword [eax + 0x78]
mov ecx, ebx
call fcn.10024a12
mov eax, dword [edi + 0x10]
and dword [eax + 0x78], 0
lea ecx, [esp + 0x10]
call fcn.1003b256
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x34]
jne 0x1002e213
mov eax, dword [esp + 0x58]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x10], esi
je 0x1002e2ea
lea edi, [ebx + 0x2094]
mov ecx, dword [ebx + 0x20]
push dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.1004698b
mov eax, dword [ebx + 0x2098]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x1002e2d7
mov byte [ecx + 0x10], 0
lea ecx, [esp + 0x10]
call fcn.1003b256
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x58]
jne 0x1002e2a2
lea ecx, [esp + 0x2f8]
call fcn.10152120
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
cmp esi, eax
mov byte [esp + 0x50c], 4
mov dword [esp + 0x10], esi
je 0x1002e39f
mov ecx, dword [ebx + 0x3c]
lea eax, [esp + 0x2f8]
push eax
push dword [esi + 0xc]
call fcn.100439d4
test al, al
je 0x1002e388
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x2f8]
push edx
push dword [esi + 0xc]
push 7
call dword [eax + 0x10]
mov esi, dword [esi + 0xc]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
lea edi, [ebx + 0x2094]
push eax
mov ecx, edi
mov dword [esp + 0x24], esi
call fcn.1004698b
mov eax, dword [ebx + 0x2098]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x1002e36e
mov byte [ecx + 0x10], 1
jmp 0x1002e388
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x2c], esi
mov byte [esp + 0x30], 1
call fcn.100243e4
lea ecx, [esp + 0x10]
call fcn.1003b256
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x40]
jne 0x1002e310
lea ecx, [esp + 0x60]
call fcn.100126c3
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [ebx + 0xc96]
push edx
lea edx, [ebx + 0xb96]
push edx
mov byte [esp + 0x514], 5
call dword [eax + 0x220]
fld1
mov dword [esp + 0x60], 0x15
mov byte [esp + 0x64], 1
lea esi, [ebx + 0x18b4]
lea edi, [esp + 0x1d8]
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 + 0x18c4]
lea edi, [esp + 0x1e8]
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 + 0x18d4]
lea edi, [esp + 0x208]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x18e4]
lea edi, [esp + 0x1f8]
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 [esp + 0x234]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x1002e633
mov eax, dword [ebx + 0x90]
lea esi, [eax + 0x170]
mov eax, dword [esp + 0x10]
add eax, 0xc
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.1003c009
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1002e61c
cmp dword [eax + 0x10], 0
je 0x1002e61c
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x168], ecx
mov esi, dword [eax + 0x10]
push 0x10
add esi, 0x20
pop ecx
lea edi, [esp + 0x190]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x10]
lea esi, [esp + 0x24]
lea edi, [esp + 0x16c]
fld dword [ecx + 0x58]
push 0x18
fld dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
fstp dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x30]
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, 0x60
push eax
lea eax, [esp + 0x2dc]
push eax
call fcn.1015a320
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
add esp, 0xc
lea edx, [esp + 0x60]
push edx
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x44]
test eax, eax
je 0x1002e518
mov ecx, dword [ebx + 0x3c]
lea eax, [esp + 0x65]
push eax
push dword [esp + 0x16c]
call fcn.100439d4
test al, al
je 0x1002e61c
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x60]
push edx
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x44]
test eax, eax
jne 0x1002e61c
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
jle 0x1002e52e
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x78], eax
jmp 0x1002e539
push edi
call dword [0x1017c1a8]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x90]
add eax, 8
cmp dword [esp + 0x2e4], 2
push eax
push dword [esp + 0x1c]
jne 0x1002e55b
call fcn.10040328
jmp 0x1002e571
cmp dword [esp + 0x2ec], 1
jne 0x1002e56c
call fcn.100403e1
jmp 0x1002e571
call fcn.1004026f
lea ecx, [esp + 0x3f8]
call fcn.10152120
mov eax, dword [esi + 0x10]
mov dword [eax + 0x7c], edi
mov eax, dword [esi + 0x10]
mov dword [eax + 0x80], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x60]
cmp ecx, edi
mov eax, dword [eax + 0x64]
mov byte [esp + 0x50c], 6
jbe 0x1002e5e2
cmp eax, edi
lea eax, [esp + 0x14]
jbe 0x1002e5c5
push edi
push 1
push dword [esp + 0x20]
push ecx
push eax
mov ecx, ebx
call fcn.10017da0
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x7c], ecx
jmp 0x1002e5fb
push 1
push 1
push dword [esp + 0x20]
push ecx
push eax
mov ecx, ebx
call fcn.10017da0
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x7c], ecx
jmp 0x1002e608
cmp eax, edi
jbe 0x1002e608
push 2
push 1
push dword [esp + 0x20]
mov ecx, ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10017da0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov dword [eax + 0x80], ecx
lea ecx, [esp + 0x3f8]
mov byte [esp + 0x50c], 5
call fcn.10152110
lea ecx, [esp + 0x10]
call fcn.1003b256
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x4c]
jne 0x1002e435
cmp dword [ebx + 0x208c], 0x9ca4
je 0x1002e646
mov ecx, ebx
call fcn.1001a238
lea ecx, [esp + 0x65]
mov byte [esp + 0x50c], 4
call fcn.10152110
lea ecx, [esp + 0x2f8]
mov byte [esp + 0x50c], 3
call fcn.10152110
lea ecx, [esp + 0x30]
mov byte [esp + 0x50c], 2
call fcn.10024506
lea ecx, [esp + 0x48]
mov byte [esp + 0x50c], 1
call fcn.10024506
lea ecx, [esp + 0x54]
mov byte [esp + 0x50c], 0
call fcn.10024506
or dword [esp + 0x50c], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.10024506
mov ecx, dword [esp + 0x504]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4fc]
xor eax, eax
call fcn.1015901e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4