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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012f880
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10188068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10080a9e
mov eax, 0x80004005
jmp 0x100816d4
push 4
push str.rect
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x10080b06
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10080ae3
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [edi]
je 0x10080b08
mov esi, eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x10080b40
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10080b34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100816f2
push edx
push ecx
call fcn.100e2b31
mov eax, dword [edi]
add esp, 8
cmp esi, eax
je 0x10080b78
add esi, 0x28
cmp dword [esi + 0x14], 8
jb 0x10080b4f
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push str._d__d__d__d
push esi
call fcn.1004dc20
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
add esp, 0x18
push ecx
mov ecx, ebx
call dword [eax + 0x78]
push 6
push str.margin
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x10080be0
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10080bbd
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [edi]
je 0x10080be2
mov esi, eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x10080c1a
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10080c0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100816f7
push edx
push ecx
call fcn.100e2b31
mov eax, dword [edi]
add esp, 8
cmp esi, eax
je 0x10080c52
add esi, 0x28
cmp dword [esi + 0x14], 8
jb 0x10080c29
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push str._d__d__d__d
push esi
call fcn.1004dc20
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
add esp, 0x18
push ecx
mov ecx, ebx
call dword [eax + 0x68]
push 7
push str.padding
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x10080cba
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10080c97
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [edi]
je 0x10080cbc
mov esi, eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x10080cf4
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10080ce8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100816fc
push edx
push ecx
call fcn.100e2b31
mov eax, dword [edi]
add esp, 8
cmp esi, eax
je 0x10080d2c
add esi, 0x28
cmp dword [esi + 0x14], 8
jb 0x10080d03
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push str._d__d__d__d
push esi
call fcn.1004dc20
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
add esp, 0x18
push ecx
mov ecx, ebx
call dword [eax + 0x70]
push 4
push str.size
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x10080d94
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10080d71
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [edi]
je 0x10080d96
mov esi, eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x10080dce
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10080dc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081701
push edx
push ecx
call fcn.100e2b31
mov eax, dword [edi]
add esp, 8
cmp esi, eax
je 0x10080e01
add esi, 0x28
cmp dword [esi + 0x14], 8
jb 0x10080ddd
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push str._d__d
push esi
call fcn.1004dc20
mov eax, dword [ebx]
lea ecx, [ebp - 0x1c]
add esp, 0x10
push ecx
mov ecx, ebx
call dword [eax + 0x84]
push 8
push str.position
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x10080e69
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10080e46
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [edi]
je 0x10080e6b
mov esi, eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x10080ea3
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10080e97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081706
push edx
push ecx
call fcn.100e2b31
mov eax, dword [edi]
add esp, 8
cmp esi, eax
je 0x10080ed3
add esi, 0x28
cmp dword [esi + 0x14], 8
jb 0x10080eb2
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push str._d__d
push esi
call fcn.1004dc20
mov eax, dword [ebx]
lea ecx, [ebp - 0x1c]
add esp, 0x10
push ecx
mov ecx, ebx
call dword [eax + 0x7c]
push 6
push str.hidden
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x10080f3b
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10080f18
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [edi]
je 0x10080f3d
mov esi, eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x10080f75
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10080f69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008170b
push edx
push ecx
call fcn.100e2b31
mov eax, dword [edi]
add esp, 8
cmp esi, eax
je 0x10080fc3
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
mov esi, eax
jb 0x10080f86
mov esi, dword [eax]
cmp dword [eax + 0x10], 4
jne 0x10080fb6
mov ecx, 0x10163288
mov edx, 4
sub esi, ecx
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x10080fb6
add ecx, 2
sub edx, 1
jne 0x10080fa0
lea ecx, [edx + 1]
jmp 0x10080fb8
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x90]
push 0xa
push str.supportRgn
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x1008102b
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10081008
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [edi]
je 0x1008102d
mov esi, eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x10081065
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10081059
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081710
push edx
push ecx
call fcn.100e2b31
mov eax, dword [edi]
add esp, 8
cmp esi, eax
je 0x100810b3
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
mov esi, eax
jb 0x10081076
mov esi, dword [eax]
cmp dword [eax + 0x10], 4
jne 0x100810a6
mov ecx, 0x10163288
mov edx, 4
sub esi, ecx
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x100810a6
add ecx, 2
sub edx, 1
jne 0x10081090
lea ecx, [edx + 1]
jmp 0x100810a8
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xdc]
push 6
push str.zOrder
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x1008111b
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x100810f8
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [edi]
je 0x1008111d
mov esi, eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x10081155
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10081149
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081715
push edx
push ecx
call fcn.100e2b31
mov eax, dword [edi]
add esp, 8
cmp esi, eax
je 0x10081178
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x10081164
mov eax, dword [eax]
mov esi, dword [ebx]
push eax
call fcn.101112c0
add esp, 4
mov ecx, ebx
push eax
call dword [esi + 0xb0]
push 0xa
push str.alphaValue
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x100811e0
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x100811bd
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [edi]
je 0x100811e2
mov esi, eax
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x1008121a
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008120e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008171a
push edx
push ecx
call fcn.100e2b31
mov eax, dword [edi]
add esp, 8
cmp esi, eax
je 0x1008123d
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x10081229
mov eax, dword [eax]
mov esi, dword [ebx]
push eax
call fcn.101112c0
add esp, 4
mov ecx, ebx
push eax
call dword [esi + 0xd0]
push 8
push str.bkground
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x100812a5
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10081282
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
je 0x100812a7
mov eax, dword [edi]
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.100485b0
cmp esi, dword [edi]
je 0x100812e6
add esi, 0x28
lea ecx, [ebp - 0x40]
push esi
call fcn.10045090
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xb4]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10043ac0
push 6
push str.enable
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x1008134e
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x1008132b
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
je 0x10081350
mov eax, dword [edi]
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.100485b0
cmp esi, dword [edi]
je 0x100813a3
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
mov esi, eax
jb 0x10081369
mov esi, dword [eax]
cmp dword [eax + 0x10], 4
jne 0x10081396
mov ecx, 0x10163288
mov edx, 4
sub esi, ecx
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x10081396
add ecx, 2
sub edx, 1
jne 0x10081380
lea ecx, [edx + 1]
jmp 0x10081398
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xc4]
push 8
push str.toolText
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x1008140b
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x100813e8
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
je 0x1008140d
mov eax, dword [edi]
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.100485b0
cmp esi, dword [edi]
je 0x10081427
mov eax, dword [ebx]
add esi, 0x28
push esi
mov ecx, ebx
call dword [eax + 0xec]
push 0xd
push str.autoAlignType
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x1008148f
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x1008146c
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
je 0x10081491
mov eax, dword [edi]
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.100485b0
cmp esi, dword [edi]
je 0x100814bc
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x100814a8
mov eax, dword [eax]
mov esi, dword [ebx]
push eax
call fcn.101112c0
add esp, 4
mov ecx, ebx
push eax
call dword [esi + 0xa0]
push 0xf
push str.autoAlignOffset
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x10081524
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10081501
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
je 0x10081526
mov eax, dword [edi]
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.100485b0
cmp esi, dword [edi]
je 0x10081563
add esi, 0x28
cmp dword [esi + 0x14], 8
jb 0x1008153d
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push str._d__d
push esi
call fcn.1004dc20
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [eax + 0xa8]
push 9
push str.autoAlign
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x100815cb
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x100815a8
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
je 0x100815cd
mov eax, dword [edi]
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.100485b0
cmp esi, dword [edi]
je 0x10081623
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
mov esi, eax
jb 0x100815e6
mov esi, dword [eax]
cmp dword [eax + 0x10], 4
jne 0x10081616
mov ecx, 0x10163288
mov edx, 4
sub esi, ecx
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x10081616
add ecx, 2
sub edx, 1
jne 0x10081600
lea ecx, [edx + 1]
jmp 0x10081618
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x98]
push 0xc
push str.bkgroundMask
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10048640
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10055ac0
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x1008168b
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10081668
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x2c]
call fcn.10056980
shr eax, 0x1f
add esp, 8
test al, al
je 0x1008168d
mov eax, dword [edi]
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.100485b0
cmp esi, dword [edi]
je 0x100816cc
add esi, 0x28
lea ecx, [ebp - 0x40]
push esi
call fcn.10045090
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xbc]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10043ac0
push edi
mov ecx, ebx
call fcn.10085f70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e278d
mov esp, ebp
pop ebp
ret 4
call fcn.10107f97
call fcn.10107f97
call fcn.10107f97
call fcn.10107f97
call fcn.10107f97
call fcn.10107f97
call fcn.10107f97
call fcn.10107f97
call fcn.10107f97
int3