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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1017cabd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f8
mov eax, dword [0x101cb280]
push ebx
push esi
mov ebx, ecx
inc dword [ebx + 0x2120]
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4fc], eax
call fcn.1003c14c
and dword [esp + 0x50c], 0
lea ecx, [esp + 0x54]
call fcn.1003c14c
lea ecx, [esp + 0x48]
mov byte [esp + 0x50c], 1
call fcn.1003c14c
lea ecx, [esp + 0x30]
mov byte [esp + 0x50c], 2
call fcn.1003c14c
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.10040520
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
cmp eax, edx
mov ecx, eax
mov dword [esp + 0x10], ecx
je 0x1002e359
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.1000652f
mov esi, dword [esi + 4]
mov edi, dword [esp + 0x1c]
cmp edi, esi
je 0x1002e346
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1002e346
mov eax, dword [eax + 0x7c]
test eax, eax
jle 0x1002e31b
push eax
mov ecx, ebx
call fcn.100186b9
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x80]
test eax, eax
jle 0x1002e330
push eax
mov ecx, ebx
call fcn.100186b9
mov eax, dword [edi + 0x10]
push 0x21
push dword [eax + 0x78]
mov ecx, ebx
call fcn.10024add
mov eax, dword [edi + 0x10]
and dword [eax + 0x78], 0
lea ecx, [esp + 0x10]
call fcn.10012a56
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x34]
jne 0x1002e2de
mov eax, dword [esp + 0x58]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x10], esi
je 0x1002e3b5
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.10006569
mov eax, dword [ebx + 0x2098]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x1002e3a2
mov byte [ecx + 0x10], 0
lea ecx, [esp + 0x10]
call fcn.10012a56
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x58]
jne 0x1002e36d
lea ecx, [esp + 0x2f8]
call fcn.101521d0
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
cmp esi, eax
mov byte [esp + 0x50c], 4
mov dword [esp + 0x10], esi
je 0x1002e46a
mov ecx, dword [ebx + 0x3c]
lea eax, [esp + 0x2f8]
push eax
push dword [esi + 0xc]
call fcn.10043a5a
test al, al
je 0x1002e453
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.10006569
mov eax, dword [ebx + 0x2098]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x1002e439
mov byte [ecx + 0x10], 1
jmp 0x1002e453
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.100244af
lea ecx, [esp + 0x10]
call fcn.10012a56
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x40]
jne 0x1002e3db
lea ecx, [esp + 0x60]
call fcn.10012778
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 0x1002e6fe
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.1000652f
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1002e6e7
cmp dword [eax + 0x10], 0
je 0x1002e6e7
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.10166fc0
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 0x1002e5e3
mov ecx, dword [ebx + 0x3c]
lea eax, [esp + 0x65]
push eax
push dword [esp + 0x16c]
call fcn.10043a5a
test al, al
je 0x1002e6e7
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 0x1002e6e7
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
jle 0x1002e5f9
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x78], eax
jmp 0x1002e604
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
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 0x1002e626
call fcn.100403ae
jmp 0x1002e63c
cmp dword [esp + 0x2ec], 1
jne 0x1002e637
call fcn.10040467
jmp 0x1002e63c
call fcn.100402f5
lea ecx, [esp + 0x3f8]
call fcn.101521d0
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 0x1002e6ad
cmp eax, edi
lea eax, [esp + 0x14]
jbe 0x1002e690
push edi
push 1
push dword [esp + 0x20]
push ecx
push eax
mov ecx, ebx
call fcn.10017e8b
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x7c], ecx
jmp 0x1002e6c6
push 1
push 1
push dword [esp + 0x20]
push ecx
push eax
mov ecx, ebx
call fcn.10017e8b
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x7c], ecx
jmp 0x1002e6d3
cmp eax, edi
jbe 0x1002e6d3
push 2
push 1
push dword [esp + 0x20]
mov ecx, ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10017e8b
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.101521c0
lea ecx, [esp + 0x10]
call fcn.10012a56
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x4c]
jne 0x1002e500
cmp dword [ebx + 0x208c], 0x9ca4
je 0x1002e711
mov ecx, ebx
call fcn.1001a323
lea ecx, [esp + 0x65]
mov byte [esp + 0x50c], 4
call fcn.101521c0
lea ecx, [esp + 0x2f8]
mov byte [esp + 0x50c], 3
call fcn.101521c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x50c], 2
call fcn.100245d1
lea ecx, [esp + 0x48]
mov byte [esp + 0x50c], 1
call fcn.100245d1
lea ecx, [esp + 0x54]
mov byte [esp + 0x50c], 0
call fcn.100245d1
or dword [esp + 0x50c], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.100245d1
mov ecx, dword [esp + 0x504]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4fc]
xor eax, eax
call fcn.10165cbe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4