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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006e468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
mov ebx, ecx
mov eax, 0xd
push esi
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x58], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x68], 1
mov dword [ebx], eax
mov eax, dword [eax + 0x20]
xor esi, esi
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
mov dword [ebx + 8], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push str.Subtype
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x54], esi
call fcn.1000bbe0
cmp dword [eax], 4
jne 0x10001134
push 8
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov dword [esp + 0x94], esi
je 0x10001124
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, eax
call fcn.100326a0
jmp 0x10001126
xor eax, eax
mov dword [esp + 0x94], 0xffffffff
mov dword [ebx + 0x10], eax
lea ecx, [esp + 0x48]
call fcn.10045c00
lea edx, [esp + 0x48]
push esi
push edx
push str.Rect
mov ecx, edi
call fcn.1000bbe0
cmp dword [eax], 6
jne 0x100012a1
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0xc], 4
jne 0x100012a1
lea eax, [esp + 0x38]
mov dword [ebx + 0x48], esi
push eax
push esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], esi
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x10001195
cmp eax, 2
jne 0x100011a9
cmp dword [esp + 0x38], 1
jne 0x100011a2
fild dword [esp + 0x40]
jmp 0x100011a6
fld qword [esp + 0x40]
fstp qword [ebx + 0x30]
lea ecx, [esp + 0x38]
call fcn.10045c00
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x54]
push 1
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x100011ce
cmp eax, 2
jne 0x100011e2
cmp dword [esp + 0x38], 1
jne 0x100011db
fild dword [esp + 0x40]
jmp 0x100011df
fld qword [esp + 0x40]
fstp qword [ebx + 0x38]
lea ecx, [esp + 0x38]
call fcn.10045c00
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x38]
push edx
push 2
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x10001207
cmp eax, 2
jne 0x1000121b
cmp dword [esp + 0x38], 1
jne 0x10001214
fild dword [esp + 0x40]
jmp 0x10001218
fld qword [esp + 0x40]
fstp qword [ebx + 0x40]
lea ecx, [esp + 0x38]
call fcn.10045c00
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x38]
push eax
push 3
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x10001240
cmp eax, 2
jne 0x10001254
cmp dword [esp + 0x38], 1
jne 0x1000124d
fild dword [esp + 0x40]
jmp 0x10001251
fld qword [esp + 0x40]
fstp qword [ebx + 0x48]
lea ecx, [esp + 0x38]
call fcn.10045c00
fld qword [ebx + 0x30]
fcomp qword [ebx + 0x40]
fnstsw ax
and eax, 0x4100
jne 0x1000127e
fld qword [ebx + 0x30]
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
fstp qword [ebx + 0x40]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], edx
fld qword [ebx + 0x38]
fcomp qword [ebx + 0x48]
fnstsw ax
and eax, 0x4100
jne 0x100012b5
fld qword [ebx + 0x38]
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
fstp qword [ebx + 0x48]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
jmp 0x100012b5
push 0x100780b0
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0xc
mov dword [ebx + 0x68], esi
lea ecx, [esp + 0x48]
call fcn.10045c00
lea edx, [esp + 0x48]
push esi
push edx
push 0x100780ac
mov ecx, edi
call fcn.1000bbe0
cmp dword [eax], 1
jne 0x100012de
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x50], eax
jmp 0x100012e1
mov dword [ebx + 0x50], esi
lea ecx, [esp + 0x48]
call fcn.10045c00
lea ecx, [esp + 0x48]
push esi
xor edi, edi
push ecx
mov ecx, dword [ebp + 0xc]
push 0x100780a8
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x3ff00000
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x3ff00000
call fcn.1000bbe0
cmp dword [eax], 7
jne 0x100014fd
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x38]
push esi
push edx
push 0x100780a4
call fcn.1000bbe0
cmp dword [eax], 4
jne 0x100013f2
cmp dword [esp + 0x38], 4
jne 0x100013f2
mov eax, dword [esp + 0x40]
mov edi, 0x100780a4
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10001384
mov dword [esp + 0x10], edx
jmp 0x100013f2
mov edi, 0x100780a0
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100013a0
mov dword [esp + 0x10], 1
jmp 0x100013f2
mov edi, 0x1007809c
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100013bc
mov dword [esp + 0x10], 2
jmp 0x100013f2
mov edi, 0x10078098
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100013d8
mov dword [esp + 0x10], 3
jmp 0x100013f2
mov esi, eax
mov edi, 0x10078094
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x100013f2
mov dword [esp + 0x10], 4
lea ecx, [esp + 0x38]
call fcn.10045c00
xor esi, esi
lea ecx, [esp + 0x38]
push esi
push ecx
mov ecx, dword [esp + 0x58]
push str.WUIBDSF
call fcn.1000bbe0
mov eax, dword [eax]
cmp eax, 1
je 0x1000141d
cmp eax, 2
jne 0x1000143e
cmp dword [esp + 0x38], 1
jne 0x1000142e
fild dword [esp + 0x40]
fstp qword [esp + 0x18]
jmp 0x1000143e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x38]
call fcn.10045c00
lea ecx, [esp + 0x38]
push esi
push ecx
mov ecx, dword [esp + 0x58]
push 0x100780a0
call fcn.1000bbe0
cmp dword [eax], 6
jne 0x100014eb
mov edx, dword [esp + 0x40]
push 8
mov eax, dword [edx + 0xc]
push eax
mov dword [esp + 0x14], eax
call fcn.10032570
mov edi, eax
mov eax, dword [esp + 0x14]
add esp, 8
xor esi, esi
test eax, eax
jle 0x100014db
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x58]
push eax
push esi
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x100014a1
cmp eax, 2
jne 0x100014ba
cmp dword [esp + 0x58], 1
jne 0x100014b1
fild dword [esp + 0x60]
fstp qword [edi + esi*8]
jmp 0x100014c9
fld qword [esp + 0x60]
fstp qword [edi + esi*8]
jmp 0x100014c9
mov dword [edi + esi*8], 0
mov dword [edi + esi*8 + 4], 0x3ff00000
lea ecx, [esp + 0x58]
call fcn.10045c00
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
jl 0x10001486
lea ecx, [esp + 0x38]
xor esi, esi
call fcn.10045c00
jmp 0x10001631
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x38]
call fcn.10045c00
jmp 0x10001631
lea ecx, [esp + 0x48]
call fcn.10045c00
lea ecx, [esp + 0x48]
push esi
push ecx
mov ecx, dword [ebp + 0xc]
push str.Border
call fcn.1000bbe0
cmp dword [eax], 6
jne 0x10001631
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0xc], 3
jl 0x10001631
lea edx, [esp + 0x38]
push edx
push 2
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x10001548
cmp eax, 2
jne 0x10001569
cmp dword [esp + 0x38], 1
jne 0x10001559
fild dword [esp + 0x40]
fstp qword [esp + 0x18]
jmp 0x10001569
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x38]
call fcn.10045c00
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0xc], 4
jl 0x10001631
lea edx, [esp + 0x38]
push edx
push 3
call fcn.10004df0
cmp dword [eax], 6
jne 0x10001616
mov eax, dword [esp + 0x40]
push 8
mov dword [esp + 0x14], 1
mov eax, dword [eax + 0xc]
push eax
mov dword [esp + 0x14], eax
call fcn.10032570
mov edi, eax
mov eax, dword [esp + 0x14]
add esp, 8
xor esi, esi
test eax, eax
jle 0x10001626
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x44]
push esi
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x100015da
cmp eax, 2
jne 0x100015f3
cmp dword [esp + 0x58], 1
jne 0x100015ea
fild dword [esp + 0x60]
fstp qword [edi + esi*8]
jmp 0x10001602
fld qword [esp + 0x60]
fstp qword [edi + esi*8]
jmp 0x10001602
mov dword [edi + esi*8], 0
mov dword [edi + esi*8 + 4], 0x3ff00000
lea ecx, [esp + 0x58]
call fcn.10045c00
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
jl 0x100015bf
jmp 0x10001626
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x38]
call fcn.10045c00
xor esi, esi
lea ecx, [esp + 0x48]
call fcn.10045c00
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x48]
push esi
push edx
push 0x10078084
call fcn.1000bbe0
cmp dword [eax], 6
jne 0x10001731
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0xc], 3
jne 0x10001731
lea eax, [esp + 0x38]
push eax
push esi
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x1000167b
cmp eax, 2
jne 0x1000169c
cmp dword [esp + 0x38], 1
jne 0x1000168c
fild dword [esp + 0x40]
fstp qword [esp + 0x30]
jmp 0x1000169c
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x48]
call fcn.10045c00
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x38]
push eax
push 1
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x100016c1
cmp eax, 2
jne 0x100016e2
cmp dword [esp + 0x38], 1
jne 0x100016d2
fild dword [esp + 0x40]
fstp qword [esp + 0x28]
jmp 0x100016e2
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x48]
call fcn.10045c00
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x38]
push eax
push 2
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x10001707
cmp eax, 2
jne 0x10001728
cmp dword [esp + 0x38], 1
jne 0x10001718
fild dword [esp + 0x40]
fstp qword [esp + 0x20]
jmp 0x10001728
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x48]
call fcn.10045c00
lea ecx, [esp + 0x48]
call fcn.10045c00
push 0x30
call fcn.10060e1a
add esp, 4
cmp eax, esi
je 0x10001784
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edi
push edx
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ecx, eax
call fcn.10001000
jmp 0x10001786
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x54], eax
lea eax, [esp + 0x68]
push esi
push eax
push 0x10078080
mov ecx, edi
call fcn.1000bbe0
lea ecx, [esp + 0x78]
push esi
push ecx
push 0x1007807c
mov ecx, edi
call fcn.1000bbe0
cmp dword [esp + 0x78], 4
jne 0x100017ff
push 8
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov dword [esp + 0x94], 1
je 0x100017e5
mov edx, dword [esp + 0x80]
mov ecx, eax
push edx
call fcn.100326a0
jmp 0x100017e7
xor eax, eax
mov dword [esp + 0x94], 0xffffffff
mov dword [ebx + 0x14], eax
mov edi, 7
jmp 0x10001881
mov eax, dword [esp + 0x68]
mov edi, 7
cmp eax, edi
jne 0x10001881
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x48]
push esi
push eax
push 0x10078078
call fcn.1000bbe0
cmp dword [esp + 0x48], edi
jne 0x10001878
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0xc], 1
jne 0x10001878
push 8
call fcn.10060e1a
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, esi
mov dword [esp + 0x94], 2
je 0x10001863
mov ecx, dword [esp + 0x50]
push esi
call fcn.1000bd00
push eax
mov ecx, edi
call fcn.100326a0
jmp 0x10001865
xor eax, eax
mov dword [esp + 0x94], 0xffffffff
mov dword [ebx + 0x14], eax
mov edi, 7
lea ecx, [esp + 0x48]
call fcn.10045c00
cmp dword [ebx + 0x14], esi
jne 0x100018c1
push 8
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov dword [esp + 0x94], 3
je 0x100018b1
push 0x10078074
mov ecx, eax
call fcn.100326a0
jmp 0x100018b3
xor eax, eax
mov dword [esp + 0x94], 0xffffffff
mov dword [ebx + 0x14], eax
lea ecx, [esp + 0x78]
call fcn.10045c00
cmp dword [esp + 0x68], edi
jne 0x10001959
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x48]
push esi
push edx
push 0x10078078
call fcn.1000bbe0
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x38]
push eax
push 0x10078078
call fcn.1000bc70
cmp dword [esp + 0x48], edi
jne 0x10001933
mov ecx, dword [ebx + 0x14]
lea edx, [esp + 0x58]
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x54]
push eax
call fcn.1000bc70
cmp dword [eax], 9
jne 0x10001928
lea eax, [ebx + 0x18]
lea ecx, [esp + 0x58]
push eax
call fcn.10045b00
lea ecx, [esp + 0x58]
call fcn.10045c00
jmp 0x10001947
cmp dword [esp + 0x38], 9
jne 0x10001947
lea eax, [ebx + 0x18]
lea ecx, [esp + 0x38]
push eax
call fcn.10045b00
lea ecx, [esp + 0x48]
call fcn.10045c00
lea ecx, [esp + 0x38]
call fcn.10045c00
lea ecx, [esp + 0x68]
call fcn.10045c00
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0x58]
push eax
push 0x10078070
call fcn.1000bc70
mov ecx, dword [esp + 0x8c]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc