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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov edx, dword [ebp + 8]
xor esi, esi
test edx, edx
je 0x1002e703
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x1002e4ab
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax + 0x7c], 0
je 0x1002e703
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x78]
mov dword [esp + 0x2c], eax
mov ebx, dword [eax + edx + 0x1c]
mov esi, dword [eax + edx + 0x24]
mov edi, dword [eax + edx + 0x20]
movzx eax, byte [ecx]
mov ecx, eax
add ebx, edx
add esi, edx
mov dword [esp + 0x1c], esi
add edi, edx
mov dword [esp + 0x28], edi
and ecx, 0xf0
cmp ecx, 0xf0
mov ecx, dword [ebp + 0x14]
jne 0x1002e512
mov dword [esp + 0x18], ebx
not eax
and eax, 0xf
imul eax, eax, 0x6f60
xor ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 1]
xor eax, ecx
jmp 0x1002e537
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov esi, eax
mov dword [esp], esi
mov edi, edx
call fcn.10002100
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.10036340
mov edx, edi
mov dword [esp + 0x24], eax
xor edi, edi
mov eax, dword [esp + 0x2c]
cmp dword [edx + eax + 0x18], 0
mov esi, 0
je 0x1002e703
nop word cs:[eax + eax]
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x1002e58b
add ebx, edx
mov dword [esp], ebx
mov esi, edx
call fcn.10002100
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.10036340
mov edx, esi
cmp dword [esp + 0x24], eax
je 0x1002e59d
inc edi
xor esi, esi
mov eax, dword [esp + 0x2c]
cmp edi, dword [edx + eax + 0x18]
jb 0x1002e560
jmp 0x1002e703
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + eax*4]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x78]
cmp esi, eax
jb 0x1002e66b
add eax, dword [ecx + 0x7c]
cmp esi, eax
jae 0x1002e66b
add esi, edx
mov dword [esp], esi
lea esi, [esp + 0x60]
mov ecx, esi
call fcn.1001a410
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], 0x2e
mov ecx, esi
call fcn.100150d0
sub esp, 8
mov esi, eax
cmp esi, 0xffffffff
je 0x1002e68d
mov dword [esp + 8], esi
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0
lea ecx, [esp + 0x60]
call fcn.10015530
sub esp, 0xc
lea ecx, [esp + 0x48]
call fcn.10016cd0
mov dword [esp], eax
call dword [0x1004201c]
sub esp, 4
mov edi, eax
mov ecx, dword [ebp + 8]
cmp edi, ecx
jne 0x1002e64c
lea eax, [esp + 0x60]
mov dword [esp], eax
mov edi, ecx
call fcn.1002c5b6
mov ecx, edi
mov edi, eax
test edi, edi
je 0x1002e654
cmp edi, ecx
jne 0x1002e69a
mov dword [esp + 4], ebx
mov dword [esp], ecx
call dword [0x10042018]
sub esp, 8
mov esi, eax
jmp 0x1002e6f1
mov eax, dword [ebp + 0x10]
test al, 1
je 0x1002e679
add esi, edx
jmp 0x1002e703
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [0x10042018]
sub esp, 8
mov esi, eax
jmp 0x1002e703
lea ecx, [esp + 0x60]
call fcn.10021010
xor esi, esi
jmp 0x1002e703
inc esi
mov dword [esp + 4], esi
lea eax, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.10015530
sub esp, 0xc
lea ecx, [esp + 0x30]
call fcn.10016cd0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x10], 0
call fcn.1002e480
mov esi, eax
lea ecx, [esp + 0x30]
call fcn.10021010
lea ecx, [esp + 0x48]
call fcn.10021010
lea ecx, [esp + 0x60]
call fcn.10021010
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret