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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x488e40]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x2c], 0
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
je 0x420596
mov eax, dword [esi + 0x54]
cmp dword [eax + 0xa0], 0
mov dword [esp + 0x5c], 0
je 0x41fa19
mov eax, dword [eax + 0xa0]
mov ecx, dword [ebx + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x5c], eax
mov edx, dword [ebx + 0x18]
push 0
push edx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov edi, dword [ebx + 0x2c]
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 0x80]
push 5
mov dword [esp + 0x10], edi
mov dword [esp + 0x48], ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [ebx + 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebx + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebx + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
jmp 0x41fa86
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x20]
push 0
push eax
push 0x101d
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
jne 0x41fabb
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
jmp 0x41faef
mov ecx, dword [esp + 0x2c]
cmp ecx, 1
jle 0x41fae6
cmp dword [esp + 0x44], 0
jne 0x4204b7
mov eax, dword [esp + 0x28]
lea edx, [eax + 5]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
lea eax, [edx + eax - 5]
mov dword [esp + 0x1c], eax
cmp ecx, 0x14
ja case.default.0x41faf3
mov ecx, dword [esp + 0x2c]
jmp dword [ecx*4 + 0x4205b0]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0x4727f1
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 0x18]
push 2
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
cmp byte [esi + 0x60], 0
je 0x41fb37
test byte [ebx + 0x10], 1
mov eax, 4
jne 0x41fb3c
mov eax, 1
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
sub eax, ecx
sub eax, 0xf
cdq
sub eax, edx
mov edx, dword [ebx + 0x18]
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x18]
push eax
add ecx, 3
push ecx
push edx
mov ecx, edi
call fcn.0041dd70
push eax
mov eax, dword [0x48d6fc]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
jmp case.default.0x41faf3
test byte [ebx + 0x10], 1
je 0x41fbbc
xor ecx, ecx
cmp byte [esi + 0x60], cl
sete cl
lea ecx, [ecx + ecx + 0xd]
push ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [ebx + 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
xor eax, eax
cmp byte [esi + 0x60], al
sete al
lea eax, [eax*4 + 0xe]
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebx + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x24]
push 0
push 0
push 0x4727f1
lea ecx, [esp + 0x20]
push ecx
push 2
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x18]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
lea ecx, [eax + 5]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x54]
lea eax, [edx + eax - 5]
mov dword [esp + 0x1c], eax
cmp byte [ecx + 0x98], 0
je 0x41fc19
mov edx, dword [edi + 0x20]
mov eax, dword [edx + 0x88]
jmp 0x41fc22
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x41fc2b
cmp byte [eax], 0
jne 0x41fc30
mov eax, str._empty_string_
mov ecx, dword [ebx + 0x18]
push 0
push ecx
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041b120
jmp case.default.0x41faf3
mov esi, dword [esi + 0x54]
mov eax, dword [esi + 0x124]
lea ecx, [esi + 0x124]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x48]
push edx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov eax, dword [0x48d794]
cmp eax, 1
jne 0x41fc97
movsx eax, byte [0x48d79e]
movzx ecx, word [esp + 0x48]
movzx edx, word [esp + 0x4a]
push ecx
push eax
push edx
push eax
movzx eax, word [esp + 0x5e]
jmp 0x41fcd1
cmp eax, 2
movsx eax, byte [0x48d79e]
jne 0x41fcbe
movzx ecx, word [esp + 0x4e]
movzx edx, word [esp + 0x4a]
push ecx
push eax
push edx
push eax
movzx eax, word [esp + 0x58]
push eax
push str._04u_c_02u_c_02u
jmp 0x41fcd7
movzx ecx, word [esp + 0x48]
movzx edx, word [esp + 0x4e]
push ecx
push eax
push edx
push eax
movzx eax, word [esp + 0x5a]
push eax
push str._02u_c_02u_c_04u
mov esi, 0x40
lea edi, [esp + 0x78]
call fcn.00416ab0
add esp, 0x18
cmp byte [0x48d79c], 0
mov edi, eax
je 0x41fd51
mov cx, word [esp + 0x50]
cmp cx, 0xa
jb 0x41fd05
mov eax, 0x4727f1
jmp 0x41fd18
cmp byte [0x48d79d], 0
mov eax, 0x47c530
jne 0x41fd18
mov eax, 0x474d04
movzx edx, word [esp + 0x52]
push edx
movsx edx, byte [0x48d79f]
push edx
movzx ecx, cx
push ecx
push eax
mov esi, 0x40
sub esi, edi
push str.__s_u_c_02u
lea edi, [esp + edi + 0x74]
call fcn.00416ab0
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x18]
add esp, 0x14
push eax
push ecx
jmp 0x42044b
mov ax, word [esp + 0x50]
cmp ax, 0xc
movzx eax, ax
cdq
setae cl
mov esi, 0xc
idiv esi
test edx, edx
je 0x41fd7e
cmp dx, 0xa
mov word [esp + 0x50], dx
jb 0x41fd8d
mov eax, 0x4727f1
jmp 0x41fda0
mov dx, si
mov word [esp + 0x50], dx
mov eax, 0x4727f1
jmp 0x41fda0
cmp byte [0x48d79d], 0
mov eax, 0x47c530
jne 0x41fda0
mov eax, 0x474d04
neg cl
movzx edx, dx
mov esi, 0x40
sbb ecx, ecx
and ecx, 0xf
add ecx, 0x61
push ecx
movzx ecx, word [esp + 0x56]
push ecx
movsx ecx, byte [0x48d79f]
push ecx
push edx
push eax
sub esi, edi
push str.__s_u_c_02u_c
lea edi, [esp + edi + 0x78]
call fcn.00416ab0
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0x18]
add esp, 0x18
push eax
push ecx
jmp 0x42044b
mov esi, dword [esi + 0x54]
mov eax, dword [esi + 0x124]
lea ecx, [esi + 0x124]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x34]
push edx
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov eax, dword [0x48d794]
cmp eax, 1
jne 0x41fe35
movsx eax, byte [0x48d79e]
movzx ecx, word [esp + 0x34]
movzx edx, word [esp + 0x36]
push ecx
push eax
push edx
push eax
movzx eax, word [esp + 0x4a]
jmp 0x41fe6f
cmp eax, 2
movsx eax, byte [0x48d79e]
jne 0x41fe5c
movzx ecx, word [esp + 0x3a]
movzx edx, word [esp + 0x36]
push ecx
push eax
push edx
push eax
movzx eax, word [esp + 0x44]
push eax
push str._04u_c_02u_c_02u
jmp 0x41fe75
movzx ecx, word [esp + 0x34]
movzx edx, word [esp + 0x3a]
push ecx
push eax
push edx
push eax
movzx eax, word [esp + 0x46]
push eax
push str._02u_c_02u_c_04u
mov esi, 0x40
lea edi, [esp + 0x78]
call fcn.00416ab0
add esp, 0x18
cmp byte [0x48d79c], 0
mov edi, eax
je 0x41feef
mov cx, word [esp + 0x3c]
cmp cx, 0xa
jb 0x41fea3
mov eax, 0x4727f1
jmp 0x41feb6
cmp byte [0x48d79d], 0
mov eax, 0x47c530
jne 0x41feb6
mov eax, 0x474d04
movzx edx, word [esp + 0x3e]
push edx
movsx edx, byte [0x48d79f]
push edx
movzx ecx, cx
push ecx
push eax
mov esi, 0x40
sub esi, edi
push str.__s_u_c_02u
lea edi, [esp + edi + 0x74]
call fcn.00416ab0
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x18]
add esp, 0x14
push eax
push ecx
jmp 0x42044b
mov ax, word [esp + 0x3c]
cmp ax, 0xc
movzx eax, ax
cdq
setae cl
mov esi, 0xc
idiv esi
test edx, edx
je 0x41ff1c
cmp dx, 0xa
mov word [esp + 0x3c], dx
jb 0x41ff2b
mov eax, 0x4727f1
jmp 0x41ff3e
mov dx, si
mov word [esp + 0x3c], dx
mov eax, 0x4727f1
jmp 0x41ff3e
cmp byte [0x48d79d], 0
mov eax, 0x47c530
jne 0x41ff3e
mov eax, 0x474d04
neg cl
movzx edx, dx
mov esi, 0x40
sbb ecx, ecx
and ecx, 0xf
add ecx, 0x61
push ecx
movzx ecx, word [esp + 0x42]
push ecx
movsx ecx, byte [0x48d79f]
push ecx
push edx
push eax
sub esi, edi
push str.__s_u_c_02u_c
lea edi, [esp + edi + 0x78]
call fcn.00416ab0
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0x18]
add esp, 0x18
push eax
push ecx
jmp 0x42044b
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x24]
push 0x40
lea eax, [esp + 0x64]
call fcn.00416730
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x188]
mov esi, dword [ebx + 0x18]
add esp, 4
push 0
sub edx, 0xa
push edx
push eax
lea edi, [esp + 0x20]
call fcn.0041b160
jmp 0x420458
push 0
push 0x40
lea ecx, [esp + 0x68]
mov eax, edi
call fcn.00425fd0
mov ecx, dword [ebx + 0x18]
push ecx
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041b120
jmp case.default.0x41faf3
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x34]
push ecx
push str.0x_08X
mov esi, 0x40
lea edi, [esp + 0x68]
call fcn.00416ab0
add esp, 8
test byte [ebx + 0x10], 1
jne 0x42008a
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x20]
cmp dword [edx + 0x34], 0
je 0x42008a
mov eax, edx
mov ecx, dword [eax + 0x34]
cmp ecx, dword [eax + 0x38]
je 0x42008a
mov edx, dword [ebx + 0x18]
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xff
push edx
call edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x54]
push ecx
lea eax, [esp + 0x64]
call fcn.00411cc0
mov edx, dword [ebx + 0x18]
push eax
push edx
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x68]
call fcn.0041b120
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x18]
push eax
push ecx
call edi
jmp 0x420458
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x38]
push ecx
push str.0x_08X
mov esi, 0x40
lea edi, [esp + 0x68]
call fcn.00416ab0
add esp, 8
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x54]
push eax
lea eax, [esp + 0x64]
call fcn.00411cc0
mov ecx, dword [ebx + 0x18]
push eax
push ecx
jmp 0x42044b
test byte [ebx + 0x10], 1
jne 0x420104
mov edx, dword [esi + 0x54]
mov eax, dword [edx + 0x68]
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx + 0x2c]
cmp edx, dword [eax + 0x3c]
je 0x420104
mov eax, dword [ebx + 0x18]
push 0xff
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x10], eax
push 0
mov ecx, 0x40
lea eax, [esp + 0x64]
mov edx, edi
call fcn.004260a0
mov ecx, dword [ebx + 0x18]
push ecx
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041b120
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x18]
push edx
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp case.default.0x41faf3
push 0
mov ecx, 0x40
lea eax, [esp + 0x64]
mov edx, edi
call fcn.004260a0
mov ecx, dword [ebx + 0x18]
push ecx
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041b120
jmp case.default.0x41faf3
push 0
mov ecx, 0x40
lea edx, [esp + 0x64]
mov eax, edi
call fcn.004263b0
mov edx, dword [ebx + 0x18]
push edx
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041b120
jmp case.default.0x41faf3
push 0
push edi
mov eax, 0x40
lea esi, [esp + 0x68]
call fcn.004264d0
mov ecx, dword [ebx + 0x18]
push ecx
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041b120
jmp case.default.0x41faf3
mov edx, dword [esi + 0x54]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx + 0x40]
mov esi, dword [ecx + 0x44]
mov edx, eax
and edx, esi
cmp edx, 0xffffffff
jne 0x4201be
lea eax, [esp + 0x60]
mov esi, str.Unknown
mov ecx, eax
mov edx, 0x3f
sub esi, ecx
mov cl, byte [esi + eax]
test cl, cl
je 0x4201b9
mov byte [eax], cl
sub edx, 1
add eax, 1
test edx, edx
jg 0x4201a6
mov byte [eax], 0
jmp 0x4201f8
test dword [ecx + 8], 0x2000
push esi
push eax
je 0x4201d0
push str.0x_016I64X
jmp 0x4201e3
test byte [esp + 0x18], 2
je 0x4201de
push str.0x_________08I64X
jmp 0x4201e3
push str.0x_08I64X
mov esi, 0x40
lea edi, [esp + 0x6c]
call fcn.00416ab0
mov edi, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x54]
push eax
lea eax, [esp + 0x64]
call fcn.00411cc0
mov ecx, dword [ebx + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x68]
call fcn.0041b120
jmp case.default.0x41faf3
mov edx, dword [esi + 0x54]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 0x34]
mov eax, dword [edi + 0x20]
mov esi, dword [eax + 0x4c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 8]
test eax, 0x800
je 0x420278
and ecx, esi
cmp ecx, 0xffffffff
je 0x420281
lea eax, [esp + 0x60]
mov esi, str.Data_file
mov ecx, eax
mov edx, 0x3f
sub esi, ecx
lea esp, [esp]
mov cl, byte [esi + eax]
test cl, cl
je 0x420273
mov byte [eax], cl
sub edx, 1
add eax, 1
test edx, edx
jg 0x420260
mov byte [eax], 0
jmp 0x4202e3
mov edx, ecx
and edx, esi
cmp edx, 0xffffffff
jne 0x4202ab
lea eax, [esp + 0x60]
mov esi, str.Unknown
mov ecx, eax
mov edx, 0x3f
sub esi, ecx
mov cl, byte [esi + eax]
test cl, cl
je 0x4202a6
mov byte [eax], cl
sub edx, 1
add eax, 1
test edx, edx
jg 0x420293
mov byte [eax], 0
jmp 0x4202e3
test eax, 0x2000
push esi
push ecx
je 0x4202bb
push str.0x_016I64X
jmp 0x4202ce
test byte [esp + 0x18], 2
je 0x4202c9
push str.0x_________08I64X
jmp 0x4202ce
push str.0x_08I64X
mov esi, 0x40
lea edi, [esp + 0x6c]
call fcn.00416ab0
mov edi, dword [esp + 0x18]
add esp, 0xc
test byte [ebx + 0x10], 1
jne 0x4201f8
mov eax, dword [edi + 0x20]
mov edx, dword [eax + 8]
or edx, dword [edi + 0x10]
test edx, 0x800
jne 0x4201f8
mov ecx, dword [eax + 0x48]
and ecx, dword [eax + 0x4c]
cmp ecx, 0xffffffff
je 0x4201f8
mov edx, dword [eax + 0x40]
cmp edx, dword [eax + 0x48]
jne 0x420325
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x4c]
je 0x4201f8
mov edx, dword [ebx + 0x18]
push 0xff
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x54]
push ecx
lea eax, [esp + 0x64]
call fcn.00411cc0
mov edx, dword [ebx + 0x18]
push eax
push edx
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x68]
call fcn.0041b120
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp case.default.0x41faf3
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x50]
jmp 0x420073
mov eax, dword [esp + 0xc]
push 0
mov edx, 0x40
lea edi, [esp + 0x64]
call fcn.00426640
mov edx, dword [ebx + 0x18]
push edx
mov esi, eax
jmp 0x42044f
mov ecx, dword [edi + 0x20]
push 0x40
lea eax, [esp + 0x64]
push eax
mov eax, dword [ecx + 0x68]
mov ecx, dword [ecx + 0x64]
mov edx, edi
call fcn.00426690
jmp 0x41fc30
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx + 0x70]
mov ecx, dword [ecx + 0x6c]
push 0x40
lea edx, [esp + 0x64]
push edx
mov edx, edi
call fcn.00426690
jmp 0x41fc30
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x20]
mov eax, dword [eax + 0x54]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._u._u
mov esi, 0x40
lea edi, [esp + 0x6c]
call fcn.00416ab0
mov edx, dword [ebx + 0x18]
add esp, 0xc
push 0
push edx
jmp 0x42044b
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx + 0x58]
jmp 0x420427
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx + 0x5c]
jmp 0x4203df
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx + 0x60]
movzx edx, ax
push edx
shr eax, 0x10
push eax
push str._u._u
mov esi, 0x40
lea edi, [esp + 0x6c]
call fcn.00416ab0
mov eax, dword [ebx + 0x18]
add esp, 0xc
push 0
push eax
lea esi, [esp + 0x68]
lea ecx, [esp + 0x1c]
call fcn.0041b120
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push 0
lea esi, [ecx + edx - 1]
mov ecx, dword [ebx + 0x18]
push eax
push esi
push ecx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x18]
push edx
push esi
push eax
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
add eax, 1
add ecx, edx
cmp eax, 0x15
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jl 0x41fa82
cmp dword [esp + 0x44], 0
je 0x42054a
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0x24]
add eax, 5
sub ecx, 5
test byte [ebx + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jne 0x4204e1
mov edx, dword [ebx + 0x18]
push 0xff
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x44]
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4204f0
mov ecx, dword [esp + 0x18]
push 0
sub eax, esi
push eax
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 0x18]
push 4
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x18]
push 0
push ecx
add edx, 4
push edx
push eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x18]
push ecx
add edx, 4
push edx
push eax
call dword [sym.imp.GDI32.dll_LineTo]
mov esi, dword [esp + 0x24]
cmp byte [esi + 0x60], 0
je 0x42057b
test byte [ebx + 0x10], 0x10
je 0x42057b
mov ecx, dword [ebx + 0x1c]
add ecx, dword [esp + 0x58]
mov edx, dword [ebx + 0x24]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x18]
push eax
push ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov edx, dword [esi + 0x54]
cmp dword [edx + 0xa0], 0
je 0x420596
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebx + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00454016
mov esp, ebp
pop ebp
ret 4