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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x148], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x150], eax
mov eax, 0x202020
push esi
mov esi, dword [ebx + 0x2c]
mov dword [ebp - 0x11c], eax
lea eax, [ebx + 0x1c]
push edi
mov edi, dword [ebp + 0x1c]
push eax
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x134], 0x2f2f2f
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0x154], eax
call eax
mov eax, dword [ebp - 0x9c]
sub dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x10]
shr eax, 3
and eax, 2
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x148], 0
mov dword [ebp - 0x108], eax
je 0x4cd6a0
mov ecx, dword [ebp - 0x158]
xor eax, eax
mov dword [edi + 0x5584], 0
mov dword [ebp - 0x100], 0xd0ffff
mov dword [ebp - 0xf0], ecx
jmp 0x4cd6d1
mov edx, dword [edi + 0x55d4]
and edx, 0xfff
movzx eax, dl
mov dword [edi + 0x55cc], edx
mov dword [edi + 0x5584], edx
shr edx, 8
mov ecx, dword [edi + eax*4 + 0x53b0]
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xf0], edx
push 2
xor ebx, ebx
mov dword [edi + 0x55cc], eax
mov eax, dword [ebp - 0xec]
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
push dword [eax + 8]
mov dword [ebp - 0x144], 0
push edi
mov dword [ebp - 0x110], ebx
call fcn.004a5250
mov esi, eax
add esp, 0x20
mov dword [ebp - 0xf8], esi
test esi, esi
je 0x4cd856
mov al, byte [esi]
test al, al
je 0x4cd856
nop dword [eax]
mov edi, esi
cmp al, 0x11
jae 0x4cd844
cmp al, 9
jb 0x4cd736
cmp al, 0xd
jbe 0x4cd844
movsx eax, al
inc esi
dec eax
cmp eax, 0xe
ja case.0x4cd74b.8
movzx eax, byte [eax + 0x4d0498]
jmp dword [eax*4 + 0x4d0478]
lea esi, [edi + 2]
jmp case.0x4cd74b.8
lea esi, [edi + 0x11]
jmp case.0x4cd74b.8
push 8
push esi
call fcn.004a28e0
mov edx, eax
add esp, 8
mov dword [ebp - 0x144], edx
and eax, 3
je 0x4cd780
dec eax
and ebx, 0xfffffffc
or ebx, eax
mov ecx, ebx
mov eax, edx
or ecx, 0x10000
and al, 4
cmove ecx, ebx
mov ebx, ecx
test edx, 0x8000
je 0x4cd7a9
mov eax, dword [ebp - 0xe0]
or dword [eax + 0x55d4], 0x8000
xor eax, eax
nop dword [eax + eax]
cmp byte [esi], 0x20
jle 0x4cd7bc
inc eax
inc esi
cmp eax, 8
jl 0x4cd7b0
cmp byte [esi], 3
jne case.0x4cd74b.8
inc esi
jmp case.0x4cd74b.8
push 6
push esi
call fcn.004a28e0
mov dword [ebp - 0x100], eax
jmp 0x4cd834
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 0x55d4]
test eax, 0x10000
je 0x4cd7f7
test byte [ebp - 0x144], 4
je 0x4cd837
test eax, 0x20000
jne 0x4cd837
push 6
push esi
call fcn.004a28e0
add esp, 8
or eax, 0x2000000
push eax
push dword [ebp - 0xe4]
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x4cd837
push 6
push esi
call fcn.004a28e0
mov dword [ebp - 0x134], eax
jmp 0x4cd834
push 6
push esi
call fcn.004a28e0
mov dword [ebp - 0x11c], eax
add esp, 8
lea esi, [edi + 7]
mov al, byte [esi]
test al, al
jne 0x4cd720
mov edi, dword [ebp - 0xe0]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0xf8], esi
mov eax, dword [ebp - 0xec]
test byte [eax + 0x10], 1
je 0x4cd87b
test byte [edi + 0x53ac], 8
jne 0x4cd874
cmp dword [edi + 0x54dc], 0
je 0x4cd87b
mov eax, 1
jmp 0x4cd87d
xor eax, eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x100]
test eax, eax
jne 0x4cd8ad
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x100], eax
push dword [edi + 0x54c8]
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
mov dword [ebp - 0xdc], ebx
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x4cd8ef
mov eax, dword [ebp - 0xe0]
push dword [eax + 0x54c8]
call edi
push eax
call edi
test eax, eax
je 0x4cd8ef
mov dword [ebp - 0x150], 1
jmp 0x4cd960
cmp dword [ebp - 0x130], 0
je 0x4cd96a
mov edi, dword [ebp - 0xe0]
mov eax, dword [edi + 0x55d4]
test eax, 0x2000
je 0x4cd927
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi + 0x54c8]
mov ecx, 0xffefeff0
mov edx, 0xffdfdfe0
cmove ecx, edx
push ecx
jmp 0x4cd94a
test eax, 0x1000
je 0x4cd96a
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi + 0x54c8]
mov eax, dword [ebp - 0x11c]
cmove eax, dword [ebp - 0x134]
neg eax
push eax
push dword [ebp - 0x100]
call fcn.004852f0
mov ebx, eax
add esp, 8
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 0xec]
test byte [eax + 0x10], 0x10
je 0x4cd98c
push 0xffefeff0
push ebx
call fcn.004852f0
mov ebx, eax
add esp, 8
mov dword [ebp - 0xdc], ebx
mov eax, ebx
sar eax, 0x10
movzx ecx, al
mov eax, ebx
or ecx, 0x200
sar eax, 8
shl ecx, 8
movzx eax, al
or ecx, eax
movzx eax, bl
shl ecx, 8
or ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp dword [ebp - 0x130], 0
mov edi, eax
mov dword [ebp - 0x13c], edi
jne 0x4cd9d4
push ebx
push dword [ebp - 0xe4]
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0xe4]
call dword [sym.imp.GDI32.dll_GetTextColor]
mov dword [ebp - 0x120], eax
xor ebx, ebx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x78], ebx
jle 0x4cda5a
mov esi, dword [ebp - 0xec]
lea edi, [eax + 0x55d8]
nop dword [eax + eax]
cmp dword [edi - 0x555c], 0
je 0x4cda4e
cmp dword [eax + 0x5768], 0
je 0x4cda26
mov eax, dword [edi]
jmp 0x4cda28
mov eax, ebx
push 0
push eax
push 0x101d
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
add dword [ebp - 0x98], eax
inc ebx
mov eax, dword [ebp - 0xe0]
add edi, 4
cmp ebx, dword [eax + 0x78]
jl 0x4cda10
mov esi, dword [ebp - 0xf8]
mov edi, dword [ebp - 0x13c]
mov ebx, dword [ebp - 0xe0]
test dword [ebx + 0x53ac], 0x400
je 0x4cdb7d
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4cdb79
cmp dword [ecx + 0x50], 0
je 0x4cdb79
mov edx, dword [ebp - 0x110]
mov eax, edx
or eax, 0x1000
mov dword [ebp - 0x80], ecx
cmp dword [ebx + 0x54b8], 0
mov dword [ebp - 0x7c], ecx
cmovne edx, eax
mov ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x138]
or eax, dword [ebp - 0x108]
neg ecx
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0xe8]
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x88], 0x590368
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], 3
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x58], 0
push eax
mov eax, dword [esi + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4cdb96
jmp 0x4cdb83
mov esi, ecx
jmp 0x4cdb83
mov esi, dword [ebp - 0xe8]
push edi
push dword [ebp - 0x118]
push dword [ebp - 0xe4]
call dword [sym.imp.USER32.dll_FillRect]
test edi, edi
je 0x4cdba1
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0xe4]
push edi
call dword [sym.imp.GDI32.dll_GetBkColor]
mov edx, eax
or edx, 0x2000000
mov eax, edx
mov dword [ebp - 0x110], edx
sar eax, 0x10
movzx ecx, al
mov eax, edx
or ecx, 0x200
sar eax, 8
shl ecx, 8
movzx eax, al
or ecx, eax
movzx eax, dl
shl ecx, 8
or ecx, eax
push 0xffefeff0
push ecx
call fcn.004852f0
add esp, 8
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x130], 0
jne 0x4cdc09
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0xa0]
xor edx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebx + 0x78]
mov dword [ebp - 0x144], edx
test ecx, ecx
jle 0x4cdc43
lea eax, [ebx + 0x7c]
nop word [eax + eax]
cmp dword [eax], 0
je 0x4cdc3d
inc edx
add eax, 4
cmp edx, ecx
jl 0x4cdc30
mov dword [ebp - 0x144], edx
lea eax, [ebx + 0x55d8]
push eax
mov eax, dword [ebp - 0xec]
push edx
push 0x103b
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebx + 0x55d4]
mov dword [ebx + 0x5768], eax
xor eax, eax
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x144], eax
jle 0x4d03fc
nop word [eax + eax]
cmp dword [ebx + 0x5768], 0
mov dword [ebx + 0x55d4], edx
je 0x4cdcac
mov ecx, dword [ebx + eax*4 + 0x55d8]
mov eax, dword [ebx + ecx*4 + 0x7c]
jmp 0x4cdcb2
mov ecx, eax
mov eax, dword [ebx + eax*4 + 0x7c]
dec eax
push 0
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xec]
push ecx
push 0x101d
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
add dword [ebp - 0x98], eax
test dword [ebx + 0x53ac], 0x800
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x10c]
cmovne eax, ecx
mov dword [ebp - 0xfc], eax
imul eax, ecx, 0xd0
push 0
push 0
push 0
mov dword [ebp - 0x13c], eax
push dword [eax + ebx + 0x218]
mov eax, dword [ebp - 0xec]
push ecx
push esi
push dword [eax + 8]
push ebx
call fcn.004a5250
mov ecx, dword [ebx + 0x53ac]
add esp, 0x20
cmp dword [ebp - 0x148], 0
mov esi, 0x4eb673
mov dword [ebp - 0x11c], eax
cmove esi, eax
mov dword [ebp - 0xf4], esi
test ecx, 0x400
je 0x4ce130
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebx + 0x54b8]
jne 0x4ce130
test ecx, 0x8000
jne 0x4ce130
cmp dword [ebx + 0x5354], 0
movups xmm0, xmmword [ebp - 0xa0]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0xe8]
mov edx, edi
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x134], edx
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x140], eax
jle 0x4cddc5
cmp dword [ebx + 0x55cc], 0
jl 0x4cddc5
test dword [ebx + 0x55d4], 0x400
lea esi, [eax + 0x10]
je 0x4cddc8
mov esi, dword [ebp - 0x14]
mov ecx, dword [edi + 0xc]
xor ebx, ebx
shl ecx, 4
add esi, ecx
add eax, ecx
mov dword [ebp - 0x14], esi
xor esi, esi
xor edi, edi
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xdc], edi
mov ecx, esi
inc esi
mov dword [ebp - 0xf8], ecx
cmp esi, ebx
jle 0x4cde27
add ebx, 0xa
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov edx, dword [ebp - 0x134]
mov edi, eax
mov ecx, dword [ebp - 0xf8]
add esp, 8
mov dword [ebp - 0xdc], edi
mov dword [edi + esi*4 - 4], edx
mov edx, dword [edx + 0x30]
mov dword [ebp - 0x134], edx
test edx, edx
je 0x4cde40
mov edi, dword [ebp - 0xdc]
jmp 0x4cdde7
test ecx, ecx
js 0x4ce0fb
mov ebx, dword [ebp - 0x140]
nop
mov eax, dword [ebp - 0xdc]
mov esi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], eax
cmp dword [esi + 0x38], 0
mov edi, dword [esi]
jne 0x4cde86
cmp dword [esi + 0x3c], 0
jne 0x4cde86
cmp dword [esi + 0x30], 0
jne 0x4cde86
cmp dword [esi + 0x34], 0
je 0x4ce0e9
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4cdfaa
cmp dword [eax + 0x50], 0
je 0x4cdfaa
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xf0]
mov eax, dword [ecx + 0x54b8]
add eax, dword [ebp - 0x10c]
je 0x4cdebb
or edx, 0x1000
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x138]
or eax, dword [ebp - 0x108]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x114]
neg ecx
mov dword [ebp - 0x88], 0x590368
mov dword [ebp - 0x80], esi
sbb ecx, ecx
mov dword [ebp - 0x78], 1
and ecx, eax
mov dword [ebp - 0x60], 0xffffffff
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x30]
push ecx
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc2
je 0x4d03f2
mov ecx, dword [ebp - 0xf8]
cmp edi, 0xffffffff
je 0x4ce0e9
cmp ebx, dword [ebp - 0xa8]
jne 0x4ce0e9
cmp dword [esi + 0x34], 0
je 0x4ce0e9
test byte [esi + 4], 1
je 0x4ce0e9
cmp dword [esi + 0x50], 0
je 0x4ce0e9
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xf0]
mov eax, dword [ecx + 0x54b8]
add eax, dword [ebp - 0x10c]
je 0x4cdffd
or edx, 0x1000
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x138]
or eax, dword [ebp - 0x108]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x114]
neg ecx
mov dword [ebp - 0x88], 0x590368
mov dword [ebp - 0x80], esi
sbb ecx, ecx
mov dword [ebp - 0x78], 1
and ecx, eax
mov dword [ebp - 0x60], 0x19
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], edx
push eax
mov eax, dword [esi + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc2
je 0x4d03f2
mov ecx, dword [ebp - 0xf8]
add ebx, 0x10
sub ecx, 1
mov dword [ebp - 0xf8], ecx
jns 0x4cde50
cmp dword [ebp - 0xdc], 0
je 0x4ce11e
lea eax, [ebp - 0xdc]
push eax
call fcn.0047e900
push dword [ebp - 0xdc]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 8
mov edi, dword [ebp - 0xe4]
mov esi, dword [ebp - 0xf4]
mov ebx, dword [ebp - 0xe0]
test dword [ebx + 0x53ac], 0x400
je 0x4ce24c
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4ce24c
cmp dword [ecx + 0x50], 0
je 0x4ce24c
mov eax, dword [ebx + 0x54b8]
mov edx, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4ce172
or edx, 0x1000
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x138]
or eax, dword [ebp - 0x108]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x114]
neg ecx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x88], 0x590368
sbb ecx, ecx
mov dword [ebp - 0x84], ebx
and ecx, eax
mov dword [ebp - 0x78], 4
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4ce4d9
cmp dword [ebp - 0x150], 0
je 0x4ce26d
push dword [ebp - 0x100]
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov esi, dword [ebp - 0xfc]
jmp 0x4ce3ca
mov eax, dword [ebx + 0x54b8]
mov esi, dword [ebp - 0xfc]
cmp esi, eax
jge 0x4ce379
test dword [ebx + 0x55d4], 0x10000000
jne 0x4ce379
mov esi, dword [ebp - 0x114]
test esi, esi
je 0x4ce2b2
test dword [ebx + 0x53ac], 0x800000
jne 0x4ce2b2
mov eax, dword [sym.imp.USER32.dll_GetSysColor]
push 5
call eax
jmp 0x4ce2bf
mov eax, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call eax
test esi, esi
je 0x4ce2d9
test dword [ebx + 0x53ac], 0x800000
je 0x4ce2d9
push 0xffefeff0
push eax
call fcn.004852f0
add esp, 8
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [ebp - 0xa0]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
test esi, esi
je 0x4ce2fc
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
test dword [ebx + 0x53ac], 0x800000
je 0x4ce34c
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xd8]
push eax
call dword [ebp - 0x154]
dec dword [ebp - 0xd0]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x10
call esi
push eax
push 5
call esi
movups xmm0, xmmword [ebp - 0xd8]
push eax
sub esp, 0x10
mov eax, esp
push edi
movups xmmword [eax], xmm0
call fcn.004d6010
add esp, 0x1c
jmp 0x4ce352
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
cmp dword [ebp - 0x114], 0
mov ecx, 5
mov eax, 0xf
cmovne eax, ecx
push eax
call esi
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov esi, dword [ebp - 0xfc]
jmp 0x4ce3ca
test byte [ebx + 0x53ac], 0x40
jne 0x4ce3bd
cmp dword [ebp - 0x130], 0
jne 0x4ce3bd
add eax, dword [ebp - 0x10c]
test al, 1
je 0x4ce3bd
test dword [ebx + 0x55d4], 0x4000000
jne 0x4ce3bd
push dword [ebp - 0x14c]
lea eax, [ebp - 0xa0]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x100]
jmp 0x4ce3c3
push dword [ebp - 0x110]
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [ebx + 0x53ac]
test cl, 0x40
je 0x4ce4d3
mov eax, dword [ebx + 0x55d4]
test eax, 0x8000
jne 0x4ce4d3
cmp esi, dword [ebx + 0x54b8]
jge 0x4ce3fd
test eax, 0x10000000
je 0x4ce4d3
test eax, 0x1000
je 0x4ce48f
mov eax, dword [ebp - 0xec]
test byte [eax + 0x10], 1
je 0x4ce48f
test cl, 8
jne 0x4ce422
cmp dword [ebx + 0x54dc], 0
je 0x4ce48f
push edi
call dword [sym.imp.GDI32.dll_GetBkColor]
mov cx, ax
shr cx, 8
movzx ecx, cx
movd xmm1, ecx
movzx ecx, al
cvtdq2pd xmm1, xmm1
shr eax, 0x10
movzx eax, al
movd xmm0, ecx
xor ecx, ecx
mulsd xmm1, qword [0x4e5a60]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4e5a30]
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4e59d8]
addsd xmm1, xmm0
cvttsd2si eax, xmm1
movzx eax, al
shr eax, 4
add eax, 0xfffffffe
cmovns ecx, eax
push dword [ecx*4 + 0x590398]
jmp 0x4ce495
push dword [0x590394]
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call eax
push 0
push dword [ebp - 0x9c]
mov esi, eax
mov eax, dword [ebp - 0x98]
dec eax
push eax
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [ebp - 0x94]
mov eax, dword [ebp - 0x98]
dec eax
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebp - 0xf4]
test dword [ebx + 0x53ac], 0x400
je 0x4ce5f7
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4ce5f7
cmp dword [ecx + 0x50], 0
je 0x4ce5f7
mov eax, dword [ebx + 0x54b8]
mov edx, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4ce51b
or edx, 0x1000
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x138]
or eax, dword [ebp - 0x108]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x114]
neg ecx
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0xfc]
sbb ecx, ecx
mov dword [ebp - 0x90], edi
and ecx, eax
mov dword [ebp - 0x88], 0x590368
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], 8
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x58], esi
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4ce925
jmp 0x4ce5fd
mov esi, dword [ebp - 0xfc]
mov eax, dword [ebx + 0x55d4]
test eax, 0x20000000
jne 0x4ce925
cmp esi, dword [ebx + 0x54b8]
jge 0x4ce621
test eax, 0x10000000
je 0x4ce925
test byte [ebx + 0x53ac], 0x10
mov ecx, dword [ebp - 0xec]
jne 0x4ce696
test eax, 0x200000
je 0x4ce643
mov eax, dword [ebx + 0x5778]
dec eax
cmp dword [ecx + 8], eax
je 0x4ce696
mov eax, dword [ecx + 8]
push 2
inc eax
push eax
push 0x102c
push dword [ecx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xec]
test eax, eax
je 0x4ce92b
test dword [ebx + 0x55d4], 0x1000
je 0x4ce92b
test byte [ecx + 0x10], 1
je 0x4ce92b
test byte [ebx + 0x53ac], 8
jne 0x4ce696
cmp dword [ebx + 0x54dc], 0
je 0x4ce92b
mov eax, dword [ebp - 0xa0]
xor edx, edx
test eax, eax
push 2
cmovs eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x94]
dec eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov eax, dword [ecx + 8]
inc eax
push eax
push 0x102c
push dword [ecx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xec]
test eax, eax
je 0x4ce82b
test dword [ebx + 0x55d4], 0x1000
je 0x4ce82b
test byte [ecx + 0x10], 1
je 0x4ce82b
test byte [ebx + 0x53ac], 8
jne 0x4ce71f
cmp dword [ebx + 0x54dc], 0
je 0x4ce82b
push edi
call dword [sym.imp.GDI32.dll_GetBkColor]
mov cx, ax
shr cx, 8
movzx ecx, cx
movd xmm1, ecx
movzx ecx, al
cvtdq2pd xmm1, xmm1
shr eax, 0x10
test dword [ebx + 0x53ac], 0x800000
movzx eax, al
movd xmm0, ecx
mulsd xmm1, qword [0x4e5a60]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4e5a30]
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4e59d8]
addsd xmm1, xmm0
cvttsd2si eax, xmm1
movzx esi, al
je 0x4ce7f6
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebx + 0x54b8]
jge 0x4ce7f6
push dword [0x590390]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
lea eax, [ebp - 0x1c]
push 2
push eax
push dword [ebp - 0xe4]
call dword [sym.imp.GDI32.dll_Polyline]
test dword [ebx + 0x53ac], 0x100
je 0x4ce8d9
shr esi, 4
xor ecx, ecx
lea eax, [esi - 2]
mov esi, dword [ebp - 0xe4]
test eax, eax
cmovns ecx, eax
push dword [ecx*4 + 0x590398]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 2
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_Polyline]
jmp 0x4ce8df
shr esi, 4
xor ecx, ecx
lea eax, [esi - 2]
test eax, eax
cmovns ecx, eax
push dword [ecx*4 + 0x590398]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebp - 0xe4]
mov edi, eax
push 3
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.GDI32.dll_Polyline]
jmp 0x4ce8df
test dword [ebx + 0x55d4], 0x200000
je 0x4ce870
mov eax, dword [ebx + 0x5778]
dec eax
cmp dword [ecx + 8], eax
jne 0x4ce870
push dword [0x5903ac]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [0x5903c4]
mov esi, dword [ebp - 0xe4]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
dec dword [ebp - 0x18]
dec dword [ebp - 0x10]
dec dword [ebp - 8]
jmp 0x4ce8df
test dword [ebx + 0x53ac], 0x800000
je 0x4ce8ce
cmp esi, dword [ebx + 0x54b8]
jge 0x4ce8ce
push dword [0x590390]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebp - 0xe4]
mov edi, eax
push 2
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.GDI32.dll_Polyline]
push dword [0x590394]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test dword [ebx + 0x53ac], 0x100
je 0x4ce8df
push 2
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_Polyline]
jmp 0x4ce8df
push dword [0x590394]
jmp 0x4ce80a
mov esi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xec]
cmp dword [eax + 0x20], 0x14
jge 0x4ce917
mov eax, dword [ebp - 0x9c]
push 0
dec eax
push eax
push dword [ebp - 0xa0]
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp - 0x9c]
dec eax
push eax
push dword [ebp - 0x98]
push esi
call dword [sym.imp.GDI32.dll_LineTo]
push edi
mov edi, dword [ebp - 0xe4]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0xec]
test dword [ebx + 0x53ac], 0x400
je 0x4cea41
mov esi, dword [ebp - 0xe8]
test esi, esi
je 0x4cea41
cmp dword [esi + 0x50], 0
je 0x4cea41
mov eax, dword [ebx + 0x54b8]
mov edx, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4ce96d
or edx, 0x1000
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x138]
or eax, dword [ebp - 0x108]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x114]
neg ecx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x88], 0x590368
sbb ecx, ecx
mov dword [ebp - 0x84], ebx
and ecx, eax
mov dword [ebp - 0x80], esi
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], 5
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], edx
push eax
mov eax, dword [esi + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc2
je 0x4d03f8
mov esi, dword [ebx + 0x54b8]
mov ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0xfc], esi
jne 0x4cea89
cmp dword [ebx + 0x5354], 0
mov edi, ecx
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0x34], edi
jle 0x4cea92
cmp dword [ebx + 0x55cc], 0
jl 0x4cea92
test dword [ebx + 0x55d4], 0x400
jne 0x4cea92
add ecx, 0x10
mov dword [ebp - 0xa0], ecx
jmp 0x4cea92
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0xf8], edi
mov eax, dword [ebp - 0x13c]
movzx eax, word [eax + ebx + 0x218]
sub eax, 3
je 0x4cf8be
sub eax, 1
je 0x4cf57f
cmp dword [ebp - 0x148], 0
jne 0x4cf127
mov edx, dword [ebx + 0x53ac]
test edx, 0x400
je 0x4cf323
cmp dword [ebp - 0xfc], esi
jne 0x4ceb09
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
mov dword [ebp - 0xf4], eax
test eax, eax
je 0x4ceb09
cmp eax, 0xffffffff
je 0x4ceb09
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
test al, 8
jne 0x4ceb21
test al, 2
jne 0x4ceb09
test edx, 0x200000
je 0x4ceb21
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xfc], esi
jne 0x4cf323
test edx, 0x8000
jne 0x4cf30f
mov edx, dword [ebp - 0xe8]
xor esi, esi
mov eax, dword [ebx + 0x5350]
xor ebx, ebx
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x134], edx
mov eax, dword [edx + 0xc]
shl eax, 4
add eax, edi
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0xc]
shl eax, 4
add ecx, eax
xor edi, edi
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xdc], edi
nop word [eax + eax]
mov dword [ebp - 0x11c], esi
inc esi
cmp esi, ebx
jle 0x4ceba2
add ebx, 0xa
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov edi, eax
add esp, 8
mov dword [ebp - 0xdc], edi
mov eax, dword [ebp - 0x134]
mov dword [edi + esi*4 - 4], eax
mov edi, eax
mov edi, dword [edi + 0x30]
mov dword [ebp - 0x134], edi
test edi, edi
je 0x4cebc3
mov edi, dword [ebp - 0xdc]
jmp 0x4ceb70
mov ebx, dword [ebp - 0x11c]
test ebx, ebx
js 0x4cf0b7
mov esi, dword [ebp - 0xf8]
nop word [eax + eax]
mov eax, dword [ebp - 0xdc]
mov edi, dword [eax + ebx*4]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], eax
cmp dword [edi + 0x38], 0
mov ebx, dword [edi]
jne 0x4cec19
cmp dword [edi + 0x3c], 0
jne 0x4cec19
cmp dword [edi + 0x30], 0
jne 0x4cec19
cmp dword [edi + 0x34], 0
je 0x4cf099
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4ced37
cmp dword [eax + 0x50], 0
je 0x4ced37
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xf0]
mov eax, dword [ecx + 0x54b8]
add eax, dword [ebp - 0x10c]
je 0x4cec4e
or edx, 0x1000
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x138]
or eax, dword [ebp - 0x108]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x114]
neg ecx
mov dword [ebp - 0x88], 0x590368
mov dword [ebp - 0x80], edi
sbb ecx, ecx
mov dword [ebp - 0x78], 9
and ecx, eax
mov dword [ebp - 0x60], 0xffffffff
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x30]
push ecx
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4cee0f
mov eax, dword [ebp - 0xe0]
test dword [eax + 0x53ac], 0x2000000
je 0x4cee0f
cmp ebx, 0xffffffff
je 0x4ced91
cmp esi, dword [ebp - 0x34]
jne 0x4ced91
push 1
push dword [ebp - 0x30]
add esi, 0x10
lea eax, [esi - 0xe]
push eax
push dword [ebp - 0xe4]
push 0x17
push dword [0x5904b0]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push 1
push dword [ebp - 0x30]
push esi
push dword [ebp - 0xe4]
push 0x1a
push dword [0x5904b0]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x4ced9d
mov esi, dword [ecx + 0x28]
jmp 0x4ceda6
mov eax, dword [ebp - 0x140]
mov esi, dword [eax + 4]
mov edx, dword [ebp - 0xf8]
mov eax, dword [edi + 0x2c]
cmp edx, dword [ebp - 0x34]
jne 0x4cedc2
cmp eax, 1
jg 0x4cedc6
test ecx, ecx
jne 0x4cedc6
cmp edx, dword [ebp - 0x34]
je 0x4cede3
cmp eax, esi
jge 0x4cee09
push 1
push dword [ebp - 0x30]
push edx
push dword [ebp - 0xe4]
push 0x18
push dword [0x5904b0]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [edi + 0x2c]
cmp eax, esi
mov esi, dword [ebp - 0xf8]
jge 0x4cee0f
push 1
push dword [ebp - 0x30]
push esi
push dword [ebp - 0xe4]
push 0x19
push dword [0x5904b0]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
jmp 0x4cee0f
mov esi, dword [ebp - 0xf8]
cmp ebx, 0xffffffff
je 0x4cf099
cmp esi, dword [ebp - 0x34]
jne 0x4cf099
cmp dword [edi + 0x34], 0
je 0x4cf099
cmp dword [edi + 0x50], 0
mov ebx, dword [ebp - 0xe0]
je 0x4cef37
mov eax, dword [ebx + 0x54b8]
mov edx, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4cee55
or edx, 0x1000
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x138]
or eax, dword [ebp - 0x108]
neg ecx
mov dword [ebp - 0x88], 0x590368
sbb ecx, ecx
mov dword [ebp - 0x84], ebx
and ecx, eax
mov dword [ebp - 0x80], edi
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x78], 0xa
mov dword [ebp - 0x60], 0x19
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], edx
push eax
mov eax, dword [edi + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4cef5b
mov eax, dword [edi + 4]
push 1
push dword [ebp - 0x30]
not eax
push esi
push dword [ebp - 0xe4]
and eax, 1
add eax, 0x1b
push eax
push dword [0x5904b0]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
test byte [edi + 4], 1
je 0x4cf099
test dword [ebx + 0x53ac], 0x2000000
je 0x4cf099
cmp dword [edi + 0x50], 0
je 0x4cf07c
mov eax, dword [ebx + 0x54b8]
mov edx, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4cef99
or edx, 0x1000
cmp dword [ebp - 0x114], 0
jne 0x4cefa6
xor ecx, ecx
jmp 0x4cefb2
mov ecx, dword [ebp - 0x128]
or ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x88], 0x590368
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x78], 9
mov dword [ebp - 0x60], 0x19
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], edx
push eax
mov eax, dword [edi + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4cf099
push 1
push dword [ebp - 0x30]
lea eax, [esi + 0x10]
push eax
push dword [ebp - 0xe4]
push 0x19
push dword [0x5904b0]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov ebx, dword [ebp - 0x11c]
add esi, 0x10
sub ebx, 1
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0x11c], ebx
jns 0x4cebe0
cmp dword [ebp - 0xdc], 0
je 0x4cf0e4
lea eax, [ebp - 0xdc]
push eax
call fcn.0047e900
push dword [ebp - 0xdc]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 8
mov dword [ebp - 0xdc], 0
cmp dword [edi + 0x34], 0
mov ebx, dword [ebp - 0xe0]
mov eax, dword [ebx + 0x53ac]
jne 0x4cf102
mov ecx, 4
test eax, 0x4000000
jne 0x4cf107
mov ecx, 0x10
add dword [ebp - 0x34], ecx
cmp dword [edi + 0x34], 0
jne 0x4cf11c
test eax, 0x4000000
mov eax, 4
jne 0x4cf121
mov eax, 0x10
add dword [ebp - 0xa0], eax
mov edi, dword [ebp - 0xf4]
push 1
push edi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
je 0x4cf143
inc eax
cmp byte [eax], 0x20
cmovae edi, eax
test dword [ebx + 0x53ac], 0x400000
jne 0x4cf3c3
mov ecx, dword [ebx + 0x5778]
mov eax, dword [ebx + 0x54d4]
cmp eax, ecx
jl 0x4cf3c3
sub eax, ecx
mov ecx, dword [ebp - 0xec]
cmp dword [ecx + 8], eax
jne 0x4cf3c3
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebx + 0x54f4]
je 0x4cf19c
push 0xfffffffffffffff0
push dword [ecx + 0x14]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x4000
je 0x4cf3c3
cmp dword [ebp - 0x130], 0
mov ecx, 0xf0f0
mov eax, 0x7000
cmovne eax, ecx
push eax
push dword [ebp - 0xe4]
call dword [sym.imp.GDI32.dll_SetTextColor]
test dword [ebx + 0x53ac], 0x400
mov esi, eax
je 0x4cf349
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x4cf349
cmp dword [eax + 0x50], 0
je 0x4cf349
mov eax, dword [ebx + 0x54b8]
mov edx, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4cf201
or edx, 0x1000
mov ecx, dword [ebp - 0x128]
xor eax, eax
or ecx, dword [ebp - 0x108]
cmp dword [ebp - 0x114], eax
mov dword [ebp - 0x88], 0x590368
cmove ecx, eax
mov dword [ebp - 0x84], ebx
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x78], 6
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
je 0x4cf349
test eax, eax
je 0x4cf32e
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebx + 0x54b8]
jne 0x4cf32e
push esi
mov esi, dword [ebp - 0xe4]
push esi
mov dword [ebp - 0x12c], 1
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x4cf911
add edi, 4
add ecx, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0xa0], ecx
jmp 0x4cf127
mov edi, dword [ebp - 0x11c]
jmp 0x4cf12d
push esi
mov esi, dword [ebp - 0xe4]
xor eax, eax
push esi
mov dword [ebp - 0x12c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x4cf911
mov eax, dword [ebx + 0x54b8]
add eax, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xf0]
je 0x4cf362
or eax, 0x1000
push eax
push dword [ebp - 0x108]
lea eax, [ebp - 0xa0]
push dword [ebp - 0x128]
push dword [ebp - 0x104]
push ebx
push eax
push edi
push dword [ebp - 0xe4]
call fcn.004cb270
add esp, 0x20
test eax, eax
je 0x4cf3b0
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebx + 0x54b8]
mov eax, 1
mov edi, dword [ebp - 0x12c]
cmove edi, eax
mov dword [ebp - 0x12c], edi
push esi
mov esi, dword [ebp - 0xe4]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x4cf911
test dword [ebx + 0x53ac], 0x400
je 0x4cf512
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x4cf512
cmp dword [eax + 0x50], 0
je 0x4cf512
mov eax, dword [ebx + 0x54b8]
mov edx, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4cf405
or edx, 0x1000
mov ecx, dword [ebp - 0x128]
xor eax, eax
or ecx, dword [ebp - 0x108]
cmp dword [ebp - 0x114], eax
mov esi, dword [ebp - 0xe4]
cmove ecx, eax
mov dword [ebp - 0x90], esi
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [0x5904b0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x88], 0x590368
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], 6
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
je 0x4cf518
test eax, eax
je 0x4cf505
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebx + 0x54b8]
jne 0x4cf505
mov dword [ebp - 0x12c], 1
jmp 0x4cf911
xor eax, eax
mov dword [ebp - 0x12c], eax
jmp 0x4cf911
mov esi, dword [ebp - 0xe4]
mov eax, dword [ebx + 0x54b8]
add eax, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xf0]
je 0x4cf531
or eax, 0x1000
push eax
push dword [ebp - 0x108]
lea eax, [ebp - 0xa0]
push dword [ebp - 0x128]
push dword [ebp - 0x104]
push ebx
push eax
push edi
push esi
call fcn.004cb270
add esp, 0x20
test eax, eax
je 0x4cf90b
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebx + 0x54b8]
jne 0x4cf90b
mov dword [ebp - 0x12c], 1
jmp 0x4cf911
mov eax, dword [ebp - 0xec]
mov edi, dword [ebp - 0xe8]
push 0
push dword [ebp - 0x104]
push edi
push dword [eax + 8]
push ebx
call fcn.004a5d60
mov esi, eax
add esp, 0x14
mov al, byte [esi]
test al, al
je 0x4cf647
nop dword [eax]
mov edi, esi
cmp al, 0x11
jae 0x4cf641
cmp al, 9
jb 0x4cf5c2
cmp al, 0xd
jbe 0x4cf641
movsx eax, al
inc esi
dec eax
cmp eax, 0xe
ja case.0x4cf5d3.8
movzx eax, byte [eax + 0x4d04c4]
jmp dword [eax*4 + 0x4d04a8]
lea esi, [edi + 2]
jmp case.0x4cf5d3.8
lea esi, [edi + 0x11]
jmp case.0x4cf5d3.8
xor ecx, ecx
cmp byte [esi], 0x20
jle 0x4cf5f2
inc ecx
inc esi
cmp ecx, 8
jl 0x4cf5e6
mov eax, esi
push ecx
sub eax, ecx
push eax
call fcn.004a28e0
add esp, 8
test eax, 0x8000
je 0x4cf611
or dword [ebx + 0x55d4], 0x8000
cmp byte [esi], 3
jne case.0x4cf5d3.8
inc esi
jmp case.0x4cf5d3.8
push 6
push esi
call fcn.004a28e0
mov dword [ebp - 0x110], eax
jmp 0x4cf631
push 6
push esi
call fcn.004a28e0
add esp, 8
lea esi, [edi + 7]
mov al, byte [esi]
test al, al
jne 0x4cf5b0
mov edi, dword [ebp - 0xe8]
test dword [ebx + 0x53ac], 0x400
je 0x4cf7a8
test edi, edi
je 0x4cf7a8
cmp dword [edi + 0x50], 0
je 0x4cf7a8
mov eax, dword [ebx + 0x54b8]
add eax, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xf0]
je 0x4cf682
or eax, 0x1000
mov edi, dword [ebp - 0x128]
xor ecx, ecx
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x108]
or edi, eax
cmp dword [ebp - 0x114], ecx
cmove edi, ecx
test dword [ebx + 0x55d4], 0x100000
je 0x4cf6b5
mov ebx, dword [ebx + 0x576c]
jmp 0x4cf6c7
test eax, eax
je 0x4cf6c1
mov ebx, dword [ebx + 0x6920]
jmp 0x4cf6c7
mov ebx, dword [ebx + 0x54c0]
test esi, esi
mov eax, 0x4eaad8
cmovne eax, esi
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x88], 0x590368
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], 6
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], edi
push eax
mov eax, dword [ecx + 0x50]
call eax
add esp, 8
cmp eax, 0xfff0bdc1
jne 0x4cf90b
cmp byte [esi], 0
je 0x4cf90b
push esi
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov ebx, eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc8]
push eax
call dword [ebp - 0x154]
mov ecx, dword [ebp - 0xe0]
test byte [ecx + 0x53ac], 0x10
je 0x4cf7fc
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
dec dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0xa0]
mov dword [ebp - 0x140], eax
cmp eax, 0x10
jl 0x4cf90b
cmp ebx, 0xff
jle 0x4cf868
mov ecx, dword [ecx + 0x5354]
test ecx, ecx
jne 0x4cf82d
xor edi, edi
jmp 0x4cf835
movzx eax, bl
cdq
idiv ecx
mov edi, edx
mov ebx, dword [ebp - 0xe0]
test dword [ebx + 0x55d4], 0x100000
je 0x4cf84f
mov esi, dword [ebx + 0x576c]
jmp 0x4cf87c
cmp dword [ebp - 0x108], 0
je 0x4cf860
mov esi, dword [ebx + 0x6920]
jmp 0x4cf87c
mov esi, dword [ebx + 0x54c0]
jmp 0x4cf87c
mov esi, dword [0x5904b0]
xor edi, edi
cmp ebx, 0x26
cmovl edi, ebx
mov ebx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x9c]
sub eax, 0x10
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x9c]
push 1
push eax
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0xa0]
push eax
push dword [ebp - 0xe4]
push edi
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
jmp 0x4cf911
push dword [ebp - 0x130]
mov esi, dword [ebp - 0xec]
mov edi, dword [ebp - 0xe8]
push 0x64
push 1
push dword [ebp - 0x104]
push edi
push dword [esi + 8]
push ebx
call fcn.004a5d60
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 0x18
push eax
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xe4]
push 0x590368
push ebx
call fcn.004cb020
add esp, 0x1c
jmp 0x4cf91d
mov ebx, dword [ebp - 0xe0]
mov edi, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xec]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebx + 0x54b8]
jne 0x4cfff8
mov eax, dword [ebp - 0x13c]
push 2
push 0
push 0
push dword [eax + ebx + 0x218]
push 0xffffffffffffffff
push edi
push dword [esi + 8]
push ebx
call fcn.004a5250
mov esi, eax
add esp, 0x20
test esi, esi
je 0x4d0033
mov al, byte [esi]
test al, al
je 0x4d0033
mov ecx, dword [ebx + 0x55d4]
test ecx, 0x100000
je 0x4cf987
mov edx, dword [ebx + 0x576c]
jmp 0x4cf99e
cmp dword [ebp - 0x108], 0
je 0x4cf998
mov edx, dword [ebx + 0x6920]
jmp 0x4cf99e
mov edx, dword [ebx + 0x54c0]
shr ecx, 0xa
xor ebx, ebx
not ecx
mov dword [ebp - 0xf4], edx
xorps xmm0, xmm0
mov dword [ebp - 0x2c], edx
and ecx, 1
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x13c], ebx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0xf8], ecx
mov edi, esi
cmp al, 0x11
jae 0x4cfafd
cmp al, 9
jb 0x4cf9eb
cmp al, 0xd
jbe 0x4cfafd
movsx eax, al
inc esi
dec eax
cmp eax, 0xe
ja case.0x4cfa00.8
movzx eax, byte [eax + 0x4d04f0]
jmp dword [eax*4 + 0x4d04d4]
movsx eax, byte [esi]
lea esi, [edi + 2]
mov ecx, dword [ebp - 0xe0]
dec eax
mov dword [ecx + 0x55cc], eax
mov ecx, 1
mov dword [ebp - 0xf8], ecx
jmp 0x4cfaeb
push 0x10
push esi
mov dword [ebp - 0x11c], 1
call fcn.004a2950
mov ecx, dword [ebp - 0x2c]
lea esi, [edi + 0x11]
add esp, 8
mov edx, eax
test ebx, ebx
mov dword [ebp - 0xf4], edx
cmove ecx, edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0xf8]
jmp 0x4cfaf1
cmp ebx, 0xa
jge 0x4cfa92
push 0x10
push esi
call fcn.004a2950
mov dword [ebp + ebx*4 - 0x2c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x12c]
add esp, 8
test eax, eax
mov dword [ebp + ebx*4 - 0x184], 0
cmovs eax, ecx
mov dword [ebp - 0x12c], eax
lea esi, [edi + 0x11]
jmp case.0x4cfa00.8
cmp ebx, 0xa
jge 0x4cfabb
cmp ebx, 9
jge 0x4cfaa9
mov eax, dword [ebp + ebx*4 - 0x2c]
mov dword [ebp + ebx*4 - 0x28], eax
movsx eax, byte [esi]
dec eax
mov dword [ebp + ebx*4 - 0x184], eax
inc ebx
mov dword [ebp - 0x13c], ebx
lea esi, [edi + 2]
jmp case.0x4cfa00.8
xor eax, eax
cmp byte [esi], 0x20
jle 0x4cface
inc eax
inc esi
cmp eax, 8
jl 0x4cfac2
cmp byte [esi], 3
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp - 0xf4]
jne 0x4cfaf1
inc esi
jmp 0x4cfaf1
lea esi, [edi + 7]
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp - 0xf4]
mov al, byte [esi]
test al, al
jne 0x4cf9d5
jmp 0x4cfb09
mov edx, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xe0]
cmp dword [edi + 0x57b4], 0
je 0x4cfcbc
mov eax, dword [edi + 0x55cc]
cmp eax, dword [edi + 0x5354]
jge 0x4cfcbc
mov edi, dword [edi + eax*4 + 0x57b8]
test edi, edi
jle 0x4cfcb6
mov ecx, dword [ebp - 0xe0]
test dword [ecx + 0x53ac], 0x400
je 0x4cfc7f
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x4cfc7f
cmp dword [eax + 0x50], 0
je 0x4cfc7f
mov eax, dword [ecx + 0x54b8]
mov edx, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4cfb85
or edx, 0x1000
mov ecx, dword [ebp - 0x128]
xor eax, eax
or ecx, dword [ebp - 0x108]
cmp dword [ebp - 0x114], eax
mov ebx, dword [ebp - 0xe8]
cmove ecx, eax
mov dword [ebp - 0x80], ebx
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x7c], ebx
mov ebx, dword [ebp - 0x104]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x120]
mov dword [ebp - 0x70], ebx
mov ebx, dword [ebp - 0x110]
mov dword [ebp - 0x6c], ebx
mov ebx, dword [ebp - 0x100]
mov dword [ebp - 0x68], ebx
mov ebx, dword [eax + 0x57b4]
mov eax, dword [eax + 0x55d4]
shr eax, 0x15
and eax, 2
mov dword [ebp - 0x88], 0x590368
or eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4cfe60
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ecx + 0x55d4]
shr eax, 0x15
and eax, 2
or eax, dword [ebp - 0x124]
push eax
push dword [ebp - 0x30]
mov eax, dword [ecx + 0x55cc]
push dword [ebp - 0x34]
push dword [ebp - 0xe4]
push dword [ecx + eax*4 + 0x57b8]
push dword [ecx + 0x57b4]
jmp 0x4cfe5a
mov edi, dword [ebp - 0xe0]
test edx, edx
je 0x4cfe60
test ecx, ecx
je 0x4cfe60
test dword [edi + 0x53ac], 0x400
je 0x4d0028
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x4d0028
cmp dword [eax + 0x50], 0
je 0x4d0028
mov eax, dword [edi + 0x54b8]
mov edi, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4cfd0e
or edi, 0x1000
mov ecx, dword [ebp - 0x128]
xor eax, eax
or ecx, dword [ebp - 0x108]
cmp dword [ebp - 0x114], eax
mov ebx, dword [ebp - 0xe0]
cmove ecx, eax
mov edx, dword [ebx + 0x55cc]
cmp dword [ebp - 0x11c], eax
jne 0x4cfd42
mov eax, edx
cdq
idiv dword [ebx + 0x5354]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x84], ebx
mov ebx, dword [ebp - 0xf4]
mov dword [ebp - 0x88], 0x590368
mov eax, dword [eax + 0x55d4]
shr eax, 0x15
and eax, 2
mov dword [ebp - 0x78], 2
or eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4cfe60
mov edi, dword [ebp - 0xe0]
cmp dword [ebp - 0x11c], 0
mov edx, dword [edi + 0x55cc]
jne 0x4cfe39
mov eax, edx
cdq
idiv dword [edi + 0x5354]
mov eax, dword [edi + 0x55d4]
shr eax, 0x15
and eax, 2
or eax, dword [ebp - 0x124]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0xe4]
push edx
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov ebx, dword [ebp - 0x13c]
xor edi, edi
test ebx, ebx
jle 0x4cfff2
mov eax, dword [ebp - 0xe0]
test dword [eax + 0x53ac], 0x400
je 0x4cffb9
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4cffb9
cmp dword [ecx + 0x50], 0
je 0x4cffb9
mov eax, dword [eax + 0x54b8]
mov edx, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4cfeb8
or edx, 0x1000
mov ecx, dword [ebp - 0x128]
xor eax, eax
or ecx, dword [ebp - 0x108]
cmp dword [ebp - 0x114], eax
mov dword [ebp - 0x88], 0x590368
cmove ecx, eax
mov dword [ebp - 0x78], 2
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + edi*4 - 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + edi*4 - 0x184]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], esi
mov eax, dword [eax + 0x55d4]
shr eax, 0x15
and eax, 2
mov dword [ebp - 0x3c], edx
or eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4cffe9
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 0x55d4]
shr eax, 0x15
and eax, 2
or eax, dword [ebp - 0x124]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0xe4]
push dword [ebp + edi*4 - 0x184]
push dword [ebp + edi*4 - 0x2c]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
inc edi
cmp edi, ebx
jl 0x4cfe70
mov ebx, dword [ebp - 0xe0]
mov edi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp eax, dword [ebp - 0x144]
jge 0x4d03fc
mov esi, dword [ebp - 0xe8]
mov edx, dword [ebp - 0x15c]
jmp 0x4cdc90
mov ebx, dword [ebp - 0xf4]
jmp 0x4cfe21
mov ebx, dword [ebx + 0x57b4]
test ebx, ebx
je 0x4d01e6
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ecx + 0x55cc]
cmp eax, dword [ecx + 0x5354]
jge 0x4d01e6
mov edi, dword [ecx + eax*4 + 0x57b8]
test edi, edi
jle 0x4d01e0
test dword [ecx + 0x53ac], 0x400
je 0x4d01a0
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x4d01a0
cmp dword [eax + 0x50], 0
je 0x4d01a0
mov eax, dword [ecx + 0x54b8]
mov edx, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4d00aa
or edx, 0x1000
mov ecx, dword [ebp - 0x128]
xor eax, eax
or ecx, dword [ebp - 0x108]
cmp dword [ebp - 0x114], eax
mov dword [ebp - 0x64], ebx
cmove ecx, eax
mov ebx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x55d4]
shr eax, 0x15
and eax, 2
mov dword [ebp - 0x88], 0x590368
or eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4cfff8
jmp 0x4d01a2
mov ebx, ecx
mov eax, dword [ebx + 0x55d4]
mov edi, dword [ebp - 0xe4]
shr eax, 0x15
and eax, 2
or eax, dword [ebp - 0x124]
push eax
push dword [ebp - 0x30]
mov eax, dword [ebx + 0x55cc]
push dword [ebp - 0x34]
push edi
push dword [ebx + eax*4 + 0x57b8]
push dword [ebx + 0x57b4]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
jmp 0x4cfffe
mov edi, dword [ebp - 0xe8]
mov ebx, dword [ebp - 0xe0]
cmp dword [ebx + 0x5354], 0
jle 0x4cfff8
mov edx, dword [ebx + 0x55cc]
test edx, edx
js 0x4cfff8
mov ebx, dword [ebx + 0x55d4]
test ebx, 0x400
jne 0x4cfff2
mov eax, dword [ebp - 0xe0]
test dword [eax + 0x53ac], 0x400
je 0x4d038c
test edi, edi
je 0x4d038c
cmp dword [edi + 0x50], 0
je 0x4d038c
mov eax, dword [eax + 0x54b8]
mov edi, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
je 0x4d025b
or edi, 0x1000
mov ecx, dword [ebp - 0x128]
xor edx, edx
mov eax, dword [ebp - 0x108]
or ecx, eax
cmp dword [ebp - 0x114], edx
cmove ecx, edx
mov dword [ebp - 0x140], ecx
test ebx, 0x100000
je 0x4d0290
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 0x576c]
jmp 0x4d02a8
test eax, eax
mov eax, dword [ebp - 0xe0]
je 0x4d02a2
mov eax, dword [eax + 0x6920]
jmp 0x4d02a8
mov eax, dword [eax + 0x54c0]
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], edx
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x6c], edx
mov eax, dword [ecx + 0x55cc]
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x68], edx
cdq
idiv dword [ecx + 0x5354]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x90]
shr ebx, 0x15
push eax
mov eax, dword [ebp - 0xe8]
and ebx, 2
or ebx, dword [ebp - 0x124]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x88], 0x590368
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
mov eax, dword [eax + 0x50]
call eax
add esp, 4
cmp eax, 0xfff0bdc1
jne 0x4cfff2
mov ebx, dword [ebp - 0xe0]
mov eax, dword [ebx + 0x55d4]
test eax, 0x100000
je 0x4d03a7
mov ecx, dword [ebx + 0x576c]
jmp 0x4d03be
cmp dword [ebp - 0x108], 0
je 0x4d03b8
mov ecx, dword [ebx + 0x6920]
jmp 0x4d03be
mov ecx, dword [ebx + 0x54c0]
shr eax, 0x15
and eax, 2
mov edi, dword [ebp - 0xe4]
or eax, dword [ebp - 0x124]
push eax
mov eax, dword [ebx + 0x55cc]
cdq
idiv dword [ebx + 0x5354]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push edi
push edx
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
jmp 0x4cfffe
mov ebx, dword [ebp - 0xe0]
xor esi, esi
jmp 0x4d0401
mov esi, 1
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0x98]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4d0421
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
jne 0x4d0439
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x55cc]
mov eax, dword [ebp - 0x12c]
sar ecx, 0x1f
and ecx, 0xfffffff0
neg eax
pop edi
sbb eax, eax
and eax, 0x10
add ecx, eax
mov eax, dword [ebp - 0x158]
pop esi
pop ebx
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
add eax, 0x10
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret