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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10161078
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x20], edi
test eax, eax
je 0x1002bf55
lea esi, [esp + 0x20]
call fcn.1002c490
mov edi, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x80], esi
cmp edi, esi
jne 0x1002bf7b
mov eax, 0x80004005
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x28]
push ecx
push ebx
call edx
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x1002bf99
mov ecx, dword [edi]
mov edx, dword [ecx + 0x28]
push eax
push edi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push ebx
call edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
push ecx
push edi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x30]
push ecx
push ebx
call edx
mov ecx, dword [esp + 0x30]
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
push ecx
push edi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x34]
push ecx
push ebx
call edx
mov ecx, dword [esp + 0x34]
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
push ecx
push edi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push ebx
call edx
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1002c009
mov ecx, dword [edi]
mov edx, dword [ecx + 0x34]
push eax
push edi
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x1002c038
lea ecx, [ecx]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push esi
push ebx
call edx
fld qword [esp + 0x3c]
mov eax, dword [edi]
mov ecx, dword [eax + 0x30]
sub esp, 8
fstp qword [esp]
push esi
push edi
call ecx
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x1002c010
push ecx
mov eax, esp
mov dword [eax], edi
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov dword [esp + 0x3c], esp
push edi
mov dword [esp + 0x2c], 0
call eax
lea esi, [esp + 0x28]
call fcn.1002c500
mov edx, dword [ebp + 8]
mov byte [esp + 0x80], 1
movzx eax, word [edx + 0x38]
mov esi, dword [esp + 0x24]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x10]
push eax
push esi
call ecx
mov byte [esp + 0x80], 2
mov edx, dword [ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x20], 0
call ecx
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
mov ecx, dword [edx + 0x38]
push eax
push edi
call ecx
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1002c0c0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x18], 0
mov byte [esp + 0x80], 0
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8