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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov al, byte [ecx + 0x80]
sub esp, 0xc
not al
push ebx
push esi
push edi
and al, 1
jne 0x1002dba3
mov eax, dword [ecx + 0xec]
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
sar eax, 2
test eax, eax
je 0x1002dba3
mov esi, dword [esi]
mov edi, dword [ebp + 8]
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
lea ecx, [edi + 0x48]
movzx eax, word [esi + 0xa]
mov word [edi + 0xa], ax
movzx eax, byte [esi + 0xac]
mov byte [edi + 0xac], al
movzx eax, word [esi + 0xc]
mov word [edi + 0xc], ax
movzx eax, word [esi + 0xe]
mov word [edi + 0xe], ax
movzx eax, word [esi + 0x10]
mov word [edi + 0x10], ax
movzx eax, word [esi + 0x12]
mov word [edi + 0x12], ax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
movzx eax, word [esi + 0x2c]
mov word [edi + 0x2c], ax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
movzx eax, word [esi + 0x7c]
mov word [edi + 0x7c], ax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
lea eax, [esi + 0x48]
push eax
call fcn.10035af0
lea eax, [esi + 0x54]
push eax
lea ecx, [edi + 0x54]
call fcn.10035af0
movzx eax, byte [esi + 0x7e]
mov byte [edi + 0x7e], al
mov eax, dword [esi + 0x98]
test eax, eax
je 0x1002dae2
cmp dword [eax + 0x14], 8
jb 0x1002dad4
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x8c]
call fcn.10035e80
jmp 0x1002db0f
mov eax, dword [edi + 0x98]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002db0f
mov ecx, eax
call fcn.10008ff0
push 0x18
push dword [esp + 0x18]
call fcn.100696b3
add esp, 8
mov dword [edi + 0x98], 0
lea eax, [esi + 0x8c]
push eax
lea ecx, [edi + 0x8c]
call fcn.1003bb70
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x1002db41
cmp dword [eax + 0x14], 8
jb 0x1002db33
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x9c]
call fcn.10035e80
jmp 0x1002db6e
mov eax, dword [edi + 0xa8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002db6e
mov ecx, eax
call fcn.10008ff0
push 0x18
push dword [esp + 0x18]
call fcn.100696b3
add esp, 8
mov dword [edi + 0xa8], 0
lea eax, [esi + 0x9c]
push eax
lea ecx, [edi + 0x9c]
call fcn.1003bb70
mov eax, dword [esi + 0x88]
mov dword [edi + 0x88], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc