Function at 0x1003ad40
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.10030d40
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 0x1003b112
movzx ecx, word [ebx + 0x10052234]
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
cmp ecx, 1
je 0x1003add9
mov eax, dword [edx]
cmp dword [eax + 0x44], 4
jne 0x1003b0dd
test cx, cx
jne 0x1003b0dd
mov eax, dword [ebx + 0x10052238]
cmp eax, 5
ja case.default.0x1003ade4
jmp dword [eax*4 + 0x1003b138]
mov eax, dword [edx]
mov ecx, dword [eax + 0x184]
jmp 0x1003ae3d
mov eax, dword [edx]
mov ecx, dword [eax + 0x188]
jmp 0x1003ae3d
mov eax, dword [edx]
cmp dword [eax + 0xdc], 0x778
jge 0x1003ae23
mov ecx, dword [eax + 0x190]
jmp 0x1003ae3d
mov eax, dword [edx]
cmp dword [eax + 0xdc], 0x778
jge 0x1003ae0d
mov ecx, dword [eax + 0x18c]
jmp 0x1003ae3d
mov eax, dword [edx]
mov ecx, dword [eax + 0x194]
jmp 0x1003ae3d
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 0x1003b0d1
lea ecx, [esp + 0x78]
call fcn.10033560
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.10034410
test byte [esi], 8
mov edx, eax
mov dword [esp + 0x28], edx
jne 0x1003aec6
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x23], edx
test byte [esi], 8
jne 0x1003aec6
push edx
push esi
push dword [edi + 0x3c]
lea ecx, [esp + 0x84]
call fcn.10034410
test byte [esi], 8
mov edx, eax
mov dword [esp + 0x28], eax
jne 0x1003aec6
mov eax, dword [esp + 0x34]
mov dword [eax + 0x27], edx
lea ecx, [esp + 0x48]
call fcn.100418d0
lea ecx, [esp + 0x78]
call fcn.10033650
test byte [esi], 8
jne 0x1003b0d1
push 0x778
call fcn.10045682
add esp, 4
test eax, eax
je 0x1003af1f
mov ecx, dword [esp + 0x24]
push esi
push dword [ecx]
mov ecx, eax
call fcn.1003b150
mov ebp, eax
test ebp, ebp
je 0x1003af21
test byte [esi], 8
je 0x1003af38
mov ecx, ebp
call fcn.1003b300
push ebp
call fcn.100456f8
add esp, 4
xor ebp, ebp
jmp 0x1003af2f
xor ebp, ebp
push 1
push 0xfffffc0d
mov ecx, esi
call fcn.1001c550
test byte [esi], 8
jne 0x1003b0d1
inc dword [ebp + 0x4c]
mov ecx, ebp
push esi
push 6
push dword [esp + 0x1c]
push edi
call fcn.1003fa40
test byte [esi], 8
jne 0x1003b0d1
cmp dword [ebx + 0x10052240], 0
mov dword [esp + 0x1c], 0
jbe 0x1003b012
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov edi, edi
test byte [esi], 8
jne 0x1003b012
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.1003b840
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 0x1003af70
cmp dword [ebx + 0x10052248], 0
mov dword [esp + 0x18], 0
jbe 0x1003b0d1
xor ecx, ecx
mov dword [esp + 0x1c], ecx
lea ecx, [ecx]
test byte [esi], 8
jne 0x1003b0d1
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.1003bcf0
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 0x1003b030
test ebp, ebp
je 0x1003b0dd
push edi
mov ecx, ebp
call fcn.1003fcb0
lea ecx, [esp + 0x30]
call fcn.1002fc20
mov edx, dword [esp + 0x24]
add ebx, 0x20
mov dword [esp + 0x2c], ebx
cmp ebx, 0x140
jb 0x1003ada5
test byte [esi], 8
jne 0x1003b112
mov ecx, dword [edi + 0xc]
push 0
push esi
call fcn.10030de0
test byte [esi], 8
je 0x1003b11b
mov ecx, dword [edi + 0xc]
push esi
call fcn.10030c70
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10045580
add esp, 0xcc
ret 8