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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov edi, edx
mov eax, dword [0x1019914c]
mov edx, dword fs:[0x2c]
mov esi, ecx
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0xac]
cmp eax, 1
jne 0x1002a3ef
mov ebx, dword [0x1019914c]
mov eax, dword fs:[0x2c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0xb0]
test eax, eax
mov dword [esp + 0x4c], eax
je 0x1002a0e2
lea ebx, [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0
jmp 0x1002a101
mov eax, dword [0x1019914c]
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + eax*4]
mov dword [eax + 0xb0], 0xffffffff
lea ebx, [eax + 0xb4]
mov eax, dword [ebp + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp + 4], ebx
lea ebx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x78], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x78]
mov dword [esp + 0x88], eax
lea eax, [esp + 4]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x10], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x14], 0x1011f7fc
mov byte [esp + 0x18], al
push edi
push ebx
call fcn.100186e0
add esp, 8
test al, al
je 0x1002a2d1
cmp byte [esi + 0xf], 0
je 0x1002a3a5
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x38]
movsd xmm0, qword [eax + 8]
lea eax, [esp + 8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], 0x1011f8b8
mov dword [esp + 0x60], 3
mov dword [esp + 0x6c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x100f04c0
mov dword [esp + 0x30], ebx
lea ebx, [esp + 0x28]
mov dword [esp + 0x34], 0x1001a560
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 2
movsd qword [esp + 0x18], xmm0
call fcn.10001130
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
add esi, 8
lea ecx, [esp + 8]
lea edx, [esp + 0x74]
mov dword [esp + 0x74], esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
push eax
push edi
call fcn.1002a420
add esp, 8
cmp byte [esp + 8], 4
je 0x1002a2c0
movsd xmm0, qword [esp + 8]
lea ecx, [esp + 0x10]
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x10], 0x1011f93c
mov dword [esp + 0x14], 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x60], 0x100e6640
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
movsd qword [esp + 0x28], xmm0
call fcn.100e9420
cmp byte [esp + 0x28], 3
jne 0x1002a2c0
mov esi, dword [esp + 0x2c]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x1002a293
push ecx
mov dword [esp + 0x48], ecx
call eax
mov ecx, dword [esp + 0x48]
add esp, 4
cmp dword [ebx + 4], 0
je 0x1002a2b1
cmp dword [ebx + 8], 9
jb 0x1002a2a2
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0x48], 0
je 0x1002a3a5
push edi
jmp 0x1002a397
lea eax, [esi + 8]
lea ecx, [esp + 0x38]
lea edx, [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
push dword [eax + 8]
push dword [eax + 4]
call fcn.1002a420
add esp, 8
cmp byte [esi + 0xf], 0
movzx eax, byte [esp + 0x38]
je 0x1002a35b
cmp al, 4
je 0x1002a35b
movsd xmm0, qword [esp + 0x38]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x1011f870
mov dword [esp + 0x14], 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], 0x100e6640
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
movsd qword [esp + 0x28], xmm0
call fcn.100e9420
cmp byte [esp + 0x28], 3
jne 0x1002a3a5
mov esi, dword [esp + 0x2c]
jmp 0x1002a367
cmp al, 4
je 0x1002a3a5
cmp al, 3
jne 0x1002a3a5
mov esi, dword [esp + 0x3c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x1002a378
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x1002a396
cmp dword [ebx + 8], 9
jb 0x1002a387
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 4]
cmp dword [esp + 0x4c], 0
mov dword [eax + 8], 0
je 0x1002a3d2
cmp dword [esp + 0x50], 0
je 0x1002a3e7
push dword [esp + 0x54]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1002a3e7
mov eax, dword [0x1019914c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
inc dword [eax + 0xb0]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test eax, eax
jne 0x1002a3fd
call fcn.1010dd00
jmp 0x1002a0a1
lea eax, [esp + 0x10]
mov ecx, 0x1018d5b0
mov edx, 0x46
push 0x1018d648
push 0x1018d4ec
push eax
call fcn.1010d2e0
int3