Function at 0x1002e895
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 0x1002e8f0
mov eax, dword [0x1017e714]
mov eax, dword [eax]
test eax, eax
je 0x1002e971
add ebx, 0x10
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x68]
mov dword [ecx + 0x24], eax
movups xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movups xmmword [ecx + 0x14], xmm1
movups xmmword [ecx + 4], xmm0
mov dword [ecx], 2
push ecx
push ebx
call fcn.10019dff
add esp, 8
jmp 0x1002e966
mov al, byte [edi + 0x1b]
sub al, byte [edi + 0x1a]
movzx ebp, al
xor eax, eax
dec eax
add ebp, dword [edi + 8]
cmovb ebp, eax
add ebp, dword [edi + 0x20]
cmovb ebp, eax
push ebp
push ebx
call fcn.1006a581
add esp, 8
mov eax, dword [0x1017e714]
mov eax, dword [eax]
test eax, eax
je 0x1002eb64
push edi
call fcn.10037b05
add esp, 4
test edx, edx
je 0x1002e954
mov esi, edx
push esi
push eax
push ebx
call fcn.1009b474
add esp, 0xc
push esi
push edi
call fcn.10037c1b
add esp, 8
push edi
call fcn.10037b05
add esp, 4
mov esi, edx
test edx, edx
jne 0x1002e930
lea eax, [edi + 0xc]
mov ecx, dword [edi]
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [ecx + 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 0x1002ecbf
movzx eax, al
push eax
push dword [esi]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1002e8c2
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1002ecfb
mov ebp, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov dword [esp + 4], eax
mov esi, dword [eax + 0x28]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], 0x1010763c
mov dword [esp + 0x50], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 0x101068b0
mov dword [esp + 0x58], eax
cmp ecx, 1
je 0x1002ecfb
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 1
push ebx
mov dword [esp + 4], ecx
call fcn.10058170
add esp, 4
sub edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
lea eax, [ebx + 0x10]
lea esi, [esp + 0x68]
push dword [ebx + 0x1c]
push eax
push esi
call fcn.10019bd5
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov ebp, dword [esi + 0xc]
mov dword [esp + 8], ebp
mov ebp, dword [ebx + 0x14]
lea eax, [eax + eax*4]
lea eax, [ebp + eax*8]
mov dword [esp + 0x48], eax
lea edx, [edx + edx*4]
lea edx, [ebp + edx*8]
lea ecx, [ecx + ecx*4]
lea ecx, [ebp + ecx*8]
mov eax, dword [esp + 8]
lea eax, [eax + eax*4]
lea eax, [ebp + eax*8]
mov ebp, dword [esp + 0x48]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
push 0
push esi
call fcn.10042e56
mov ecx, dword [esp + 8]
add esp, 8
add eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
cmp ecx, 2
jbe 0x1002ecfb
mov ebp, dword [esp + 4]
add ebp, 0x1c
lea eax, [esp + 0x9c]
mov edx, dword [esp + 0x3c]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 2
mov cl, byte [edi + 0x1b]
sub cl, byte [edi + 0x1a]
movzx ecx, cl
xor edx, edx
dec edx
add ecx, dword [edi + 8]
cmovb ecx, edx
add ecx, dword [edi + 0x20]
cmovb ecx, edx
lea edx, [esp + 0x64]
mov dword [edx], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], 0x10106db0
lea ecx, [esp + 0x28]
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], edx
mov dword [esp + 0x88], ecx
lea esi, [esp + 0x90]
lea eax, [esp + 0x68]
push eax
push ebp
push esi
call fcn.100779fa
add esp, 0xc
push esi
mov eax, dword [0x1017d918]
push dword [eax]
call fcn.1008cd25
add esp, 8
jmp 0x1002e8c2
mov esi, dword [0x1017d91c]
mov al, byte [esi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1002ecdd
movzx eax, al
push eax
push dword [esi]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1002e921
mov eax, dword [esi]
mov esi, dword [eax + 0x20]
test esi, esi
je 0x1002ed02
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 + 0x14], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], 0x10107608
mov dword [esp + 0x50], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 0x101068b0
mov dword [esp + 0x58], eax
cmp esi, 1
je 0x1002ed02
mov eax, dword [esp]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 1
push ebx
call fcn.10058170
add esp, 4
sub edx, dword [ebx + 0xc]
mov dword [esp + 0x10], edx
cmp esi, 2
jbe 0x1002ed02
mov edx, dword [esp + 0xc]
add edx, 0x1c
lea eax, [esp + 0x9c]
mov ecx, dword [esp]
mov dword [eax], ecx
mov dword [eax + 4], esi
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 + 0x64]
mov dword [ecx], ebp
mov ebp, ecx
lea esi, [esp + 0x14]
lea ecx, [esp + 0x68]
mov dword [ecx], esi
lea esi, [esp + 0x4c]
mov dword [ecx + 4], esi
mov dword [ecx + 8], 0x10106db0
lea esi, [esp + 0x28]
mov dword [ecx + 0xc], esi
lea esi, [esp + 0x10]
mov dword [ecx + 0x10], esi
mov esi, 0x10107610
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], ebp
mov dword [ecx + 0x20], esi
lea esi, [esp + 0x90]
push ecx
push edx
push esi
call fcn.100779fa
add esp, 0xc
push esi
mov eax, dword [0x1017d91c]
push dword [eax]
call fcn.1008cd25
add esp, 8
jmp 0x1002e921
test ecx, ecx
je 0x1002e8c2
push esi
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1002e989
jmp 0x1002e8c2
test ecx, ecx
je 0x1002e921
push esi
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1002eb7c
jmp 0x1002e921
push 0x10107620
jmp 0x1002ed07
push 0x101075e8
push 0x22
push 0x10106d54
call fcn.10101180