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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb0
mov edi, dword [esp + 0xc8]
mov ebx, dword [esp + 0xc4]
cmp byte [ebx + 0x24], 0
je 0x1002e4b3
mov eax, dword [0x1017e714]
mov eax, dword [eax]
test eax, eax
je 0x1002e507
add ebx, 0x10
movups xmm0, xmmword [edi]
lea eax, [esp + 0x68]
movups xmmword [eax + 4], xmm0
mov dword [eax], 0
push eax
push ebx
call fcn.10019dff
add esp, 8
jmp 0x1002e4fc
mov esi, dword [edi + 8]
push esi
push ebx
call fcn.1006a581
add esp, 8
mov eax, dword [0x1017e714]
mov eax, dword [eax]
test eax, eax
je 0x1002e6e2
mov ebp, dword [edi + 4]
test esi, esi
je 0x1002e4ed
push esi
push ebp
push ebx
call fcn.1009b474
add esp, 0xc
mov dword [edi + 8], 0
add ebp, esi
mov dword [edi + 4], ebp
mov eax, dword [edi]
add edi, 0xc
push 0
push ebp
push edi
call dword [eax + 0xc]
add esp, 0xc
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [0x1017d918]
mov al, byte [esi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1002e841
movzx eax, al
push eax
push dword [esi]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1002e493
mov eax, dword [esi]
mov ebp, dword [eax + 0x20]
test ebp, ebp
je 0x1002e87d
mov esi, dword [eax + 0x1c]
mov ecx, dword [eax + 0x24]
mov dword [esp + 4], eax
mov edx, dword [eax + 0x28]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], 0x1010763c
mov dword [esp + 0x54], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], 0x101068b0
mov dword [esp + 0x5c], eax
cmp ebp, 1
je 0x1002e87d
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 1
push ebx
call fcn.10058170
add esp, 4
sub edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
lea eax, [ebx + 0x10]
mov dword [esp], ebp
lea ebp, [esp + 0x68]
push dword [ebx + 0x1c]
push eax
push ebp
call fcn.10019bd5
add esp, 0xc
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov esi, dword [ebx + 0x14]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [esp + 0x4c], eax
lea edx, [edx + edx*4]
lea edx, [esi + edx*8]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*8]
mov eax, dword [esp + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov esi, dword [esp + 0x4c]
mov dword [ebp], esi
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
push 0
push ebp
mov esi, dword [esp + 8]
call fcn.10042e56
add esp, 8
add eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
cmp esi, 2
jbe 0x1002e87d
mov edx, dword [esp + 4]
add edx, 0x1c
lea eax, [esp + 0x9c]
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 2
mov ecx, dword [edi + 8]
lea esi, [esp + 0x14]
mov dword [esi], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], 0x10106db0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], ecx
mov ecx, 0x10107610
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ecx
lea esi, [esp + 0x90]
lea eax, [esp + 0x68]
push eax
push edx
push esi
call fcn.100779fa
add esp, 0xc
push esi
mov eax, dword [0x1017d918]
push dword [eax]
call fcn.1008cd25
add esp, 8
jmp 0x1002e493
mov ebp, dword [0x1017d91c]
mov al, byte [ebp + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1002e85f
movzx eax, al
push eax
push dword [ebp]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1002e4cf
mov eax, dword [ebp]
mov ebp, dword [eax + 0x20]
test ebp, ebp
je 0x1002e884
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov edx, dword [eax + 0x28]
mov dword [esp], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], 0x10107608
mov dword [esp + 0x54], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], 0x101068b0
mov dword [esp + 0x5c], eax
cmp ebp, 1
je 0x1002e884
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 1
push ebx
call fcn.10058170
add esp, 4
sub edx, dword [ebx + 0xc]
mov dword [esp + 0x10], edx
cmp ebp, 2
jbe 0x1002e884
mov edx, dword [esp + 0xc]
add edx, 0x1c
lea eax, [esp + 0x9c]
mov ecx, dword [esp]
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov ecx, dword [esp + 4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 2
lea ecx, [esp + 0x14]
mov dword [ecx], esi
lea ebp, [esp + 0x18]
lea ecx, [esp + 0x68]
mov dword [ecx], ebp
lea ebp, [esp + 0x50]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], 0x10106db0
lea ebp, [esp + 0x2c]
mov dword [ecx + 0xc], ebp
lea ebp, [esp + 0x10]
mov dword [ecx + 0x10], ebp
mov ebp, 0x10107610
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x18], eax
lea eax, [esp + 0x14]
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], ebp
lea ebp, [esp + 0x90]
push ecx
push edx
push ebp
call fcn.100779fa
add esp, 0xc
push ebp
mov eax, dword [0x1017d91c]
push dword [eax]
call fcn.1008cd25
add esp, 8
jmp 0x1002e4cf
test ecx, ecx
je 0x1002e493
push esi
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1002e51f
jmp 0x1002e493
test ecx, ecx
je 0x1002e4cf
push ebp
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1002e6fa
jmp 0x1002e4cf
push 0x10107620
jmp 0x1002e889
push 0x101075e8
push 0x22
push 0x10106d54
call fcn.10101180