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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov eax, edi
mov edx, 0xe8
call fcn.00658ea4
dec dword [edi + 0xd8]
mov byte [ebp - 0x41], 0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x268]
mov eax, ebx
call fcn.005c4610
mov eax, dword [ebx + 0x318]
cmp dword [eax + 0x18], 1
jne 0x44e014
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, dword [ebx + 0x320]
jne 0x44e014
cmp byte [ebx + 0x14d], 0
jne 0x44e014
mov eax, dword [ebx + 0x320]
call fcn.005608c0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov esi, dword [eax + 8]
test esi, esi
jns 0x44de77
add esi, 7
sar esi, 3
sub esi, 2
cmp esi, 0
jl 0x44e00c
mov eax, dword [0x66f534]
lea eax, [eax + esi*8]
mov dword [ebp - 0xc4], eax
cmp dword [edi + 0xd8], 0
jge 0x44df74
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
mov edx, esi
shl edx, 3
add eax, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [0x66fcb8]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 4]
mov eax, dword [0x66fcb8]
mov eax, dword [eax]
shr eax, 1
sub edx, eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [0x66fcb8]
mov ecx, dword [ecx]
shr ecx, 1
sub eax, ecx
mov ecx, dword [0x66fcb8]
mov ecx, dword [ecx]
call fcn.0064d580
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44df74
mov dword [edi + 0xd8], esi
mov eax, dword [ebx + 0x320]
mov eax, dword [eax + 0x24]
call fcn.0055fba0
test al, al
je 0x44df5d
mov eax, dword [ebx + 0x320]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 4]
mov edx, esi
shl edx, 3
add eax, edx
mov edx, dword [eax]
mov dword [edi + 0xe0], edx
mov edx, dword [eax + 4]
mov dword [edi + 0xe4], edx
jmp 0x44df74
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
mov dword [edi + 0xe0], edx
mov edx, dword [eax + 4]
mov dword [edi + 0xe4], edx
cmp dword [edi + 0xdc], 0
jne 0x44dffb
mov eax, 3
call fcn.0064bd24
push eax
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
lea eax, [ebp - 0x200]
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 4]
lea ecx, [esi + 1]
shl ecx, 3
add edx, ecx
push edx
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 4]
mov ecx, esi
shl ecx, 3
add edx, ecx
pop ecx
call fcn.00618db8
test al, al
je 0x44dffb
lea eax, [esi + 1]
mov dword [edi + 0xdc], eax
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0044d2e0
mov eax, dword [ebp - 0x200]
mov dword [edi + 0xe0], eax
mov eax, dword [ebp - 0x1fc]
mov dword [edi + 0xe4], eax
dec esi
sub dword [ebp - 0xc4], 8
cmp esi, 0xffffffff
jne 0x44de94
mov eax, dword [ebp - 0x48]
call fcn.004028c0
mov dword [edi + 8], 0x80000000
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
je 0x44e043
push edi
add edi, 8
lea esi, [ebx + 0x258]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
jmp 0x44e208
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
lea edx, [ebp - 0x200]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.00461b3c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov dword [edi + 0x10], 0xffffffff
mov eax, ebx
call fcn.005bd1fc
inc eax
mov edx, dword [ebx + 0x13c]
mov edx, dword [edx + 0x18]
dec edx
call fcn.00653538
mov dword [ebp - 0x24], eax
mov eax, ebx
call fcn.005bd178
dec eax
call fcn.00653548
mov esi, eax
mov eax, dword [ebp - 0x24]
sub eax, esi
jl 0x44e1c4
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x13c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
push esi
push edi
lea esi, [eax + 0x48]
lea edi, [ebp - 0x134]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebx + 0x14e], 0
jne 0x44e163
cmp byte [ebx + 0x14d], 0
jne 0x44e163
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
mov eax, dword [ebp - 0x130]
inc eax
push eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [0x66fc50]
test byte [eax], 8
jne 0x44e125
cmp dword [ebp - 0x130], 0xa
jle 0x44e129
xor eax, eax
jmp 0x44e12b
mov al, 1
and eax, 0x7f
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x130]
sub edx, 5
sub edx, eax
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x134]
call fcn.0064d564
lea eax, [ebp - 0x210]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44e163
mov byte [edi + 0x75], 1
jmp 0x44e1c4
mov al, byte [ebx + 0x14e]
dec eax
sub al, 2
setb al
and eax, 0x7f
imul dword [ebp - 0x134]
cmp byte [ebx + 0x14e], 0
sete dl
and edx, 0x7f
imul edx, dword [ebp - 8]
add eax, edx
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x134]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44e1ba
mov dword [edi + 0x10], esi
jmp 0x44e1c4
inc esi
dec dword [ebp - 0x58]
jne 0x44e0b0
mov al, byte [ebx + 0x14e]
dec eax
sub al, 2
jae 0x44e208
cmp dword [edi + 0x10], 0
jge 0x44e208
mov eax, dword [ebx + 0x13c]
cmp dword [eax + 0x18], 0
jle 0x44e208
mov eax, dword [ebx + 0x13c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
cmp eax, dword [ebp - 0xc]
jl 0x44e1fb
xor eax, eax
mov dword [edi + 0x10], eax
jmp 0x44e208
mov eax, dword [ebx + 0x13c]
mov eax, dword [eax + 0x18]
dec eax
mov dword [edi + 0x10], eax
cmp dword [edi + 0x10], 0
jl 0x44f666
cmp dword [ebx + 0x81c], 0
je 0x44e22a
mov eax, dword [edi + 0x10]
cmp eax, dword [ebx + 0x820]
jne 0x44e479
mov eax, dword [edi + 0x10]
mov edx, dword [ebx + 0x13c]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x174]
mov eax, ebx
call fcn.005c5b70
mov eax, dword [ebp - 0x5c]
call fcn.0055da4c
test al, al
je 0x44e289
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebx + 0x114]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44e289
mov byte [edi + 0x81], 1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x44e39c
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x174]
jl 0x44e392
cmp eax, dword [ebp - 0x164]
jg 0x44e392
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0x1c]
call fcn.00560ed0
mov eax, dword [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x134]
push eax
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_OffsetRect
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44e392
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xd4], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x318]
call fcn.0064eb58
test al, al
je 0x44e39c
mov eax, 3
call fcn.0064bd24
neg eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x154]
mov edx, dword [ebp - 0x40]
call fcn.00659050
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x44e39c
mov byte [ebp - 0x41], 1
jmp 0x44e39c
dec esi
cmp esi, 0xffffffff
jne 0x44e29f
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x44e479
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x318]
call fcn.0064eb58
test al, al
je 0x44e46f
lea edx, [ebp - 0x1f8]
mov eax, dword [ebp - 0x1c]
call fcn.00560ee8
mov byte [ebp - 0x1d], 1
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0xc8], eax
mov al, byte [ebp - 0x1d]
cmp al, 0xf
ja 0x44e409
and eax, 0x7f
bt dword [ebp - 0x1f8], eax
jae 0x44e456
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x130]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x134]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
mov eax, dword [ebp - 0xc8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44e456
mov al, byte [ebp - 0x1d]
mov byte [edi + 0x82], al
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x84], eax
inc byte [ebp - 0x1d]
add dword [ebp - 0xc8], 0x10
cmp byte [ebp - 0x1d], 9
jne 0x44e3f8
cmp dword [edi + 0x84], 0
jne 0x44e479
dec esi
cmp esi, 0xffffffff
jne 0x44e3b2
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
jne 0x44eb11
mov eax, dword [ebp - 4]
test byte [eax + 0x2cc], 0x20
je 0x44e4ba
mov edx, dword [ebx + 0x3a8]
mov eax, ebx
call fcn.00563a8c
mov edx, eax
lea eax, [ebp - 0x214]
mov cl, 1
call fcn.0040278c
mov al, byte [ebp - 0x214]
mov byte [ebp + 0xc], al
mov eax, dword [edi + 0x10]
mov edx, dword [ebx + 0x13c]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x60], eax
mov al, byte [0x44f6ac]
cmp al, byte [ebp + 0xc]
je 0x44e527
push 1
mov al, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.00558d60
mov dword [edi], eax
push 0
mov al, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.00558d60
mov dword [edi + 4], eax
push ebp
call fcn.0044d428
pop ecx
jmp 0x44e653
cmp dword [ebx + 0x81c], 0
je 0x44e5f6
push 1
mov al, byte [0x44f6ac]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.00558d60
mov dword [edi], eax
cmp dword [edi], 0
je 0x44e653
mov eax, dword [edi]
cmp byte [eax + 0x29], 3
jne 0x44e653
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
jmp 0x44e57d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
cmp byte [eax + 0x29], 3
je 0x44e574
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x9c]
cmp eax, dword [ebp - 0x18]
jne 0x44e5a8
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x94]
cmp eax, dword [ebx + 0x81c]
je 0x44e5cf
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x18]
jne 0x44e653
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x98]
cmp eax, dword [ebx + 0x81c]
jne 0x44e653
push 0
mov al, byte [0x44f6b0]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.00558d60
mov dword [edi + 4], eax
jmp 0x44e653
push 1
mov al, byte [0x44f6ac]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.00558d60
mov dword [edi], eax
cmp dword [edi], 0
je 0x44e64c
mov eax, dword [edi]
cmp byte [eax + 0x29], 3
je 0x44e64c
push 0
mov al, byte [0x44f6ac]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.00558d60
mov dword [edi + 4], eax
push ebp
call fcn.0044d428
pop ecx
cmp dword [edi], 0
je 0x44eb11
mov eax, dword [edi]
call fcn.00558b38
mov dword [edi + 0x90], eax
mov eax, dword [edi]
call fcn.00558b58
test al, al
je 0x44e6ee
lea ecx, [ebp - 0x68]
mov edx, dword [0x66f18c]
mov eax, dword [edi + 0x90]
call fcn.00558a54
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x68]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
mov eax, dword [edi + 0x90]
mov edx, dword [eax + 0x54]
mov eax, dword [edi + 0x90]
sub edx, dword [eax + 0x4c]
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x50]
mov ecx, dword [edi + 0x90]
sub eax, dword [ecx + 0x48]
lea ecx, [ebp - 0x210]
call fcn.0064d59c
lea eax, [ebp - 0x210]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44e6ee
mov byte [edi + 0x1d], 1
cmp dword [edi + 0x90], 0
je 0x44e832
mov eax, dword [edi + 0x90]
add eax, 0x90
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x74]
mov edx, dword [0x66f18c]
mov eax, dword [edi + 0x90]
call fcn.00558a54
mov eax, dword [edi + 0x90]
add eax, 0x48
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
mov eax, ebx
call fcn.00563b24
test al, al
jne 0x44e832
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x78]
sub eax, dword [edx + 4]
sub eax, 2
push eax
lea eax, [ebp - 0x210]
push eax
mov edx, dword [ebp - 0x70]
inc edx
mov eax, dword [ebp - 0x74]
add eax, 2
mov ecx, 4
call fcn.0064d580
lea eax, [ebp - 0x210]
push eax
call sub.user32.dll_PtInRect
neg eax
sbb eax, eax
neg eax
mov byte [edi + 0x7c], al
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0xb8]
cmp dword [eax + 0x275c], 0
jne 0x44e829
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
call fcn.00558b38
cmp eax, dword [edi + 0x90]
jne 0x44e829
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push 4
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x78]
sub ecx, dword [eax]
sub ecx, 2
mov edx, dword [ebp - 0x70]
inc edx
mov eax, dword [ebp - 0x74]
inc eax
call fcn.0064d580
lea eax, [ebp - 0x210]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x44e82d
xor eax, eax
jmp 0x44e82f
mov al, 1
mov byte [edi + 0x7d], al
mov eax, dword [edi]
test byte [eax + 0x24], 0x10
je 0x44e8c8
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
mov eax, ebx
call fcn.00563b24
test al, al
jne 0x44e8c8
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x44e8c8
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
test byte [eax + 0x24], 0x20
je 0x44e8c2
lea ecx, [ebp - 0x84]
mov edx, dword [0x66f18c]
mov eax, dword [ebp - 0x7c]
call fcn.00558a54
mov eax, dword [ebp - 8]
add eax, 5
cmp eax, dword [ebp - 0x84]
jge 0x44e8c2
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x80]
jl 0x44e8c2
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x7c]
sub eax, dword [edx + 0x4c]
add eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0xc]
jle 0x44e8c2
mov byte [edi + 0x7e], 1
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [edi + 0x90], eax
jmp 0x44e8c8
dec esi
cmp esi, 0xffffffff
jne 0x44e85c
push ebp
call fcn.0044d6c4
pop ecx
cmp dword [ebx + 0xe0], 0
je 0x44e904
push ebp
mov ecx, dword [0x66f4b8]
mov ecx, dword [ecx]
mov edx, dword [0x66f6c0]
mov edx, dword [edx]
mov eax, dword [ebx + 0xe0]
call fcn.0044d734
pop ecx
test al, al
je 0x44e904
mov eax, dword [ebx + 0xe0]
mov dword [edi + 0x78], eax
jmp 0x44e931
mov eax, dword [edi]
call fcn.00558b48
mov dword [edi + 0x78], eax
cmp dword [edi + 0x78], 0
je 0x44e931
push ebp
mov edx, dword [0x66f6c0]
mov edx, dword [edx]
mov eax, dword [edi + 0x78]
xor ecx, ecx
call fcn.0044d734
pop ecx
test al, al
jne 0x44e931
xor eax, eax
mov dword [edi + 0x78], eax
cmp dword [edi + 0x78], 0
je 0x44eb11
mov eax, dword [edi + 0x78]
test byte [eax + 0x25], 8
je 0x44ea26
mov eax, dword [edi + 0x78]
add eax, 0xb0
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x200]
mov eax, dword [ebp - 0x88]
mov edx, eax
mov eax, dword [edi + 0x78]
call fcn.00558a54
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x200]
mov eax, dword [ebp - 0x88]
lea edx, [eax + 8]
mov eax, dword [edi + 0x78]
call fcn.00558a54
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44ea26
mov al, byte [ebx + 0x14e]
dec eax
sub al, 2
setb al
xor al, 1
mov byte [edi + 0x76], al
lea ecx, [ebp - 0x90]
mov eax, dword [edi + 0x78]
lea edx, [eax + 0xa0]
mov eax, dword [edi + 0x78]
call fcn.00558a54
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 8]
mov dword [edi + 0x88], eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0xc]
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x78]
test byte [eax + 0x25], 0x10
je 0x44eb04
mov eax, dword [edi + 0x78]
add eax, 0xc0
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x200]
mov eax, dword [ebp - 0x94]
mov edx, eax
mov eax, dword [edi + 0x78]
call fcn.00558a54
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x200]
mov eax, dword [ebp - 0x94]
lea edx, [eax + 8]
mov eax, dword [edi + 0x78]
call fcn.00558a54
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44eb04
mov byte [edi + 0x77], 1
lea ecx, [ebp - 0x9c]
mov eax, dword [edi + 0x78]
lea edx, [eax + 0xa8]
mov eax, dword [edi + 0x78]
call fcn.00558a54
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x9c]
mov dword [edi + 0x88], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x98]
mov dword [edi + 0x8c], eax
cmp byte [edi + 0x76], 0
jne 0x44eb11
push ebp
call fcn.0044d7d0
pop ecx
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
setne al
test al, al
jne 0x44eb2c
cmp dword [edi + 4], 0
je 0x44f63e
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
setne al
test al, al
jne 0x44ecbd
lea ecx, [ebp - 0x200]
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x70]
xor eax, eax
call fcn.0064d54c
lea edx, [ebp - 0x200]
lea ecx, [ebp - 0xa4]
mov eax, dword [edi + 4]
call fcn.00558a54
mov eax, dword [ebp - 0xa4]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 0xa0]
sub dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x34]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x44ecbd
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0xa8], eax
test esi, esi
je 0x44ebbc
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 0x24]
mov eax, ebx
call fcn.005652ec
cmp eax, dword [ebp - 0xc]
jg 0x44ecb3
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x34]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0xa8]
test byte [eax + 0x3b], 0x20
je 0x44ec45
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4 - 4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xac]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
mov edx, dword [ebp - 0xac]
mov edx, dword [edx + 0x30]
add eax, dword [edx + 0x6c]
cmp eax, dword [ebp - 8]
jle 0x44ecbd
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 0x34]
mov dword [edi + 0x14], eax
jmp 0x44ecbd
mov eax, dword [ebp - 0xa8]
test byte [eax + 0x3a], 0x80
je 0x44ecbd
mov eax, dword [ebp - 0xa8]
test byte [eax + 0x3b], 1
jne 0x44ecbd
dec esi
cmp esi, 0
jl 0x44ecbd
mov dword [ebp - 0x40], esi
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x40]
mov esi, dword [eax + edx*4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x268]
mov eax, dword [esi + 0xc]
call fcn.0062a130
mov edx, eax
mov eax, ebx
call fcn.005654e8
mov edx, dword [esi + 0x30]
mov ecx, dword [ebp - 8]
sub ecx, dword [edx + 0x6c]
cmp eax, ecx
jl 0x44ecbd
mov eax, dword [esi + 0x34]
mov dword [edi + 0x14], eax
test byte [esi + 0x3b], 1
jne 0x44ecbd
dec dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0xffffffff
jne 0x44ec66
jmp 0x44ecbd
dec esi
cmp esi, 0xffffffff
jne 0x44eb8d
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [edi + 0x14]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 8]
call fcn.0054b318
mov byte [edi + 0x4d], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
je 0x44ed05
mov byte [edi + 0x4c], 1
jmp 0x44ef12
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x6c]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
cmp eax, dword [ebp - 8]
jge 0x44ed65
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
mov dword [ebp - 0x34], eax
mov byte [edi + 0x4d], 0
jmp 0x44eee0
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
cmp eax, dword [ebp - 8]
jle 0x44eeda
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
mov esi, eax
mov eax, dword [ebp - 0xb0]
call fcn.00551204
and eax, 0x7f
inc eax
push eax
mov eax, dword [0x66f5e4]
mov eax, dword [eax]
pop edx
mov ecx, edx
cdq
idiv ecx
sub esi, eax
cmp esi, dword [ebp - 8]
jle 0x44eebb
mov byte [edi + 0x1c], 1
mov eax, dword [ebp - 0xb0]
call fcn.00551204
test al, al
je 0x44ee4d
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xb4]
call fcn.0054824c
mov esi, eax
xor edx, edx
mov eax, dword [ebp - 0xb4]
call fcn.0054824c
sub esi, eax
mov dword [ebp - 0x38], esi
mov eax, dword [0x66e8a8]
test byte [eax + 9], 4
je 0x44ee42
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
sub edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.005654c8
cmp eax, dword [ebp - 8]
jl 0x44ee46
xor eax, eax
jmp 0x44ee48
mov al, 1
mov byte [edi + 0x4f], al
jmp 0x44ee52
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [0x66f294]
cmp byte [eax], 0
jne 0x44eebb
mov eax, dword [0x66ebb0]
cmp byte [eax + 0x84], 2
je 0x44eebb
cmp byte [edi + 0x4f], 0
jne 0x44eebb
mov eax, dword [ebp - 0xb0]
call fcn.005511c4
test al, al
je 0x44eebb
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.005fb958
test al, al
je 0x44eebb
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
sub edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.005654c8
mov edx, dword [0x66f568]
mov edx, dword [edx]
add edx, edx
sub eax, edx
cmp eax, dword [ebp - 8]
jge 0x44eebb
mov byte [edi + 0x74], 1
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
mov dword [ebp - 0x34], eax
mov byte [edi + 0x4d], 0
jmp 0x44eee0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax + 0x24]
mov eax, ebx
call fcn.005652ec
sub dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x44ef09
mov eax, dword [ebp - 0xb0]
call fcn.0054b274
cmp eax, dword [ebp - 0xc]
jge 0x44ef0d
xor eax, eax
jmp 0x44ef0f
mov al, 1
mov byte [edi + 0x4c], al
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x2c]
test eax, eax
jl 0x44f639
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
je 0x44ef4b
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x28]
cmp eax, dword [edi + 0xc]
je 0x44ef7b
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
jne 0x44f62d
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
cmp eax, dword [ebp - 0x34]
jl 0x44f62d
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
je 0x44efa5
push edi
lea esi, [edi + 8]
add edi, 0x54
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, ebx
call fcn.005c208c
mov byte [edi + 0x1d], al
jmp 0x44f0d4
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x28]
mov dword [edi + 0x58], eax
cmp dword [ebp - 0x28], 0
jle 0x44efe8
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
cmp eax, dword [ebp - 0x34]
jle 0x44efe8
dec dword [edi + 0x58]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x34]
mov dword [edi + 0x60], eax
cmp byte [edi + 0x4c], 0
je 0x44f073
cmp byte [edi + 0x4d], 0
je 0x44f073
lea edx, [edi + 0x54]
mov eax, ebx
call fcn.005c207c
test al, al
je 0x44f073
cmp byte [ebx + 0x477], 0
jne 0x44f073
mov eax, dword [ebx + 0x300]
call fcn.00547ce4
dec eax
test eax, eax
jl 0x44f073
inc eax
mov dword [ebp - 0xb8], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebx + 0x300]
call fcn.00547d14
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb0]
mov ecx, dword [ecx + 8]
cmp edx, dword [ecx + 0x18]
jne 0x44f064
mov edx, dword [ebp - 0xb0]
mov edx, dword [edx + 0x28]
mov ecx, dword [ebp - 0xb0]
add edx, dword [ecx + 0x2c]
cmp edx, dword [eax + 4]
jle 0x44f06a
mov byte [edi + 0x1d], 1
jmp 0x44f073
inc esi
dec dword [ebp - 0xb8]
jne 0x44f030
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x28]
mov dword [edi + 0xc], eax
cmp dword [ebp - 0x28], 0
jle 0x44f0c8
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
mov esi, eax
sub esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
dec edx
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
mov edx, dword [ebp - 0x34]
sub edx, eax
cmp esi, edx
jle 0x44f0c8
dec dword [edi + 0xc]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x34]
mov dword [edi + 0x14], eax
push edi
lea esi, [edi + 8]
add edi, 0x24
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28]
mov dword [edi + 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x44f0fc
mov eax, dword [ebp - 0x28]
dec eax
add dword [edi + 0x28], eax
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [edi + 0x28]
call fcn.00551db0
mov edx, eax
mov eax, dword [0x66fcb0]
mov eax, dword [eax]
call fcn.0064eea0
test al, al
je 0x44f12c
mov dword [edi + 0x28], 0x80000000
lea ecx, [ebp - 0x22c]
lea edx, [edi + 8]
mov eax, ebx
call fcn.005c14e0
push edi
lea esi, [ebp - 0x22c]
add edi, 0x34
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop edi
cmp byte [edi + 0x4c], 0
je 0x44f16b
cmp byte [edi + 0x4d], 0
je 0x44f16b
cmp dword [edi + 0x44], 0
jle 0x44f16b
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x44]
cmp eax, dword [edi + 0xc]
jg 0x44f16f
xor eax, eax
jmp 0x44f171
mov al, 1
mov byte [edi + 0x1e], al
cmp byte [edi + 0x4c], 0
je 0x44f1c8
cmp byte [edi + 0x4d], 0
je 0x44f1c8
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
jne 0x44f1b1
mov edx, dword [edi + 0x58]
mov eax, dword [ebp - 0xb0]
sub edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
cmp eax, dword [ebp - 0x34]
jge 0x44f1c8
mov edx, dword [edi + 0x58]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 8]
call fcn.00551db0
cmp ax, 0xa
je 0x44f1cc
xor eax, eax
jmp 0x44f1ce
mov al, 1
mov byte [edi + 0x1f], al
mov byte [edi + 0x4e], 0
cmp byte [edi + 0x1f], 0
je 0x44f514
lea edx, [edi + 0x54]
mov eax, ebx
call fcn.005c4a64
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0x50]
mov esi, dword [eax + 0x24]
inc dword [edi + 0x58]
mov dl, 0x59
mov eax, ebx
call fcn.00564f50
lea ecx, [ebp - 0x124]
lea edx, [edi + 0x54]
mov eax, ebx
call fcn.005c51e4
mov eax, ebx
call fcn.00565004
dec dword [edi + 0x58]
lea edx, [ebp - 0x200]
mov eax, dword [edi + 0x50]
call fcn.00561464
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [esi + 0x30]
mov eax, ebx
call fcn.00565364
push eax
lea eax, [ebp - 0x210]
push eax
lea edx, [ebp - 0x200]
mov eax, dword [edi + 0x50]
call fcn.00561464
mov ecx, dword [ebp - 0x200]
mov edx, dword [esi + 0x2c]
mov eax, ebx
call fcn.00565380
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x268]
mov eax, dword [ebp - 0xb0]
movsx eax, word [eax + 0x12]
call fcn.0062a078
push eax
mov eax, dword [ebp - 0xb0]
call fcn.0054b154
call fcn.00622bb0
pop edx
add edx, eax
push edx
lea edx, [ebp - 0x200]
mov eax, dword [edi + 0x50]
call fcn.00561464
mov edx, dword [ebp - 0x1fc]
mov eax, dword [esi + 0x30]
call fcn.00622bc8
pop edx
sub edx, eax
mov eax, ebx
call fcn.005654c8
push eax
mov edx, dword [ebp - 0xd4]
shl edx, 2
lea edx, [edx + edx*4]
mov eax, ebx
call fcn.00565308
pop edx
sub edx, eax
push edx
mov edx, dword [edi + 0x58]
mov eax, dword [ebp - 0xb0]
sub edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.0054824c
mov edx, eax
mov eax, ebx
call fcn.005654c8
pop edx
pop ecx
call fcn.0064d580
push esi
push edi
lea esi, [ebp - 0x210]
add edi, 0x64
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
jne 0x44f4be
cmp byte [edi + 0x1d], 0
je 0x44f4be
mov eax, ebx
call fcn.005c4320
test al, al
je 0x44f4be
cmp byte [esi + 0x3c], 0
jne 0x44f4be
mov eax, dword [edi + 0x50]
call fcn.00561234
test al, al
jne 0x44f4be
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [0x66f5a4]
mov eax, dword [eax]
shr eax, 1
mov dword [ebp - 0x3c], eax
mov esi, 1
mov eax, esi
mov edx, eax
sub dl, 1
je 0x44f36f
sub dl, 3
je 0x44f36f
sub dl, 2
jne 0x44f37a
mov edx, dword [edi + 0x64]
mov dword [ebp - 0x144], edx
jmp 0x44f3b4
mov edx, eax
sub dl, 3
je 0x44f38b
sub dl, 2
je 0x44f38b
sub dl, 3
jne 0x44f39e
mov edx, dword [edi + 0x6c]
mov ecx, dword [0x66f5a4]
sub edx, dword [ecx]
mov dword [ebp - 0x144], edx
jmp 0x44f3b4
mov edx, dword [edi + 0x64]
add edx, dword [edi + 0x6c]
sar edx, 1
jns 0x44f3ab
adc edx, 0
sub edx, dword [ebp - 0x3c]
mov dword [ebp - 0x144], edx
mov edx, eax
dec edx
sub dl, 3
jae 0x44f3c7
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x140], eax
jmp 0x44f3f6
add al, 0xfa
sub al, 3
jae 0x44f3e0
mov eax, dword [edi + 0x70]
mov edx, dword [0x66f5a4]
sub eax, dword [edx]
mov dword [ebp - 0x140], eax
jmp 0x44f3f6
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x70]
sar eax, 1
jns 0x44f3ed
adc eax, 0
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x144], eax
mov eax, dword [0x66f5a4]
mov eax, dword [eax]
add eax, eax
mov edx, eax
add edx, dword [ebp - 0x144]
mov dword [ebp - 0x13c], edx
mov edx, dword [ebp - 0x3c]
sub dword [ebp - 0x140], edx
mov edx, dword [0x66f5a4]
add eax, dword [ebp - 0x140]
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d54c
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x144]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44f4b4
mov eax, dword [ebp - 0x144]
add eax, dword [ebp - 0x13c]
sar eax, 1
jns 0x44f471
adc eax, 0
sub eax, dword [ebp - 8]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x140]
add eax, dword [ebp - 0x138]
sar eax, 1
jns 0x44f48e
adc eax, 0
sub eax, dword [ebp - 0xc]
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov dword [ebp - 0x2c], ecx
cmp byte [edi + 0x4e], 0
je 0x44f4a9
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jg 0x44f4b4
mov eax, esi
mov byte [edi + 0x4e], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
inc esi
cmp esi, 9
jne 0x44f35c
mov eax, dword [ebp - 0xb0]
mov esi, dword [eax + 0x30]
mov edx, dword [esi + 0x60]
mov eax, dword [ebp - 0xb0]
add edx, dword [eax + 0x24]
mov eax, ebx
call fcn.005652ec
mov edx, eax
lea ecx, [ebp - 0x200]
mov eax, dword [esi + 0x6c]
call fcn.0064d54c
lea edx, [ebp - 0x200]
lea ecx, [ebp - 0xc0]
mov eax, esi
call fcn.00558a54
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0xc0]
push eax
lea eax, [edi + 0x64]
push eax
call sub.user32.dll_OffsetRect
cmp byte [edi + 0x4c], 0
je 0x44f639
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x12c]
jge 0x44f556
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x18]
movsx eax, byte [eax + 0x34]
cmp ax, 9
je 0x44f551
mov eax, dword [edi + 0x18]
cmp byte [eax + 0x3c], 0
je 0x44f556
xor eax, eax
mov dword [edi + 0x18], eax
cmp byte [edi + 0x4d], 0
je 0x44f639
push ebp
push 0x44f6b4
lea eax, [edi + 0x54]
mov cl, 0xff
xor edx, edx
call fcn.0044d390
pop ecx
mov dword [edi + 0xcc], eax
push ebp
push 0x44f6c0
lea eax, [edi + 0x54]
mov cl, 0x58
xor edx, edx
call fcn.0044d390
pop ecx
mov dword [edi + 0xd0], eax
push ebp
push 0x44f6c0
lea eax, [edi + 0x54]
mov cl, 0xff
mov dl, 2
call fcn.0044d390
pop ecx
mov dword [edi + 0xc8], eax
cmp dword [edi + 0x28], 0
jge 0x44f5b6
lea esi, [edi + 0x54]
jmp 0x44f5b9
lea esi, [edi + 0x24]
push ebp
push 0x44f6c0
mov eax, esi
mov cl, 0xff
mov dl, 3
call fcn.0044d390
pop ecx
mov dword [edi + 0xc0], eax
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.00563ac8
test al, al
je 0x44f5f7
push ebp
push 0x44f6c0
mov eax, esi
mov cl, 0xff
mov dl, 4
call fcn.0044d390
pop ecx
mov dword [edi + 0xc4], eax
cmp dword [edi + 0xd4], 0
je 0x44f639
mov eax, dword [edi + 0xd4]
call fcn.005614ac
test al, al
je 0x44f639
cmp byte [ebp - 0x41], 0
jne 0x44f639
mov eax, 0x12
call fcn.00622884
test al, al
jne 0x44f639
xor eax, eax
mov dword [edi + 0xd4], eax
jmp 0x44f639
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x44ef2e
call fcn.0054b368
cmp dword [edi + 0xd4], 0
je 0x44f666
mov eax, dword [edi + 0xd4]
test byte [eax + 9], 1
je 0x44f666
push edi
lea esi, [edi + 8]
add edi, 0x54
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
mov byte [edi + 0x1d], 1
mov eax, ebx
call fcn.00562870
test al, al
je 0x44f695
cmp dword [edi + 8], 0
jl 0x44f699
cmp dword [edi + 0x10], 0
jl 0x44f699
cmp byte [edi + 0x4c], 0
je 0x44f699
lea edx, [ebx + 0x3d0]
lea eax, [edi + 8]
call fcn.00543d5c
test al, al
je 0x44f699
xor eax, eax
jmp 0x44f69b
mov al, 1
mov byte [edi + 0x80], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8