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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, ecx
mov eax, 0xd
push esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x60]
push edi
cmp eax, 0x64
jg 0x1001d9b6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov edi, eax
lea eax, [esp + 0x10]
push 0
push eax
push 0x1008cdb0
mov ecx, edi
call fcn.1000bbe0
mov eax, dword [esp + 0x10]
cmp eax, 5
je 0x1001d639
cmp eax, 1
jne 0x1001d622
cmp dword [esp + 0x18], 1
je 0x1001d639
push 0x1008cd9c
mov ecx, ebx
call fcn.100139f0
push eax
push 1
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.10045c00
mov esi, dword [ebx + 0x8c]
lea ecx, [esp + 0x10]
push ecx
push 0x10078070
mov ecx, edi
mov dword [esp + 0x54], esi
call fcn.1000bc70
mov edx, dword [ebx]
lea eax, [esp + 0x44]
push eax
mov ecx, dword [edx + 0x2c]
lea edx, [esp + 0x14]
push edx
call fcn.100462e0
test eax, eax
je 0x1001d6a0
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x1001d6a0
lea ecx, [esp + 0x10]
call fcn.10045c00
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
je 0x1001d9b6
mov dword [ebx + 0x8c], 0
lea ecx, [esp + 0x10]
call fcn.10045c00
lea ecx, [esp + 0x50]
push 0
push ecx
push str.BBox
mov ecx, edi
call fcn.1000bbe0
cmp dword [esp + 0x50], 6
je 0x1001d6f2
lea ecx, [esp + 0x50]
call fcn.10045c00
push 0x1008cd84
mov ecx, ebx
call fcn.100139f0
push eax
push 1
call fcn.1000bd30
add esp, 0xc
mov dword [ebx + 0x8c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor esi, esi
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x10]
push edx
push esi
call fcn.10004df0
cmp dword [esp + 0x10], 1
jne 0x1001d710
fild dword [esp + 0x18]
jmp 0x1001d714
fld qword [esp + 0x18]
fstp qword [esp + esi*8 + 0xc0]
lea ecx, [esp + 0x10]
call fcn.10045c00
inc esi
cmp esi, 4
jl 0x1001d6f4
lea ecx, [esp + 0x50]
call fcn.10045c00
xor esi, esi
lea eax, [esp + 0x60]
push esi
push eax
push 0x1008cd7c
mov ecx, edi
call fcn.1000bbe0
cmp dword [esp + 0x60], 6
jne 0x1001d78b
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x6c]
push esi
call fcn.10004df0
cmp dword [esp + 0x10], 1
jne 0x1001d76a
fild dword [esp + 0x18]
jmp 0x1001d76e
fld qword [esp + 0x18]
fstp qword [esp + esi*8 + 0x80]
lea ecx, [esp + 0x10]
call fcn.10045c00
inc esi
cmp esi, 6
jl 0x1001d74e
xor esi, esi
jmp 0x1001d80f
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3ff00000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x3ff00000
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [esp + 0x60]
call fcn.10045c00
lea edx, [esp + 0x70]
push esi
push edx
push str.Resources
mov ecx, edi
call fcn.1000bbe0
mov edx, dword [esp + 0x70]
xor eax, eax
cmp edx, 7
mov edx, dword [esp + 0x78]
setne al
dec eax
lea ecx, [esp + 0x10]
push 0
and eax, edx
push ecx
push 0x1008cc78
mov ecx, edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
call fcn.1000bbe0
cmp dword [eax], 7
jne 0x1001d948
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xb0]
push 0
push edx
push 0x100780a4
call fcn.1000bbe0
cmp dword [eax], 4
jne 0x1001d93c
mov esi, dword [eax + 8]
mov edi, 0x1008d148
mov ecx, 0xd
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1001d938
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push 0x1008c9f8
mov dword [esp + 0x30], 1
call fcn.1000bbe0
cmp dword [eax], 5
je 0x1001d8d9
lea edx, [esp + 0x30]
push 0
push edx
call fcn.100221f0
add esp, 8
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x30]
call fcn.10045c00
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push 0
push eax
push 0x10078098
call fcn.1000bbe0
cmp dword [eax], 0
jne 0x1001d904
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x30]
call fcn.10045c00
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push 0
push edx
push 0x10085f1c
call fcn.1000bbe0
cmp dword [eax], 0
jne 0x1001d92f
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
call fcn.10045c00
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0xb0]
call fcn.10045c00
lea ecx, [esp + 0x10]
call fcn.10045c00
mov eax, dword [ebx + 0x60]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
push 0
inc eax
push 0
push ecx
mov dword [ebx + 0x60], eax
mov eax, dword [esp + 0x34]
push edx
push esi
push 0
lea ecx, [esp + 0xdc]
push eax
mov eax, dword [esp + 0x68]
lea edx, [esp + 0xa0]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.1001d9c0
mov ecx, dword [ebx + 0x60]
dec ecx
test esi, esi
mov dword [ebx + 0x60], ecx
je 0x1001d9a3
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x70]
call fcn.10045c00
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x8c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4