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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x100484c0
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
lea edi, [esi + 0x30]
lea ecx, [esi + 0x20]
mov eax, dword fs:[0]
mov dword [esi + 0x80], eax
lea eax, [esi + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 7
movsd qword [esi + 0x4a], xmm0
movsd qword [esi + 0x44], xmm0
mov byte [esi + 0x4c], 1
push edi
push eax
call fcn.100434c0
add esp, 8
cmp byte [esi + 0x20], 4
jne 0x1003a564
mov edx, dword [esi + 0x24]
jmp 0x1003a572
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
cmp al, 4
jne 0x1003a661
lea ebx, [esi + 0x30]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x14], edx
mov ecx, ebx
call fcn.100436e0
mov eax, dword [esi + 0x30]
xor eax, 2
or eax, dword [esi + 0x34]
jne 0x1003a609
movzx eax, byte [esi + 0x38]
mov edi, dword [esi + 0x3c]
cmp al, 4
je 0x1003a60c
cmp al, 3
jne 0x1003a5e3
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x88], 1
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x10], ecx
call dword [ecx]
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
je 0x1003a5d3
push dword [ecx + 8]
push eax
push dword [esi + 0x18]
call fcn.10002ac0
add esp, 0xc
push 4
push 0xc
mov edi, dword [esi + 0x1c]
push edi
call fcn.10002ac0
add esp, 0xc
mov dword [esi + 4], 0
mov dword [esi + 8], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x88], 2
xor ebx, ebx
jmp 0x1003a68e
mov edi, dword [esi + 0x68]
mov eax, ebx
mov ebx, 1
test edi, edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
mov dword [esi + 0xc], 0
je 0x1003a681
mov edx, edi
mov dword [esi + 0x34], 0
lea ecx, [esi + 0x20]
not edx
shr edx, 0x1f
push eax
push edi
call fcn.10038320
add esp, 8
cmp dword [esi + 0x20], 0
je 0x1003a685
mov ebx, dword [ebp + 8]
mov word [ebx + 4], 0x2601
mov dword [ebx], 0x80000000
jmp 0x1003a708
mov ecx, eax
mov byte [ebx + 4], al
shr eax, 0x18
shr ecx, 8
mov byte [ebx + 7], al
mov word [ebx + 5], cx
mov dword [ebx + 8], edx
mov dword [ebx], 0x80000000
jmp 0x1003a711
xor edi, edi
jmp 0x1003a68e
mov eax, dword [esi + 0x24]
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov dword [esi + 0x88], 2
lea eax, [esi + 4]
lea ecx, [esi + 0x30]
lea edx, [esi + 0x2c]
push edi
push ebx
push eax
call fcn.1003c060
add esp, 0xc
movzx eax, byte [esi + 0x30]
mov ebx, dword [ebp + 8]
cmp al, 4
jne 0x1003a6c8
mov eax, dword [esi + 0xc]
movsd xmm0, qword [esi + 4]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
jmp 0x1003a708
movzx ecx, byte [esi + 0x33]
mov byte [ebx + 4], al
mov byte [esi + 2], cl
movzx ecx, word [esi + 0x31]
mov word [esi], cx
mov ecx, dword [esi + 0x34]
movzx eax, word [esi]
mov word [ebx + 5], ax
movzx eax, byte [esi + 2]
mov byte [ebx + 7], al
mov eax, dword [esi + 4]
mov dword [ebx + 8], ecx
mov dword [ebx], 0x80000000
test eax, eax
je 0x1003a708
push 1
push eax
push dword [esi + 8]
call fcn.10002ac0
add esp, 0xc
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret