Function at 0x100c9ce0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4fe6
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x101279d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
lea esi, [ecx + 0xf8]
mov dword [ebp - 0xe0], eax
mov eax, dword [edi]
mov dword [ebp - 0x134], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0xf4], esi
cmp dword [esi + 0x30], eax
jne 0x100c9d4d
cmp dword [esi + 0x34], ecx
jne 0x100c9d4d
push ebx
lea ecx, [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x100c9d54
mov ecx, esi
call fcn.100c8140
mov edx, dword [edi]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 4]
mov dword [esi + 0x34], eax
mov ecx, dword [ebx]
mov dword [esi + 0x38], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 0x3c], edx
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0xe0]
mov dword [esi + 0x40], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x44], ecx
cmp dword [edx + 0x3c], 0
jne 0x100c9d89
xor eax, eax
jmp 0x100cbf57
mov esi, edx
lea eax, [esi + 0x10]
push str.video
push eax
call fcn.1000fa40
add esp, 8
test al, al
jne 0x100c9db6
mov eax, dword [edi]
mov ecx, dword [edi + 4]
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x44], ecx
lea ebx, [ebp - 0x50]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebx + 0xc]
lea edx, [ebp - 0x60]
push edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100c9d82
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x108]
push edx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x134]
lea ebx, [esi + 8]
push eax
add ecx, 0xac
mov dword [ebp - 0x170], ebx
call fcn.100d3f40
test eax, eax
je 0x100c9e4d
mov esi, dword [eax + 4]
test esi, esi
je 0x100c9e4d
mov edx, dword [ebp - 0xe0]
cmp byte [edx + 0xc], 0
jne 0x100c9e3b
lea ecx, [ebp - 0x60]
lea eax, [esi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x100c9e3b
mov eax, esi
jmp 0x100cbf57
mov ecx, dword [ebp - 0x134]
push ebx
add ecx, 0xa8
call fcn.100c9480
mov eax, dword [ebp - 0xe0]
mov esi, dword [eax + 0x34]
xor ecx, ecx
xor ebx, ebx
cmp esi, ebx
setne cl
mov dword [ebp - 0x138], esi
cmp ecx, ebx
jne 0x100c9e73
push 0x80004005
call fcn.10001150
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0xe4], edx
fild dword [ebp - 0xe4]
sub ecx, dword [ebp - 0x5c]
fdiv dword [eax + 0x14]
mov dword [ebp - 0xe4], ecx
fstp dword [ebp - 0xfc]
fild dword [ebp - 0xe4]
fdiv dword [eax + 0x18]
fstp dword [ebp - 0xf8]
fild dword [ebp - 0x60]
fstp dword [ebp - 0xe4]
fld dword [esi + 0x28]
fld dword [ebp - 0xfc]
fld st(0)
fmulp st(2)
fld dword [ebp - 0xe4]
fld st(0)
faddp st(3)
fld qword [0x100f0940]
fmul st(3), st(0)
fld qword [0x100edf10]
fadd st(4), st(0)
fxch st(4)
call fcn.100a7850
fild dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
fstp dword [ebp - 0xd4]
fld dword [esi + 0x1c]
fld dword [ebp - 0xf8]
fld st(0)
fmulp st(2)
fld dword [ebp - 0xd4]
faddp st(2)
fxch st(1)
fmul st(2)
fadd st(5)
call fcn.100a7850
fild dword [ebp - 0x58]
fld dword [esi + 0x20]
mov dword [ebp - 0x4c], eax
fmul st(5)
fsubp st(1)
fmul st(2)
fadd st(5)
call fcn.100a7850
fild dword [ebp - 0x54]
fld dword [esi + 0x24]
mov dword [ebp - 0x48], eax
fmul st(2)
fsubp st(1)
fmul st(2)
faddp st(5)
fxch st(4)
call fcn.100a7850
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [0x100ea0c0]
mov dword [ebp - 0x44], eax
lahf
movss dword [ebp - 0xe4], xmm0
test ah, 0x44
jp 0x100c9f68
mov dword [ebp - 0x40], ebx
jmp 0x100c9f7a
fld dword [ebp - 0xe4]
fmul st(3)
fadd st(2)
call fcn.100a7850
mov dword [ebp - 0x40], eax
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [0x100ea0c0]
lea eax, [esi + 0xc]
mov dword [ebp - 0x13c], eax
lahf
movss dword [ebp - 0xe4], xmm0
test ah, 0x44
jp 0x100c9fa1
xor ebx, ebx
jmp 0x100c9fb6
fld dword [ebp - 0xe4]
fmul st(4)
fadd dword [ebp - 0xd4]
call fcn.100a7850
mov ebx, eax
mov dword [ebp - 0x3c], ebx
movss xmm0, dword [esi + 0x10]
ucomiss xmm0, dword [0x100ea0c0]
lahf
movss dword [ebp - 0xe4], xmm0
test ah, 0x44
jp 0x100c9fdc
mov edx, dword [edi]
fstp st(1)
mov dword [ebp - 0x38], edx
jmp 0x100c9ff0
fld dword [ebp - 0xe4]
fmul st(3)
faddp st(2)
fxch st(1)
call fcn.100a7850
mov dword [ebp - 0x38], eax
movss xmm0, dword [esi + 0x14]
ucomiss xmm0, dword [0x100ea0c0]
lahf
movss dword [ebp - 0xe4], xmm0
test ah, 0x44
jp 0x100ca00f
mov esi, dword [edi + 4]
jmp 0x100ca024
fld dword [ebp - 0xe4]
fmul st(3)
fadd dword [ebp - 0xd4]
call fcn.100a7850
mov esi, eax
mov ecx, dword [ebp - 0x40]
xor eax, eax
test ecx, ecx
setle al
mov dword [ebp - 0x34], esi
dec eax
and eax, ecx
xor ecx, ecx
test ebx, ebx
setle cl
mov dword [ebp - 0x40], eax
dec ecx
and ecx, ebx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edi]
cmp dword [ebp - 0x38], ecx
jl 0x100ca04e
mov dword [ebp - 0x38], ecx
mov edi, dword [edi + 4]
cmp esi, edi
jl 0x100ca058
mov dword [ebp - 0x34], edi
mov esi, dword [ebp - 0xe0]
fmul st(1), st(0)
fxch st(1)
lea ebx, [esi + 0x1c]
push str.down
fstp dword [ebp - 0xfc]
push ebx
mov dword [ebp - 0x114], ebx
fmulp st(1)
fstp dword [ebp - 0xf8]
call fcn.1000fa40
add esp, 8
test al, al
jne 0x100ca0a4
push 0x10103a44
push ebx
call fcn.1000fa40
add esp, 8
mov byte [ebp - 0xd9], 0
test al, al
je 0x100ca0ab
mov byte [ebp - 0xd9], 1
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], 0xa
mov edi, dword [esi + 0x34]
mov dword [ebp - 4], eax
cmp edi, eax
je 0x100ca4bf
lea esp, [esp]
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x100c9e69
push 0x5c
mov ebx, edi
mov edi, dword [edi]
lea edx, [ebp - 0xcc]
push 0
push edx
mov dword [ebp - 0x100], edi
add ebx, 8
call fcn.100a7150
mov byte [ebp - 0xb5], 1
mov eax, dword [ebx + 0x68]
sub eax, 0x10
push eax
call fcn.10002980
lea esi, [eax + 0x10]
push esi
lea eax, [ebp - 0xb0]
push 0x20
push eax
call fcn.100a776d
add esi, 0xfffffff0
add esp, 0x1c
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100ca160
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
fld dword [ebx + 0x6c]
fmul dword [ebp - 0xf8]
fld qword [0x100edf10]
fadd st(1), st(0)
fxch st(1)
call fcn.100a7850
mov dword [ebp - 0xcc], eax
fadd dword [ebx + 0x70]
call fcn.100a7850
mov esi, dword [ebp - 0x134]
mov dword [ebp - 0xbc], eax
cmp byte [ebx + 0x86], 0
setne al
mov byte [ebp - 0xb8], al
cmp byte [ebx + 0x84], 0
lea eax, [ebp - 0xcc]
setne cl
mov byte [ebp - 0xb7], cl
cmp byte [ebx + 0x85], 0
push eax
setne dl
mov byte [ebp - 0xb6], dl
mov edx, dword [esi + 4]
lea ecx, [esi + 8]
push edx
mov dword [ebp - 0xb4], 0x40004
call fcn.100c9700
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x100ca220
push 0x100e7cac
lea eax, [ebp - 0xb0]
push 0x20
push eax
call fcn.100a776d
mov edx, dword [esi + 4]
add esp, 0xc
lea ecx, [ebp - 0xcc]
push ecx
push edx
lea ecx, [esi + 8]
call fcn.100c9700
mov dword [ebp - 0xd4], eax
test eax, eax
je 0x100ca4ab
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebx + 0xe8]
cmp word [eax], 0
mov dword [ebp - 0xec], eax
je 0x100ca494
push 0x334
call fcn.1008e631
add esp, 4
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x100ca270
mov ecx, eax
call fcn.100d9760
mov edi, eax
jmp 0x100ca272
xor edi, edi
mov dword [ebp - 0x108], edi
mov esi, dword [ebp - 0xec]
mov cx, word [esi]
mov word [edi], cx
push ebx
lea ecx, [edi + 4]
mov byte [ebp - 4], 2
call fcn.100c7fd0
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xf8]
mov cl, byte [ebp - 0xd9]
mov dword [edi + 0xfc], edx
mov edx, dword [ebp - 0xd4]
mov dword [edi + 0x100], eax
mov byte [edi + 0x104], cl
mov dword [edi + 0x108], edx
movzx eax, word [esi + 2]
test ax, ax
jne 0x100ca2e7
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x100ca2e7
mov eax, dword [ecx + 0xf0]
cmp dword [eax - 0xc], 0
jl 0x100ca567
movzx eax, word [eax]
push eax
mov eax, dword [ebp - 0xd8]
push eax
push edi
call fcn.100d9ff0
mov ecx, dword [ebp - 0xec]
movzx edx, word [ecx]
mov esi, dword [ebp - 0x134]
mov ecx, dword [esi + 4]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push ecx
mov dword [ebp - 0xd8], edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [ebp - 0xd9], 0
fld dword [ebx + 0x88]
je 0x100ca37b
fmul dword [ebp - 0xf8]
fadd qword [0x100edf10]
call fcn.100a7850
mov dword [edi + 0x118], eax
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x10c], eax
mov edx, dword [ebp - 0x18]
sub edx, eax
mov dword [edi + 0x110], edx
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x114], eax
cmp word [edi], 0x20
jne 0x100ca3b3
cdq
sub eax, edx
sar eax, 1
jmp 0x100ca3ad
fmul dword [ebp - 0xfc]
fadd qword [0x100edf10]
call fcn.100a7850
mov dword [edi + 0x118], eax
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x10c], ecx
mov edx, dword [eax + 0x14]
mov dword [edi + 0x110], edx
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x114], eax
movzx eax, word [edi]
cmp eax, 0xa
jne 0x100ca3ed
xor eax, eax
mov dword [edi + 0x118], eax
mov dword [edi + 0x114], eax
mov eax, dword [edi + 0x10c]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x10c], eax
mov eax, dword [edi + 0x110]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x110], eax
jmp 0x100ca426
mov ecx, dword [ebp - 0xd4]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
lea ecx, [esi + 0x58]
call fcn.100c98b0
test eax, eax
jne 0x100ca41a
mov ecx, edi
mov byte [ebp - 4], al
call fcn.100c7de0
push edi
call fcn.1008e660
add esp, 4
jmp 0x100ca475
push eax
lea ecx, [edi + 0x128]
call fcn.100d9a90
mov esi, dword [ebp - 0x168]
lea ecx, [ebp - 0x16c]
call fcn.100c7ab0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
mov dword [eax + 8], edi
mov dword [ebp - 0x15c], ecx
mov dword [eax + 4], esi
mov dword [eax], 0
mov ecx, dword [ebp - 0x168]
inc dword [ebp - 0x164]
test ecx, ecx
je 0x100ca465
mov dword [ecx], eax
jmp 0x100ca46b
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xec]
add eax, 2
cmp word [eax], 0
mov dword [ebp - 0xec], eax
jne 0x100ca24a
mov edi, dword [ebp - 0x100]
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
jne 0x100ca0f0
mov eax, dword [ebp - 0x16c]
mov ebx, dword [ebp - 0x114]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], 0xa
mov dword [ebp - 0x110], esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x100], eax
cmp eax, esi
je 0x100ca66d
mov eax, dword [ebp - 0x100]
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x100c9e69
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov dword [ebp - 0x100], ecx
mov dword [eax + 8], ebx
mov dword [ebp - 0xd4], edi
mov byte [ebp - 4], 5
cmp esi, ebx
jne 0x100ca57b
push 0x28
call fcn.1008e631
add esp, 4
cmp eax, ebx
je 0x100ca571
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xa
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
jmp 0x100ca573
push 0x80070057
call fcn.10001150
xor eax, eax
mov dword [ebp - 0x110], eax
mov esi, eax
movzx edx, word [edi]
mov ebx, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0xe4], edx
call fcn.100c7ab0
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
test eax, eax
je 0x100ca5a4
mov dword [ebp - 0xd4], 0
mov dword [eax + 8], edi
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ecx, dword [esi + 4]
inc dword [esi + 8]
test ecx, ecx
je 0x100ca5be
mov dword [ecx], eax
jmp 0x100ca5c0
mov dword [esi], eax
cmp word [ebp - 0xe4], 0xa
mov dword [esi + 4], eax
je 0x100ca5d6
cmp dword [ebp - 0x100], 0
jne 0x100ca631
mov edi, dword [ebp - 0x150]
lea ecx, [ebp - 0x154]
call fcn.100c7ab0
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax]
mov dword [eax + 8], esi
mov dword [ebp - 0x144], ecx
mov dword [eax + 4], edi
mov dword [eax], 0
mov ecx, dword [ebp - 0x150]
inc dword [ebp - 0x14c]
mov dword [ebp - 0x110], 0
test ecx, ecx
je 0x100ca61f
mov dword [ecx], eax
jmp 0x100ca625
mov dword [ebp - 0x154], eax
mov esi, dword [ebp - 0x110]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0xd4], 0
mov byte [ebp - 4], 4
je 0x100ca654
mov edi, dword [ebp - 0xd4]
mov ecx, edi
call fcn.100c7de0
push edi
call fcn.1008e660
add esp, 4
cmp dword [ebp - 0x100], 0
jne 0x100ca503
mov ebx, dword [ebp - 0x114]
mov edi, dword [ebp - 0x154]
mov eax, dword [ebx]
mov ecx, str.right
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100ca69a
test dx, dx
je 0x100ca696
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100ca69a
add eax, 4
add ecx, 4
test dx, dx
jne 0x100ca674
xor eax, eax
jmp 0x100ca69f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x100ca771
mov ecx, edi
mov dword [ebp - 0xd8], edi
test edi, edi
je 0x100ca771
lea esp, [esp]
xor edx, edx
test ecx, ecx
setne dl
mov dword [ebp - 0xe4], edx
test edx, edx
je 0x100c9e69
mov eax, dword [ecx + 8]
mov edi, dword [eax]
test edi, edi
je 0x100ca753
mov eax, dword [edi + 8]
mov edi, dword [edi]
test edi, edi
je 0x100ca747
mov esi, dword [edi + 8]
mov ecx, dword [eax + 0x108]
cmp ecx, dword [esi + 0x108]
jne 0x100ca6de
cmp byte [eax + 0x98], 0
je 0x100ca6de
cmp byte [esi + 0x98], 0
je 0x100ca6de
movzx edx, word [esi]
movzx eax, word [eax]
push edx
push eax
call fcn.100d8380
mov ebx, eax
test ebx, ebx
je 0x100ca6de
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [esi + 0x128]
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], 0
call fcn.100d9900
add dword [esi + 0x114], ebx
jmp 0x100ca6de
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xe4]
test edx, edx
je 0x100c9e69
mov ecx, dword [ecx]
mov dword [ebp - 0xd8], ecx
test ecx, ecx
jne 0x100ca6c0
mov edi, dword [ebp - 0x154]
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x24]
mov edx, str.normal
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x100ca7a7
test si, si
je 0x100ca7a3
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x100ca7a7
add ecx, 4
add edx, 4
test si, si
jne 0x100ca781
xor ecx, ecx
jmp 0x100ca7ac
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
sete cl
test cl, cl
jne 0x100ca7f8
mov ecx, str.even
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100ca7e6
test dx, dx
je 0x100ca7e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100ca7e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100ca7c0
xor eax, eax
jmp 0x100ca7eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x100cac2d
cmp byte [ebp - 0xd9], 0
je 0x100ca809
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
jmp 0x100ca80f
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xd4], edi
test edi, edi
je 0x100cac2d
mov ebx, eax
mov esi, edi
jmp 0x100ca840
mov edi, dword [esi + 8]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xd0], 0
mov ecx, str.even
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100ca887
test dx, dx
je 0x100ca883
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100ca887
add eax, 4
add ecx, 4
test dx, dx
jne 0x100ca861
xor eax, eax
jmp 0x100ca88c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x100ca8ff
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
je 0x100ca8d9
xor edx, edx
test ecx, ecx
setne dl
mov esi, edx
test esi, esi
je 0x100c9e69
mov edx, dword [ecx + 8]
mov ebx, dword [edx + 0x118]
add ebx, dword [edx + 0x114]
add eax, ebx
test esi, esi
je 0x100c9e69
mov ecx, dword [ecx]
test ecx, ecx
jne 0x100ca89d
mov ebx, dword [ebp - 0xec]
mov esi, dword [ebp - 0xd4]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
cmp ecx, ebx
jle 0x100ca8ff
mov eax, ecx
cdq
idiv ebx
lea ebx, [eax + 1]
mov eax, ecx
cdq
idiv ebx
mov ebx, eax
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe4], ebx
mov edi, dword [edi]
xor ecx, ecx
test edi, edi
je 0x100cac17
jmp 0x100ca916
mov ecx, dword [ebp - 0xd8]
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x100c9e69
mov esi, dword [edi + 8]
mov eax, dword [esi + 0x118]
add eax, dword [esi + 0x114]
add ecx, eax
cmp dword [ebp - 0xd0], 0
mov dword [ebp - 0xd8], ecx
je 0x100cab5a
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0x100cab5a
cmp word [esi], 0x20
je 0x100cab5a
push 0x28
call fcn.1008e631
add esp, 4
test eax, eax
je 0x100ca997
xor ebx, ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xa
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov edi, eax
jmp 0x100ca99b
xor edi, edi
xor ebx, ebx
mov edx, dword [ebp - 0xd0]
mov ecx, dword [edx]
mov dword [ebp - 0x110], edi
mov dword [ebp - 0xd8], ecx
nop
xor eax, eax
cmp edx, ebx
setne al
cmp eax, ebx
je 0x100c9e69
mov eax, dword [edi]
mov dword [ebp - 0x14], edx
mov edx, dword [edx + 4]
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0x108], eax
cmp dword [edi + 0x10], ebx
jne 0x100caa54
mov eax, dword [edi + 0x14]
xor ecx, ecx
mov edx, eax
mov esi, ecx
shld ecx, eax, 1
add eax, eax
add eax, edx
adc ecx, esi
shld ecx, eax, 2
add eax, eax
add eax, eax
cmp ecx, ebx
ja 0x100cad85
jb 0x100caa06
cmp eax, 0xffffffff
ja 0x100cad85
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 4
jb 0x100cad85
add eax, 4
push eax
call fcn.100a824b
add esp, 4
cmp eax, ebx
je 0x100cad85
mov edx, dword [edi + 0xc]
mov dword [eax], edx
mov dword [edi + 0xc], eax
mov ecx, dword [edi + 0x14]
lea edx, [ecx + ecx*2]
dec ecx
lea eax, [eax + edx*4 - 8]
cmp ecx, ebx
jl 0x100caa4e
nop
mov edx, dword [edi + 0x10]
mov dword [eax], edx
mov dword [edi + 0x10], eax
sub eax, 0xc
dec ecx
jns 0x100caa40
mov edx, dword [ebp - 0xd0]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
cmp eax, ebx
je 0x100caa6f
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + 8]
mov dword [esi + 8], ebx
mov dword [eax + 8], edx
mov edx, dword [ebp - 0xd0]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x108]
mov dword [eax + 4], ebx
mov dword [eax], ecx
mov ecx, dword [edi]
inc dword [edi + 8]
cmp ecx, ebx
je 0x100caa8b
mov dword [ecx + 4], eax
jmp 0x100caa8e
mov dword [edi + 4], eax
mov dword [edi], eax
cmp edx, ebx
jne 0x100ca9b0
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0x110]
push edx
push eax
lea ecx, [ebp - 0x154]
call fcn.100c9b50
mov ecx, dword [ebp - 0x100]
cmp dword [ecx + 8], ebx
je 0x100cab2e
jmp 0x100caac6
mov ecx, dword [ebp - 0x100]
mov edi, dword [ecx]
cmp edi, dword [ebp - 0xd8]
je 0x100cab2e
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
je 0x100c9e69
mov eax, dword [edi]
mov dword [ecx], eax
cmp eax, ebx
je 0x100caaec
mov dword [eax + 4], ebx
jmp 0x100caaef
mov dword [ecx + 4], ebx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x100cab06
mov ecx, esi
call fcn.100c7de0
push esi
call fcn.1008e660
add esp, 4
mov eax, dword [ebp - 0x100]
mov dword [edi + 8], ebx
mov ecx, dword [eax + 0x10]
mov dword [edi], ecx
dec dword [eax + 8]
mov dword [eax + 0x10], edi
jne 0x100cab29
mov ecx, eax
call fcn.100c8dd0
mov eax, dword [ebp - 0x100]
cmp dword [eax + 8], ebx
jne 0x100caac0
mov edi, dword [ebp - 0xd8]
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
je 0x100c9e69
mov esi, dword [edi + 8]
mov eax, dword [esi + 0x118]
add eax, dword [esi + 0x114]
mov dword [ebp - 0xd8], eax
mov ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0xe4]
jl 0x100cabf2
mov ebx, dword [esi + 4]
mov ecx, str.char
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100cab9d
test dx, dx
je 0x100cab99
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100cab9d
add eax, 4
add ecx, 4
test dx, dx
jne 0x100cab77
xor eax, eax
jmp 0x100caba2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x100cabec
mov ecx, str.word
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100cabd8
test dx, dx
je 0x100cabd4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100cabd8
add eax, 4
add ecx, 4
test dx, dx
jne 0x100cabb2
xor eax, eax
jmp 0x100cabdd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x100cabf2
cmp word [esi], 0x20
jne 0x100cabf2
mov dword [ebp - 0xd0], edi
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x100c9e69
mov edi, dword [edi]
mov ebx, dword [ebp - 0xec]
test edi, edi
jne 0x100ca910
mov esi, dword [ebp - 0xd4]
mov esi, dword [esi]
mov dword [ebp - 0xd4], esi
test esi, esi
jne 0x100ca840
mov edi, dword [ebp - 0x154]
mov ebx, edi
test edi, edi
je 0x100cad1b
xor eax, eax
test ebx, ebx
setne al
mov dword [ebp - 0x108], eax
test eax, eax
je 0x100c9e69
mov esi, dword [ebx + 8]
cmp dword [esi + 8], 0
je 0x100cad04
mov eax, dword [esi]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x100c9e69
mov eax, dword [eax + 8]
cmp word [eax], 0x20
jne 0x100cacab
lea edx, [ebp - 0xe4]
push edx
mov ecx, esi
call fcn.100c8b70
mov edi, dword [ebp - 0xe4]
test edi, edi
je 0x100cac9b
mov ecx, edi
call fcn.100c7de0
push edi
call fcn.1008e660
add esp, 4
cmp dword [esi + 8], 0
mov dword [ebp - 0xe4], 0
jne 0x100cac59
cmp dword [esi + 8], 0
je 0x100cad04
mov eax, dword [esi + 4]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x100c9e69
mov eax, dword [eax + 8]
cmp word [eax], 0x20
jne 0x100cad04
lea eax, [ebp - 0xd8]
push eax
mov ecx, esi
call fcn.100c8bf0
mov edi, dword [ebp - 0xd8]
test edi, edi
je 0x100cacf4
mov ecx, edi
call fcn.100c7de0
push edi
call fcn.1008e660
add esp, 4
cmp dword [esi + 8], 0
mov dword [ebp - 0xd8], 0
jne 0x100cacb1
cmp dword [ebp - 0x108], 0
je 0x100c9e69
mov ebx, dword [ebx]
test ebx, ebx
jne 0x100cac37
xor ebx, ebx
xor esi, esi
xor edi, edi
mov ecx, 0xa
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x154]
mov byte [ebp - 4], 6
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xd8], eax
cmp eax, ebx
je 0x100cb034
mov edi, edi
mov edx, dword [eax + 8]
mov edx, dword [edx]
mov dword [ebp - 0xd4], edx
cmp edx, ebx
je 0x100cb024
jmp 0x100cad96
push 0x8007000e
call fcn.10001150
nop
mov edx, dword [ebp - 0xd4]
xor eax, eax
cmp edx, ebx
setne al
cmp eax, ebx
je 0x100c9e69
cmp dword [ebp - 0x128], 0
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0x14], ebx
je 0x100caf19
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x100caf19
cmp dword [ebx + 0xd4], eax
je 0x100caf19
fld dword [ebx + 0xe8]
fimul dword [ebp - 0xd0]
fadd qword [0x100edf10]
call fcn.100a7850
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x108], eax
xor edx, edx
jmp 0x100cae1c
mov edi, dword [ebp - 0x120]
mov esi, dword [ebp - 0x12c]
xor eax, eax
cmp esi, edx
setne al
cmp eax, edx
je 0x100c9e69
mov ebx, dword [esi + 8]
mov eax, esi
mov esi, dword [esi + 4]
mov dword [ebp - 0x12c], esi
cmp esi, edx
je 0x100cae47
mov dword [esi], edx
mov edi, dword [ebp - 0x120]
jmp 0x100cae4d
mov dword [ebp - 0x130], edx
mov dword [eax], edi
dec dword [ebp - 0x128]
mov dword [ebp - 0x120], eax
jne 0x100cae9f
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x120], edx
cmp eax, edx
je 0x100cae9f
lea esp, [esp]
mov esi, dword [eax]
push eax
call fcn.100a80e9
add esp, 4
mov eax, esi
test esi, esi
jne 0x100cae80
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x124], esi
xor edx, edx
sub ecx, dword [ebx + 0x114]
mov eax, dword [ebp - 0x108]
sub eax, ecx
mov dword [ebx + 0x11c], eax
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0x128], edx
jne 0x100cae10
mov eax, dword [ebp - 0x124]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x120], edi
cmp eax, edx
je 0x100caf0a
mov esi, dword [eax]
push eax
call fcn.100a80e9
add esp, 4
mov eax, esi
test esi, esi
jne 0x100caee5
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x124], edi
mov edi, dword [ebp - 0x120]
xor edx, edx
mov ecx, dword [ebp - 0x11c]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebx + 0xd4]
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x100cb010
test edi, edi
jne 0x100cafc0
xor eax, eax
mov edi, eax
shld eax, ecx, 1
mov edx, ecx
add ecx, ecx
add edx, ecx
adc edi, eax
mov eax, edx
mov ecx, edi
shld ecx, eax, 2
add eax, eax
add eax, eax
test ecx, ecx
ja 0x100cad85
jb 0x100caf64
cmp eax, 0xffffffff
ja 0x100cad85
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 4
jb 0x100cad85
add eax, 4
push eax
call fcn.100a824b
add esp, 4
test eax, eax
je 0x100cad85
mov edx, dword [ebp - 0x124]
mov dword [eax], edx
mov ecx, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x120]
lea edx, [ecx + ecx*2]
dec ecx
mov dword [ebp - 0x124], eax
lea eax, [eax + edx*4 - 8]
js 0x100cafc0
lea ebx, [ebx]
mov dword [eax], edi
mov edi, eax
sub eax, 0xc
dec ecx
jns 0x100cafb0
mov dword [ebp - 0x120], edi
mov ecx, dword [edi]
mov dword [edi + 8], ebx
mov eax, edi
mov dword [ebp - 0x120], ecx
mov dword [eax + 4], esi
mov dword [eax], 0
mov ecx, dword [ebp - 0x12c]
inc dword [ebp - 0x128]
test ecx, ecx
je 0x100cafea
mov dword [ecx], eax
jmp 0x100caff0
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x120]
mov esi, eax
mov dword [ebp - 0x12c], esi
mov eax, dword [ebx + 0x114]
add dword [ebp - 0xd0], eax
xor ebx, ebx
cmp dword [ebp - 0xd4], ebx
jne 0x100cad90
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
cmp eax, ebx
jne 0x100cad70
mov ecx, dword [ebp - 0xe0]
mov esi, dword [ecx + 0x20]
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], ebx
mov ecx, str.left
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100cb076
cmp dx, bx
je 0x100cb072
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100cb076
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x100cb050
xor eax, eax
jmp 0x100cb07b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
test al, al
jne 0x100cb0c4
mov ecx, 0x10103a44
mov eax, esi
jmp 0x100cb090
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100cb0b6
cmp dx, bx
je 0x100cb0b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100cb0b6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x100cb090
xor eax, eax
jmp 0x100cb0bb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
test al, al
je 0x100cb0d3
lea edx, [ebp - 0x154]
push edx
call fcn.100c9c00
add esp, 4
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0xd8], eax
cmp eax, ebx
je 0x100cb334
jmp 0x100cb0f0
mov eax, dword [ebp - 0xd8]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0xe4], ecx
test ecx, ecx
je 0x100c9e69
mov edi, dword [eax + 8]
mov eax, dword [ebp - 0x114]
mov esi, dword [eax]
mov ecx, str.left
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100cb146
test dx, dx
je 0x100cb142
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100cb146
add eax, 4
add ecx, 4
test dx, dx
jne 0x100cb120
xor eax, eax
jmp 0x100cb14b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x100cb194
mov ecx, 0x10103a44
mov eax, esi
jmp 0x100cb160
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100cb186
test dx, dx
je 0x100cb182
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100cb186
add eax, 4
add ecx, 4
test dx, dx
jne 0x100cb160
xor eax, eax
jmp 0x100cb18b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x100cb19d
push edi
call fcn.100c8cf0
add esp, 4
mov ebx, dword [edi]
xor eax, eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xd4], eax
mov dword [edi + 0x24], eax
cmp ebx, eax
je 0x100cb294
xor eax, eax
test ebx, ebx
setne al
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100c9e69
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x114]
add dword [ebp - 0xd0], eax
test ebx, ebx
je 0x100cb1e9
mov ecx, dword [esi + 0x118]
add dword [ebp - 0xd0], ecx
mov edx, dword [esi + 0x10c]
mov ecx, dword [esi + 0x110]
add ecx, edx
cmp dword [ebp - 0xd4], ecx
jg 0x100cb205
mov dword [ebp - 0xd4], ecx
add dword [edi + 0x24], eax
mov eax, dword [edi + 0x24]
test ebx, ebx
je 0x100cb21a
mov edx, dword [esi + 0x118]
add edx, eax
mov dword [edi + 0x24], edx
mov eax, dword [esi + 0x10c]
mov ecx, dword [edi + 0x18]
cmp ecx, eax
jle 0x100cb229
mov eax, ecx
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x110]
cmp ecx, eax
jle 0x100cb23b
mov eax, ecx
fild dword [edi + 0x20]
mov ecx, esi
mov dword [edi + 0x1c], eax
fstp qword [ebp - 0x10c]
call fcn.100d8620
fld qword [ebp - 0x10c]
fcompi st(1)
fstp st(0)
jbe 0x100cb264
movd xmm0, dword [edi + 0x20]
cvtdq2ps xmm0, xmm0
jmp 0x100cb279
mov ecx, esi
call fcn.100d8620
fstp dword [ebp - 0x108]
movss xmm0, dword [ebp - 0x108]
cmp dword [ebp - 0x14], 0
cvttss2si eax, xmm0
mov dword [edi + 0x20], eax
je 0x100c9e69
mov ebx, dword [ebx]
test ebx, ebx
jne 0x100cb1b8
mov eax, dword [edi]
test eax, eax
je 0x100cb2ca
lea ebx, [ebx]
xor edx, edx
test eax, eax
setne dl
test edx, edx
je 0x100c9e69
mov ecx, dword [eax + 8]
mov esi, dword [edi + 0x18]
mov dword [ecx + 0x120], esi
mov esi, dword [edi + 0x1c]
mov dword [ecx + 0x124], esi
mov eax, dword [eax]
test eax, eax
jne 0x100cb2a0
cmp byte [ebp - 0xd9], 0
mov eax, dword [ebp - 0xd0]
je 0x100cb2f5
mov ecx, dword [ebp - 0xd4]
add dword [ebp - 0xf0], ecx
cmp dword [ebp - 0xec], eax
jg 0x100cb30f
mov dword [ebp - 0xec], eax
jmp 0x100cb30f
cmp dword [ebp - 0xf0], eax
jg 0x100cb303
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xd4]
add dword [ebp - 0xec], edx
cmp dword [ebp - 0xe4], 0
je 0x100c9e69
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
test eax, eax
jne 0x100cb0f0
xor ebx, ebx
push 0x3c
call fcn.1008e631
add esp, 4
cmp eax, ebx
je 0x100cb396
mov dword [eax], vtable.ssf::RenderedSubtitle.0
mov ecx, dword [ebp - 0x60]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], 0xa
mov dword [ebp - 0xd0], eax
jmp 0x100cb39c
mov dword [ebp - 0xd0], ebx
mov eax, dword [ebp - 0xd0]
mov esi, dword [ebp - 0x13c]
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0xfc]
push edx
lea ebx, [ebp - 0x50]
lea edi, [ebp - 0x18]
mov dword [ebp - 0x108], eax
call fcn.100c7170
xor eax, eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0xfc]
push ecx
lea edi, [ebp - 0xe8]
call fcn.100c7170
mov edx, dword [ebp - 0xe0]
add esp, 0x10
cmp byte [edx + 0xc], 0
jne 0x100cb4af
xor ecx, ecx
cmp dword [ebp - 0x14c], ecx
je 0x100cb44d
mov eax, dword [ebp - 0x154]
test eax, eax
setne cl
test ecx, ecx
jne 0x100cb424
push 0x80004005
call fcn.10001150
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x20]
mov esi, dword [ebp - 0x150]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x100cb445
push 0x80004005
call fcn.10001150
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x20]
jmp 0x100cb44f
xor eax, eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0xf0]
mov ebx, dword [ebp - 0xec]
push eax
mov eax, dword [ebp - 0x138]
push ecx
add eax, 0x2c
add edi, esi
push eax
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0xf4]
add ebx, edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], ebx
call fcn.100c9250
mov edx, dword [ebp - 0x2c]
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x30]
mov ecx, edi
sub ecx, esi
add dword [ebp - 0xe8], ecx
add dword [ebp - 0xe4], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edx
jmp 0x100cb4b5
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x70], edi
add edi, dword [ebp - 0xf0]
mov dword [ebp - 0x6c], edx
add edx, dword [ebp - 0xec]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edx
mov dword [ebp - 0xd4], eax
test eax, eax
je 0x100cb8e5
jmp 0x100cb4f0
cmp byte [ebp - 0xd9], 0
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0x13c]
mov dword [ebp - 0xe0], eax
mov eax, dword [eax + 0x24]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xf0]
lea ecx, [ebp - 0xfc]
push eax
lea ebx, [ebp - 0x50]
push ecx
je 0x100cb705
lea edi, [ebp - 0x104]
call fcn.100c7170
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xe0]
mov ebx, dword [eax]
add esp, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xd8], ebx
test ebx, ebx
je 0x100cb6f1
lea esp, [esp]
xor eax, eax
test ebx, ebx
setne al
mov dword [ebp - 0x138], eax
test eax, eax
je 0x100c9e69
mov esi, dword [ebx + 8]
mov dword [ebx + 8], 0
mov dword [ebp - 0x114], esi
fld dword [esi + 0x3c]
fmul dword [ebp - 0xfc]
mov byte [ebp - 4], 7
fld qword [0x100edf10]
fadd st(1), st(0)
fxch st(1)
call fcn.100a7850
sub eax, dword [esi + 0x10c]
mov ecx, dword [ebp - 0xe0]
add eax, dword [ecx + 0x18]
add eax, dword [ebp - 0x18]
mov dword [esi + 0x180], eax
fld dword [esi + 0x40]
fmul dword [ebp - 0xf8]
faddp st(1)
call fcn.100a7850
mov edi, dword [ebp - 0xd0]
mov edx, eax
mov eax, dword [ebp - 0x14]
add edx, eax
mov dword [esi + 0x184], edx
mov ecx, dword [esi + 0x118]
add ecx, dword [esi + 0x114]
mov edx, dword [edi + 0x28]
add eax, ecx
cmp dword [edi + 0x34], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xf4], edx
jne 0x100cb675
mov eax, dword [edi + 0x38]
xor ecx, ecx
mov edx, eax
mov ebx, ecx
shld ecx, eax, 1
add eax, eax
add eax, edx
adc ecx, ebx
shld ecx, eax, 2
add eax, eax
add eax, eax
test ecx, ecx
ja 0x100cad85
jb 0x100cb62a
cmp eax, 0xffffffff
ja 0x100cad85
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 4
jb 0x100cad85
add eax, 4
push eax
call fcn.100a824b
add esp, 4
test eax, eax
je 0x100cad85
mov edx, dword [edi + 0x30]
mov dword [eax], edx
mov dword [edi + 0x30], eax
mov ecx, dword [edi + 0x38]
lea edx, [ecx + ecx*2]
dec ecx
lea eax, [eax + edx*4 - 8]
js 0x100cb66f
mov edx, dword [edi + 0x34]
mov dword [eax], edx
mov dword [edi + 0x34], eax
sub eax, 0xc
dec ecx
jns 0x100cb661
mov ebx, dword [ebp - 0xd8]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax]
test eax, eax
je 0x100cb68b
mov dword [ebp - 0x114], 0
mov dword [eax + 8], esi
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 4], ecx
mov dword [eax], 0
mov ecx, dword [edi + 0x28]
inc dword [edi + 0x2c]
test ecx, ecx
je 0x100cb6ab
mov dword [ecx], eax
jmp 0x100cb6ae
mov dword [edi + 0x24], eax
cmp dword [ebp - 0x114], 0
mov dword [edi + 0x28], eax
mov byte [ebp - 4], 6
je 0x100cb6d4
mov esi, dword [ebp - 0x114]
mov ecx, esi
call fcn.100c7de0
push esi
call fcn.1008e660
add esp, 4
cmp dword [ebp - 0x138], 0
je 0x100c9e69
mov ebx, dword [ebx]
mov dword [ebp - 0xd8], ebx
test ebx, ebx
jne 0x100cb560
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax + 0x1c]
add edx, dword [eax + 0x18]
add dword [ebp - 0x18], edx
jmp 0x100cb8cf
lea edi, [ebp - 0x28]
call fcn.100c7170
mov edx, dword [eax]
mov eax, dword [ebp - 0xe0]
mov esi, dword [eax]
add esp, 8
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xd8], esi
test esi, esi
je 0x100cb8c0
jmp 0x100cb730
xor eax, eax
test esi, esi
setne al
mov dword [ebp - 0x138], eax
test eax, eax
je 0x100c9e69
mov ebx, dword [esi + 8]
mov dword [esi + 8], 0
mov dword [ebp - 0x114], ebx
fld dword [ebx + 0x3c]
fmul dword [ebp - 0xfc]
mov byte [ebp - 4], 8
fld qword [0x100edf10]
fadd st(1), st(0)
fxch st(1)
call fcn.100a7850
mov edi, dword [ebp - 0x18]
add eax, edi
mov dword [ebx + 0x180], eax
fld dword [ebx + 0x40]
fmul dword [ebp - 0xf8]
faddp st(1)
call fcn.100a7850
sub eax, dword [ebx + 0x10c]
mov ecx, dword [ebp - 0xe0]
add eax, dword [ecx + 0x18]
add eax, dword [ebp - 0x14]
mov dword [ebx + 0x184], eax
mov edx, dword [ebx + 0x118]
add edx, dword [ebx + 0x114]
add edi, edx
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0xd0]
cmp dword [edi + 0x34], 0
mov eax, dword [edi + 0x28]
mov dword [ebp - 0xf4], eax
jne 0x100cb844
mov eax, dword [edi + 0x38]
xor ecx, ecx
mov edx, eax
mov esi, ecx
shld ecx, eax, 1
add eax, eax
add eax, edx
adc ecx, esi
shld ecx, eax, 2
add eax, eax
add eax, eax
test ecx, ecx
ja 0x100cad85
jb 0x100cb7f8
cmp eax, 0xffffffff
ja 0x100cad85
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 4
jb 0x100cad85
add eax, 4
push eax
call fcn.100a824b
add esp, 4
test eax, eax
je 0x100cad85
mov edx, dword [edi + 0x30]
mov dword [eax], edx
mov dword [edi + 0x30], eax
mov ecx, dword [edi + 0x38]
lea edx, [ecx + ecx*2]
dec ecx
lea eax, [eax + edx*4 - 8]
js 0x100cb83e
nop
mov edx, dword [edi + 0x34]
mov dword [eax], edx
mov dword [edi + 0x34], eax
sub eax, 0xc
dec ecx
jns 0x100cb830
mov esi, dword [ebp - 0xd8]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax]
test eax, eax
je 0x100cb85a
mov dword [ebp - 0x114], 0
mov dword [eax + 8], ebx
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 4], ecx
mov dword [eax], 0
mov ecx, dword [edi + 0x28]
inc dword [edi + 0x2c]
test ecx, ecx
je 0x100cb87a
mov dword [ecx], eax
jmp 0x100cb87d
mov dword [edi + 0x24], eax
cmp dword [ebp - 0x114], 0
mov dword [edi + 0x28], eax
mov byte [ebp - 4], 6
je 0x100cb8a3
mov edi, dword [ebp - 0x114]
mov ecx, edi
call fcn.100c7de0
push edi
call fcn.1008e660
add esp, 4
cmp dword [ebp - 0x138], 0
je 0x100c9e69
mov esi, dword [esi]
mov dword [ebp - 0xd8], esi
test esi, esi
jne 0x100cb730
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax + 0x1c]
add edx, dword [eax + 0x18]
add dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x100cb4f0
mov ebx, dword [ebp - 0xd0]
mov esi, dword [ebx + 0x24]
test esi, esi
je 0x100cb935
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x100c9e69
mov edi, dword [esi + 8]
mov esi, dword [esi]
mov ecx, edi
call fcn.100d9060
lea ecx, [ebp - 0x60]
push ecx
mov ecx, edi
call fcn.100d9390
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xe8]
lea edx, [ebp - 0x70]
push edx
push eax
push ecx
mov ecx, edi
call fcn.100d8c00
test esi, esi
jne 0x100cb8f2
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x100], eax
test eax, eax
je 0x100cbec3
mov eax, dword [ebp - 0x100]
mov esi, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esi + 0x184]
mov dword [ebp - 0x100], edx
mov edx, dword [esi + 0x170]
mov dword [ebp - 0xe4], eax
mov eax, dword [esi + 0x180]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 0x174]
mov dword [ebp - 0x2c], edx
mov edx, dword [esi + 0x178]
push ecx
push eax
mov dword [ebp - 0x28], edx
mov edx, dword [esi + 0x17c]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x24], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, esi
call fcn.100d8620
fadd qword [0x100edf10]
call fcn.100a7850
mov ecx, esi
mov edi, eax
call fcn.100d8650
fadd qword [0x100edf10]
call fcn.100a7850
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [ebp - 0x30]
push ecx
mov ebx, eax
call edi
push ebx
push ebx
lea edx, [ebp - 0x30]
push edx
call edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
sar dword [ebp - 0x30], 6
sar dword [ebp - 0x2c], 6
add eax, 0x20
sar eax, 6
mov dword [ebp - 0x28], eax
xor eax, eax
add ecx, 0x20
sar ecx, 6
lea edx, [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
push edx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], ecx
push eax
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x100cbab8
mov esi, dword [ebp - 0xe4]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x100c9e69
mov edi, dword [ebp - 0xd0]
cmp esi, dword [edi + 0x24]
jne 0x100cba5a
mov eax, dword [esi]
mov dword [edi + 0x24], eax
jmp 0x100cba61
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ecx], edx
cmp esi, dword [edi + 0x28]
jne 0x100cba6e
mov eax, dword [esi + 4]
mov dword [edi + 0x28], eax
jmp 0x100cba76
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x100cba8d
mov ecx, ebx
call fcn.100c7de0
push ebx
call fcn.1008e660
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [edi + 0x34]
mov dword [esi], eax
dec dword [edi + 0x2c]
mov dword [edi + 0x34], esi
jne 0x100cbeb6
mov ecx, dword [ebp - 0xd0]
add ecx, 0x24
call fcn.100c8dd0
jmp 0x100cbeb6
mov edi, dword [ebp - 0xe0]
test edi, edi
je 0x100cbeb0
lea ecx, [esi + 4]
push ecx
lea ecx, [edi + 4]
call fcn.100cef90
test al, al
je 0x100cbeb0
mov ecx, dword [esi + 0x180]
sub ecx, dword [edi + 0x180]
mov eax, dword [esi + 0x184]
sub eax, dword [edi + 0x184]
lea edx, [ebp - 0xfc]
mov dword [ebp - 0xfc], ecx
push edx
lea ecx, [esi + 0x128]
mov dword [ebp - 0xf8], eax
call fcn.100d9900
mov eax, dword [edi + 0x130]
mov ecx, dword [esi + 0x130]
or edx, 0xffffffff
sub edx, eax
mov dword [ebp - 0xf4], eax
cmp edx, ecx
jb 0x100cbf75
lea ebx, [eax + ecx]
test ebx, ebx
jne 0x100cbb5f
mov eax, dword [edi + 0x12c]
test eax, eax
je 0x100cbb4f
push eax
call fcn.100a80e9
add esp, 4
mov dword [edi + 0x12c], ebx
xor eax, eax
mov dword [edi + 0x130], eax
mov dword [edi + 0x134], eax
jmp 0x100cbba3
cmp ebx, dword [edi + 0x134]
ja 0x100cbb6d
cmp ebx, eax
jbe 0x100cbb9d
jmp 0x100cbb87
push ebx
lea ecx, [edi + 0x12c]
call fcn.10029620
test al, al
je 0x100cad85
mov eax, dword [edi + 0x130]
mov edx, dword [edi + 0x12c]
mov ecx, ebx
sub ecx, eax
push ecx
add edx, eax
push edx
call fcn.100852c0
add esp, 8
mov dword [edi + 0x130], ebx
mov edi, dword [edi + 0x12c]
mov edx, dword [esi + 0x130]
add edi, dword [ebp - 0xf4]
mov ecx, dword [esi + 0x12c]
test edx, edx
je 0x100cbbce
mov eax, edi
sub ecx, edi
mov edi, edx
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec edi
jne 0x100cbbc5
mov edi, dword [ebp - 0xe0]
mov eax, dword [edi + 0x140]
mov ecx, dword [esi + 0x140]
or edx, 0xffffffff
sub edx, eax
mov dword [ebp - 0xf4], eax
cmp edx, ecx
jb 0x100cbf75
lea ebx, [eax + ecx]
test ebx, ebx
jne 0x100cbc23
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x100cbc13
push eax
call fcn.100a80e9
add esp, 4
mov dword [edi + 0x13c], ebx
xor eax, eax
mov dword [edi + 0x140], eax
mov dword [edi + 0x144], eax
jmp 0x100cbc68
cmp ebx, dword [edi + 0x144]
ja 0x100cbc31
cmp ebx, eax
jbe 0x100cbc62
jmp 0x100cbc4b
push ebx
lea ecx, [edi + 0x13c]
call fcn.100c7480
test al, al
je 0x100cad85
mov eax, dword [edi + 0x140]
mov edx, dword [edi + 0x13c]
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [edx + eax*8]
push eax
call fcn.100852c0
add esp, 8
mov dword [edi + 0x140], ebx
mov eax, dword [edi + 0x13c]
mov edx, dword [esi + 0x140]
mov edi, dword [ebp - 0xf4]
mov ecx, dword [esi + 0x13c]
lea eax, [eax + edi*8]
test edx, edx
je 0x100cbca2
sub ecx, eax
lea esp, [esp]
mov edi, dword [ecx + eax]
mov dword [eax], edi
mov edi, dword [ecx + eax + 4]
mov dword [eax + 4], edi
add eax, 8
dec edx
jne 0x100cbc90
lea ecx, [ebp - 0xfc]
push ecx
lea ecx, [esi + 0x14c]
call fcn.100d9900
mov edi, dword [ebp - 0xe0]
mov eax, dword [edi + 0x154]
mov ecx, dword [esi + 0x154]
or edx, 0xffffffff
sub edx, eax
mov dword [ebp - 0xf4], eax
cmp edx, ecx
jb 0x100cbf75
lea ebx, [eax + ecx]
test ebx, ebx
jne 0x100cbd09
mov eax, dword [edi + 0x150]
test eax, eax
je 0x100cbcf9
push eax
call fcn.100a80e9
add esp, 4
mov dword [edi + 0x150], ebx
xor eax, eax
mov dword [edi + 0x154], eax
mov dword [edi + 0x158], eax
jmp 0x100cbd4d
cmp ebx, dword [edi + 0x158]
ja 0x100cbd17
cmp ebx, eax
jbe 0x100cbd47
jmp 0x100cbd31
push ebx
lea ecx, [edi + 0x150]
call fcn.10029620
test al, al
je 0x100cad85
mov eax, dword [edi + 0x154]
mov edx, dword [edi + 0x150]
mov ecx, ebx
sub ecx, eax
push ecx
add edx, eax
push edx
call fcn.100852c0
add esp, 8
mov dword [edi + 0x154], ebx
mov edi, dword [edi + 0x150]
mov edx, dword [esi + 0x154]
add edi, dword [ebp - 0xf4]
mov ecx, dword [esi + 0x150]
test edx, edx
je 0x100cbd79
mov eax, edi
sub ecx, edi
mov edi, edx
nop
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec edi
jne 0x100cbd70
mov edi, dword [ebp - 0xe0]
mov eax, dword [edi + 0x164]
mov ecx, dword [esi + 0x164]
or edx, 0xffffffff
sub edx, eax
mov dword [ebp - 0xf4], eax
cmp edx, ecx
jb 0x100cbf75
lea ebx, [eax + ecx]
test ebx, ebx
jne 0x100cbdce
mov eax, dword [edi + 0x160]
test eax, eax
je 0x100cbdbe
push eax
call fcn.100a80e9
add esp, 4
mov dword [edi + 0x160], ebx
xor eax, eax
mov dword [edi + 0x164], eax
mov dword [edi + 0x168], eax
jmp 0x100cbe13
cmp ebx, dword [edi + 0x168]
ja 0x100cbddc
cmp ebx, eax
jbe 0x100cbe0d
jmp 0x100cbdf6
push ebx
lea ecx, [edi + 0x160]
call fcn.100c7480
test al, al
je 0x100cad85
mov eax, dword [edi + 0x164]
mov edx, dword [edi + 0x160]
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [edx + eax*8]
push eax
call fcn.100852c0
add esp, 8
mov dword [edi + 0x164], ebx
mov eax, dword [edi + 0x160]
mov edx, dword [esi + 0x164]
mov edi, dword [ebp - 0xf4]
mov ecx, dword [esi + 0x160]
lea eax, [eax + edi*8]
test edx, edx
je 0x100cbe46
sub ecx, eax
mov edi, dword [ecx + eax]
mov dword [eax], edi
mov edi, dword [ecx + eax + 4]
mov dword [eax + 4], edi
add eax, 8
dec edx
jne 0x100cbe34
mov edx, dword [esi + 0x174]
mov ecx, dword [esi + 0x170]
mov eax, dword [esi + 0x178]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x17c]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xfc]
push edx
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x20]
add eax, 0x170
push edx
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xd0]
push eax
add ecx, 0x24
call fcn.100c8c70
jmp 0x100cbeb6
mov dword [ebp - 0xe0], esi
cmp dword [ebp - 0x100], 0
jne 0x100cb950
mov edi, dword [ebp - 0xd0]
mov esi, dword [edi + 0x24]
test esi, esi
je 0x100cbeed
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x100c9e69
mov ecx, dword [esi + 8]
mov esi, dword [esi]
call fcn.100d8ce0
test esi, esi
jne 0x100cbed0
mov edx, dword [ebp - 0x170]
mov esi, dword [ebp - 0x134]
push 1
lea ecx, [ebp - 0x108]
push ecx
push edx
lea ecx, [esi + 0xa8]
call fcn.100c9650
lea ecx, [esi + 8]
call fcn.100c94e0
lea ecx, [ebp - 0x130]
call fcn.1003fde0
mov esi, dword [ebp - 0x110]
mov byte [ebp - 4], 3
test esi, esi
je 0x100cbf3f
mov ecx, esi
call fcn.100c8dd0
push esi
call fcn.1008e660
add esp, 4
lea ecx, [ebp - 0x154]
call fcn.100c7410
lea ecx, [ebp - 0x16c]
call fcn.100c8dd0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a6f5d
mov esp, ebp
pop ebp
ret 0xc
push 0x80070216
call fcn.10001150
int3