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

Disassembly:
sub esp, 0xcc
mov eax, dword [0x10052500]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xe0]
push edi
mov edi, dword [esp + 0xe0]
push esi
mov dword [esp + 0x28], ecx
push 1
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 0
call fcn.10030c90
mov edx, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov ecx, dword [edx]
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x40], eax
mov ax, word [ecx + 0x58]
mov word [esp + 0x22], ax
test byte [esi], 8
jne 0x1003b052
movzx ecx, word [ebx + 0x10052234]
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
cmp ecx, 1
je 0x1003ad19
mov eax, dword [edx]
cmp dword [eax + 0x44], 4
jne 0x1003b01d
test cx, cx
jne 0x1003b01d
mov eax, dword [ebx + 0x10052238]
cmp eax, 5
ja case.default.0x1003ad24
jmp dword [eax*4 + 0x1003b078]
mov eax, dword [edx]
mov ecx, dword [eax + 0x184]
jmp 0x1003ad7d
mov eax, dword [edx]
mov ecx, dword [eax + 0x188]
jmp 0x1003ad7d
mov eax, dword [edx]
cmp dword [eax + 0xdc], 0x778
jge 0x1003ad63
mov ecx, dword [eax + 0x190]
jmp 0x1003ad7d
mov eax, dword [edx]
cmp dword [eax + 0xdc], 0x778
jge 0x1003ad4d
mov ecx, dword [eax + 0x18c]
jmp 0x1003ad7d
mov eax, dword [edx]
mov ecx, dword [eax + 0x194]
jmp 0x1003ad7d
mov eax, dword [edx]
mov ecx, dword [eax + 0x198]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x3c]
lea eax, [esp + 0x30]
push 0
push ecx
push esi
push dword [esp + 0x20]
mov ecx, dword [ecx + 8]
push eax
call fcn.10019590
test byte [esi], 8
jne 0x1003b011
lea ecx, [esp + 0x78]
call fcn.100334b0
push dword [esp + 0x28]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x4c], ebp
push esi
push dword [edi + 0x3c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
call fcn.10034360
test byte [esi], 8
mov edx, eax
mov dword [esp + 0x28], edx
jne 0x1003ae06
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x23], edx
test byte [esi], 8
jne 0x1003ae06
push edx
push esi
push dword [edi + 0x3c]
lea ecx, [esp + 0x84]
call fcn.10034360
test byte [esi], 8
mov edx, eax
mov dword [esp + 0x28], eax
jne 0x1003ae06
mov eax, dword [esp + 0x34]
mov dword [eax + 0x27], edx
lea ecx, [esp + 0x48]
call fcn.10041810
lea ecx, [esp + 0x78]
call fcn.100335a0
test byte [esi], 8
jne 0x1003b011
push 0x778
call fcn.100455c2
add esp, 4
test eax, eax
je 0x1003ae5f
mov ecx, dword [esp + 0x24]
push esi
push dword [ecx]
mov ecx, eax
call fcn.1003b090
mov ebp, eax
test ebp, ebp
je 0x1003ae61
test byte [esi], 8
je 0x1003ae78
mov ecx, ebp
call fcn.1003b240
push ebp
call fcn.10045638
add esp, 4
xor ebp, ebp
jmp 0x1003ae6f
xor ebp, ebp
push 1
push 0xfffffc0d
mov ecx, esi
call fcn.1001c540
test byte [esi], 8
jne 0x1003b011
inc dword [ebp + 0x4c]
mov ecx, ebp
push esi
push 6
push dword [esp + 0x1c]
push edi
call fcn.1003f980
test byte [esi], 8
jne 0x1003b011
cmp dword [ebx + 0x10052240], 0
mov dword [esp + 0x1c], 0
jbe 0x1003af52
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov edi, edi
test byte [esi], 8
jne 0x1003af52
mov edx, dword [ebx + 0x10052244]
add edx, ecx
mov cl, byte [esp + 0x74]
and cl, 0xf9
or cl, 9
push esi
movzx eax, byte [edx + 4]
mov byte [esp + 0x5c], al
mov eax, dword [edx + 8]
mov dword [esp + 0x60], eax
movzx eax, byte [edx + 0xc]
mov byte [esp + 0x64], al
movzx eax, word [esp + 0x44]
mov dword [esp + 0x68], eax
movzx eax, word [esp + 0x46]
mov dword [esp + 0x6c], eax
movzx eax, word [esp + 0x26]
mov dword [esp + 0x70], eax
mov byte [esp + 0x78], cl
and cl, 0xf
movzx eax, byte [edx + 0xd]
and byte [esp + 0x79], 0xf8
and al, 1
or al, 0xfc
mov dword [esp + 0x74], 0
shl al, 4
or al, cl
mov ecx, ebp
mov byte [esp + 0x78], al
lea eax, [esp + 0x5c]
push eax
push dword [edx]
push edi
call fcn.1003b780
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
add ecx, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp eax, dword [ebx + 0x10052240]
jb 0x1003aeb0
cmp dword [ebx + 0x10052248], 0
mov dword [esp + 0x18], 0
jbe 0x1003b011
xor ecx, ecx
mov dword [esp + 0x1c], ecx
lea ecx, [ecx]
test byte [esi], 8
jne 0x1003b011
mov edx, dword [ebx + 0x1005224c]
mov al, byte [esp + 0x13]
add edx, ecx
push 0
push esi
push 0x64
movzx ecx, byte [edx + 4]
mov edi, dword [edx + 8]
xor cl, al
mov ebx, dword [edx]
and cl, 1
xor al, cl
mov byte [esp + 0x1f], al
movzx ecx, byte [edx + 4]
xor cl, al
and cl, 2
xor al, cl
mov byte [esp + 0x1f], al
movzx ecx, byte [edx + 4]
xor cl, al
and cl, 4
xor al, cl
mov byte [esp + 0x1f], al
movzx ecx, byte [edx + 4]
xor cl, al
and cl, 8
xor al, cl
mov byte [esp + 0x1f], al
movzx ecx, byte [edx + 4]
xor cl, al
and cl, 0x10
xor al, cl
mov ecx, ebp
push edi
mov edi, dword [esp + 0x4c]
mov byte [esp + 0x23], al
lea eax, [esp + 0x23]
push eax
push ebx
push edi
call fcn.1003bc30
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x1c]
add ecx, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
cmp eax, dword [ebx + 0x10052248]
jb 0x1003af70
test ebp, ebp
je 0x1003b01d
push edi
mov ecx, ebp
call fcn.1003fbf0
lea ecx, [esp + 0x30]
call fcn.1002fb70
mov edx, dword [esp + 0x24]
add ebx, 0x20
mov dword [esp + 0x2c], ebx
cmp ebx, 0x140
jb 0x1003ace5
test byte [esi], 8
jne 0x1003b052
mov ecx, dword [edi + 0xc]
push 0
push esi
call fcn.10030d30
test byte [esi], 8
je 0x1003b05b
mov ecx, dword [edi + 0xc]
push esi
call fcn.10030bc0
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100454c0
add esp, 0xcc
ret 8