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

Disassembly:
sub esp, 0xd4
mov eax, dword [0x1007b6c0]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xdc]
push ebx
mov ebx, dword [esp + 0xdc]
push ebp
mov ebp, dword [esp + 0x100]
push esi
mov esi, dword [esp + 0xec]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x100]
push edi
mov edi, dword [esp + 0x100]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
push ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
call fcn.1003e820
lea eax, [esp + 0x88]
push eax
push ebx
call fcn.10037ad0
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.10037ad0
lea eax, [esp + 0xc8]
push eax
push ebx
call fcn.10037ad0
lea eax, [esp + 0xe8]
push eax
push ebx
call fcn.10037ad0
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.10037ad0
lea eax, [esp + 0xc8]
push eax
push ebx
call fcn.10037ad0
lea eax, [esp + 0x54]
push eax
push ebx
call fcn.1002b990
add esp, 0x40
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.1002b990
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1002db00
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1003a6bc
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x84]
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x1c], ebx
call fcn.1002b9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003a6bc
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.1002b9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003a6bc
push ebp
call fcn.10051e40
mov esi, eax
add esp, 4
test esi, esi
jne 0x1003a6bc
lea eax, [esp + 0x44]
push eax
push dword [esp + 0xf8]
call fcn.1003e920
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003a6bc
push ebp
call fcn.10051e40
mov esi, eax
add esp, 4
test esi, esi
jne 0x1003a6bc
push ebp
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x100]
push dword [esp + 0x40]
call fcn.10040e70
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x1003a6bc
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.10038390
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003a6bc
lea eax, [ebx + 0x20]
sar eax, 5
shl eax, 2
push eax
push esi
push dword [esp + 0x64]
call fcn.100506f0
mov eax, dword [esp + 0x68]
lea ebx, [esi + 1]
mov ebp, dword [esp + 0x20]
add esp, 0xc
mov dword [eax], 2
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], esi
cmp ebp, ebx
jle 0x1003a4f0
jmp 0x1003a490
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.10038ec0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003a6bc
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.10038740
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1003a6bc
cmp dword [esp + 0x54], 1
jne 0x1003a4eb
mov eax, dword [esp + 0x5c]
cmp dword [eax], 2
je 0x1003a4f0
inc ebx
cmp ebx, ebp
jl 0x1003a490
mov ebp, dword [esp + 0x2c]
push ebp
call fcn.10051e40
mov esi, eax
add esp, 4
test esi, esi
jne 0x1003a6bc
lea eax, [esp + 0x80]
push eax
push ebx
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.10038af0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1003a6bc
push ebp
call fcn.10051e40
mov esi, eax
add esp, 4
test esi, esi
jne 0x1003a6bc
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x1c]
push ebx
call fcn.10041e80
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x1003a6bc
mov eax, dword [esp + 0xf8]
mov eax, dword [eax + 8]
test byte [eax], 3
jne 0x1003a590
mov eax, dword [edi]
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push esi
push dword [edi + 4]
call fcn.100506f0
add esp, 0xc
jmp 0x1003a652
test byte [esp + 0x14], 1
je 0x1003a620
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x88], 6
mov eax, dword [edi]
jne 0x1003a5f7
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push 0xff
push dword [edi + 4]
call fcn.100506f0
mov ecx, dword [edi]
add esp, 0xc
lea esi, [ecx + 0x1f]
sar esi, 5
and ecx, 0x8000001f
jns 0x1003a5d9
dec ecx
or ecx, 0xffffffe0
inc ecx
jne 0x1003a5e7
mov eax, dword [edi + 4]
or edx, 0xffffffff
and dword [eax + esi*4 - 4], edx
jmp 0x1003a652
mov eax, dword [edi + 4]
or edx, 0xffffffff
shl edx, cl
not edx
and dword [eax + esi*4 - 4], edx
jmp 0x1003a652
add eax, 0x1f
sar eax, 5
shl eax, 2
push eax
push 0
push dword [edi + 4]
call fcn.100506f0
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [eax], 1
jmp 0x1003a652
push edi
push ebx
call fcn.1003d080
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003a6bc
lea eax, [esp + 0x28]
push eax
push edi
push dword [esp + 0x18]
call fcn.1003d130
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1003a6bc
cmp dword [esp + 0x28], eax
je 0x1003a620
mov ecx, dword [esp + 0xf4]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
je 0x1003a6a9
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax + 0xb0]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1003a6bc
push dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax + 0xac]
call eax
add esp, 0x10
jmp 0x1003a6ba
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.1002be30
add esp, 8
mov esi, eax
lea eax, [esp + 0x44]
push eax
call fcn.1003e840
lea eax, [esp + 0x20]
push eax
call fcn.1002ba00
lea eax, [esp + 0x40]
push eax
call fcn.1002ba00
lea eax, [esp + 0x8c]
push eax
call fcn.10037b00
lea eax, [esp + 0x78]
push eax
call fcn.10037b00
lea eax, [esp + 0xc4]
push eax
call fcn.10037b00
lea eax, [esp + 0xe0]
push eax
call fcn.10037b00
lea eax, [esp + 0x6c]
push eax
call fcn.10037b00
lea eax, [esp + 0xb8]
push eax
call fcn.10037b00
mov ecx, dword [esp + 0x104]
add esp, 0x24
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10052dd6
add esp, 0xd4
ret