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

Disassembly:
sub esp, 0x64
mov eax, dword [0x41caf8]
xor eax, esp
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x70]
push esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], esi
push edi
mov edi, dword [esp + 0x88]
cmp ecx, 0x111
ja 0x40746c
je 0x40723b
cmp ecx, 0xf
ja 0x406bc6
je 0x40776d
sub ecx, 5
je 0x406aa9
sub ecx, 2
jne case.0x407496.278
mov eax, dword [esi + 8]
mov ecx, dword [0x41d238]
cmp eax, ecx
jne 0x406a5f
cmp dword [esi + 0x44], 1
jne 0x406a5f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_HideCaret]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
cmp eax, dword [0x41d244]
je case.0x407496.278
cmp eax, dword [0x41d25c]
je case.0x407496.278
cmp eax, ecx
je case.0x407496.278
cmp eax, dword [0x41d23c]
je case.0x407496.278
pop edi
pop esi
pop ebp
mov dword [edx], 0
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov eax, dword [esi + 8]
mov ecx, dword [0x41d248]
cmp eax, dword [0x41d26c]
je 0x406ba2
cmp eax, ecx
je 0x406ba6
cmp eax, dword [0x41d22c]
je 0x406ba2
cmp eax, dword [0x41d244]
jne 0x406afe
push 0
push 0xffffffffffffffff
push esi
call fcn.0040e870
add esp, 0xc
push 0x181
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp case.0x407496.278
cmp eax, dword [0x41d258]
jne case.0x407496.278
cmp dword [esi + 0x10], 0
je case.0x407496.278
mov eax, dword [0x41d228]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
js case.0x407496.278
mov eax, dword [0x41d228]
lea edx, [esp + 0x10]
push edx
push 1
push 0
mov ecx, dword [eax]
push dword [esi + 0x10]
push eax
mov eax, dword [ecx + 0x54]
call eax
test eax, eax
je 0x406b67
mov ecx, dword [esp + 0x14]
mov eax, edi
push 4
shr eax, 0x10
push eax
mov edx, dword [ecx]
movzx eax, di
push eax
push dword [esp + 0x1c]
mov eax, dword [edx + 0x20]
push ecx
call eax
push dword [esp + 0x10]
call fcn.004026c0
add esp, 4
mov dword [esi + 0x10], eax
push eax
push 0
push 0x172
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
jmp case.0x407496.278
cmp eax, ecx
jne 0x406bb1
push 0
push esi
call fcn.00408c90
add esp, 8
mov eax, dword [esi + 4]
push eax
push 0x411190
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp case.0x407496.278
lea eax, [ecx - 0x20]
cmp eax, 0xe4
ja case.0x407496.278
movzx eax, byte [eax + 0x407810]
jmp dword [eax*4 + 0x4077e8]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
nop
mov eax, dword [esi + 8]
cmp eax, dword [0x41d238]
jne 0x406c04
cmp dword [edi + 8], 0x702
je 0x406c72
cmp eax, dword [0x41d254]
je 0x407024
cmp eax, dword [0x41d248]
je 0x406f87
cmp eax, dword [0x41d244]
je 0x406e8c
cmp eax, dword [0x41d240]
je 0x406e29
cmp eax, dword [0x41d23c]
je 0x406cd3
cmp eax, dword [0x41d26c]
jne 0x4071b2
push 0xffffffffffffffeb
push dword [edi + 4]
push dword [esi + 4]
call ebp
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x406bf0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
cmp word [edi + 0x14], 0
jne 0x406ca3
push 0
push 0
push 0x40d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov eax, dword [edi + 0x10]
inc eax
push eax
mov eax, dword [edi + 0xc]
inc eax
push eax
push 0x40f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov eax, dword [edi + 8]
cmp eax, 0xfffffe3d
ja 0x406d8d
je 0x406d4d
cmp eax, 0xfffffe34
je 0x406d45
cmp eax, 0xfffffe36
jne 0x4071b2
push dword [edi + 0x14]
push 0
push esi
call fcn.0040e5b0
mov edi, eax
push dword [edi + 0x10]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
add esp, 0x10
push eax
push 1
push 0x40e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [edi + 0x10]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
push edi
call esi
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
push dword [edi + 0x10]
jmp 0x406f5f
push dword [edi + 0x3c]
push 0
push 0x40f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0x10001
push pe_nt_image_headers32
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
cmp eax, 0xfffffffb
je 0x406de2
cmp eax, 0xfffffffd
jne 0x4071b2
push 0
call dword [sym.imp.USER32.dll_GetMessagePos]
push eax
push 0x46
push 0x1111
push dword [esi + 4]
lea eax, [esp + 0x6c]
push eax
call fcn.00406980
add esp, 0x14
push eax
push 0x40a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
push 0
call dword [sym.imp.USER32.dll_GetMessagePos]
push eax
push 0x46
push 0x1111
push dword [esi + 4]
lea eax, [esp + 0x6c]
push eax
call fcn.00406980
add esp, 0x14
push eax
push 0x40b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov eax, dword [edi + 8]
cmp eax, 0xfffffcda
je 0x406e65
cmp eax, 0xfffffcdc
jne 0x4071b2
push 0
push 0
push 0x409
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
push 0
push 0
push 0x40e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x10001
push 0x127
push dword [esi + 4]
call ebx
mov eax, dword [edi + 8]
cmp eax, 0xffffff9b
jne 0x406ef7
test byte [edi + 0x14], 2
je 0x406ef1
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 4]
call ebx
cmp eax, 0xffffffff
je 0x4075a2
push 0
push eax
push 0x40f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
test byte [edi + 0x1c], 1
jne 0x406f5d
cmp eax, 0xffffff9a
je 0x406f5d
cmp eax, 0xffffff99
je 0x406f5d
cmp eax, 0xfffffffb
jne 0x406f33
mov eax, dword [edi + 0xc]
push 0
inc eax
push eax
push 0x40b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
cmp eax, 0xfffffffe
jne case.0x407496.278
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
push 0
push 0
push 0x40e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov eax, dword [edi + 8]
cmp eax, 0xfffffdd9
jne 0x406fd7
push 1
push esi
call fcn.00408c90
add esp, 8
push 0
push 0
push 0
push 0x130b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0x40f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
cmp eax, 0xfffffffb
jne 0x4071b2
push 0
call dword [sym.imp.USER32.dll_GetMessagePos]
push eax
push 6
push 0x130d
push dword [esi + 4]
lea eax, [esp + 0x6c]
push eax
call fcn.00406980
add esp, 0x14
push eax
push 0x40b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
cmp dword [edi + 8], 0xfffffd16
jne 0x4075a2
push 0xffffffffffffffeb
push dword [edi]
call ebx
push 0
mov esi, eax
push 0x10001
push 0x127
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x40f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov eax, dword [esi + 8]
cmp eax, dword [0x41d244]
jl 0x407097
mov ecx, dword [0x41d248]
sar eax, cl
test eax, eax
jne 0x407097
test ebx, ebx
jne case.0x407496.278
push 0
push 0
push 0x40b
jmp 0x406f66
cmp ebx, 0xd
jne case.0x407496.278
mov eax, dword [esi + 8]
cmp eax, dword [0x41d25c]
jne case.0x407496.278
push 0
push 0
push 0xb1
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push 0x40f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov eax, dword [esi + 8]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, dword [0x41d25c]
jne 0x407124
push 0
push 0x300
push 0x111
push dword [esi + 4]
call ebp
push edi
push ebx
push 0x100
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call ebp
mov eax, dword [esi + 8]
cmp eax, dword [0x41d26c]
je 0x4071b2
jmp case.0x407496.278
push edi
push ebx
push 0x104
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x407496.278
mov eax, dword [esi + 8]
cmp eax, dword [0x41d238]
jne 0x40716e
cmp dword [esi + 0x44], 1
jne case.0x407496.278
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov eax, dword [edi + 0x18]
test al, al
jns 0x4071c7
push 0
push 0
push 0x402
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
test al, 0x40
je case.0x407496.278
push 0
push 0
push 0x403
jmp 0x40719f
cmp dword [esi + 0x90], 0
je 0x4071f5
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov eax, dword [esi + 8]
cmp eax, dword [0x41d26c]
je 0x4075a2
push edi
push ebx
push ecx
push dword [esi + 4]
call sub.COMCTL32.dll_DefSubclassProc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
push dword [esp + 0x8c]
push fcn.00407e10
push dword [esi + 4]
call sub.COMCTL32.dll_RemoveWindowSubclass
jmp case.0x407496.278
mov ecx, dword [0x41d26c]
mov edi, ebx
shr edi, 0x10
cmp dword [esi + 8], ecx
jne 0x40726d
push 0xffffffffffffffeb
movzx eax, bx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [0x41d26c]
mov esi, eax
mov dword [esp + 0x10], eax
test esi, esi
je case.0x407496.278
mov eax, dword [esi + 8]
cmp eax, dword [0x41d270]
je 0x407403
cmp eax, dword [0x41d260]
je 0x407403
cmp eax, dword [0x41d268]
jl 0x4072a0
cmp eax, ecx
jle 0x407403
cmp eax, dword [0x41d258]
je 0x407403
mov ecx, dword [0x41d25c]
cmp eax, ecx
je 0x4072be
cmp eax, dword [0x41d238]
jne 0x4072da
cmp edi, 0x300
je 0x4073cf
cmp eax, ecx
jne 0x4072da
cmp edi, 0x702
je 0x4073cf
cmp eax, dword [0x41d240]
jne case.0x407496.278
cmp edi, 1
jne 0x4075a2
push 0
push 0
push 0x147
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x4075a2
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0
push edi
push 0x149
push dword [esi + 0x10]
call ebp
inc eax
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
add esp, 8
mov ebx, eax
push ebx
push edi
push 0x148
push dword [esi + 0x10]
call ebp
push ebx
push 0
push 0xc
push dword [esi + 4]
call ebp
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0x40e
push dword [esi + 4]
call edi
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x10]
push 0
push 0x10001
push pe_nt_image_headers32
push dword [eax + 4]
call ebp
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, dword [esp + 0x14]
add esp, 4
push dword [ebx + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push dword [esp + 0x1c]
push 0x40f
push dword [ebx + 4]
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
push 0
push 0
push 0x40e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
sub edi, 0
je 0x40743d
sub edi, 1
je 0x407416
sub edi, 4
jne 0x4071b2
push 0
push 0
push 0x40a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
push 0
push 0
push 0x409
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
cmp ecx, 0x2a3
ja 0x407761
je 0x407753
lea eax, [ecx - 0x114]
cmp eax, 0xf4
ja case.0x407496.278
movzx eax, byte [eax + 0x40791c]
jmp dword [eax*4 + 0x4078f8]
add ecx, 0xfffffdfe
mov eax, 0xaaaaaaab
mul ecx
push edi
shr edx, 1
push edx
push 0x416
jmp 0x40719f
add ecx, 0xfffffdff
mov eax, 0xaaaaaaab
mul ecx
push edi
shr edx, 1
push edx
push 0x417
jmp 0x40719f
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
push edi
push 0
push 0x417
push dword [esi + 4]
call ebx
mov eax, dword [esi + 8]
cmp eax, dword [0x41d270]
je 0x407526
cmp eax, dword [0x41d260]
je 0x407526
cmp eax, dword [0x41d268]
je 0x407526
cmp eax, dword [0x41d264]
je 0x407526
cmp eax, dword [0x41d258]
je 0x407526
mov eax, edi
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
push 0x409
push dword [esi + 4]
call ebx
mov eax, dword [esi + 8]
cmp eax, dword [0x41d244]
jne case.0x407496.278
movsx eax, di
mov dword [esp + 0x58], eax
shr edi, 0x10
movsx eax, di
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
push 0
push 0x1012
push dword [esi + 4]
mov dword [esp + 0x70], 0xe
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x4075a2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push ebx
push 0x1013
push dword [esi + 4]
call edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 3
push eax
push ebx
push 0x102b
push dword [esi + 4]
mov dword [esp + 0x38], 3
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov eax, dword [esi + 8]
cmp eax, dword [0x41d244]
jne case.0x407496.278
movsx eax, di
mov dword [esp + 0x58], eax
shr edi, 0x10
movsx eax, di
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
push 0
push 0x1012
push dword [esi + 4]
mov dword [esp + 0x70], 0xe
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
inc eax
push eax
push 0x40a
jmp 0x40719f
push edi
push ebx
push ecx
push dword [esi + 4]
push fcn.00411840
call dword [sym.imp.USER32.dll_CallWindowProcA]
jmp case.0x407496.278
mov eax, dword [esi + 8]
cmp eax, dword [0x41d238]
jne case.0x407496.278
cmp bx, 5
jne case.0x407496.278
push edi
and ebx, 0xffff0004
or ebx, 4
push ebx
push ecx
push ebp
call sub.COMCTL32.dll_DefSubclassProc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov dword [edx], 1
cmp dword [0x41ce24], 0
je 0x4076a7
push 2
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x181818
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x181818
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xffffffffffffffeb
push edi
call ebp
mov dword [esp + 0x14], eax
test eax, eax
je 0x407706
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x14]
push dword [eax + 0x54]
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x50]
test eax, eax
jne 0x4071b4
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x4071b4
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
mov esi, eax
test esi, esi
je 0x407738
push 0xffffffffffffffeb
push esi
call ebp
test eax, eax
je 0x40772f
cmp dword [eax + 8], 0
je 0x40772f
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x4071b4
push esi
call edi
mov esi, eax
test esi, esi
jne 0x407715
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
push 0
push 0
push 0x407
jmp 0x40719f
cmp ecx, 0x318
jne case.0x407496.278
mov dword [edx], 1
mov eax, dword [esi + 8]
cmp eax, dword [0x41d248]
jne 0x4077a5
push esi
push dword [esp + 0x90]
push edi
push ebx
push ecx
push ebp
call fcn.00414510
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret
cmp dword [0x41ce24], 0
je case.0x407496.278
cmp eax, dword [0x41d26c]
jne case.0x407496.278
push esi
push dword [esp + 0x90]
push edi
push ebx
push ecx
push ebp
call fcn.00413860
mov ecx, dword [esp + 0x88]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00414d65
add esp, 0x64
ret