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

Disassembly:
sub esp, 0x64
mov eax, dword [0x470d10]
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 0x451d3c
je 0x451b0b
cmp ecx, 0xf
ja 0x451496
je 0x45203d
sub ecx, 5
je 0x451379
sub ecx, 2
jne case.0x451d66.278
mov eax, dword [esi + 8]
mov ecx, dword [0x471668]
cmp eax, ecx
jne 0x45132f
cmp dword [esi + 0x44], 1
jne 0x45132f
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.0045f421
add esp, 0x64
ret
cmp eax, dword [0x471674]
je case.0x451d66.278
cmp eax, dword [0x47168c]
je case.0x451d66.278
cmp eax, ecx
je case.0x451d66.278
cmp eax, dword [0x47166c]
je case.0x451d66.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.0045f421
add esp, 0x64
ret
mov eax, dword [esi + 8]
mov ecx, dword [0x471678]
cmp eax, dword [0x47169c]
je 0x451472
cmp eax, ecx
je 0x451476
cmp eax, dword [0x47165c]
je 0x451472
cmp eax, dword [0x471674]
jne 0x4513ce
push 0
push 0xffffffffffffffff
push esi
call fcn.00459170
add esp, 0xc
push 0x181
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp case.0x451d66.278
cmp eax, dword [0x471688]
jne case.0x451d66.278
cmp dword [esi + 0x10], 0
je case.0x451d66.278
mov eax, dword [0x471658]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
js case.0x451d66.278
mov eax, dword [0x471658]
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 0x451437
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.0044cf90
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.0x451d66.278
cmp eax, ecx
jne 0x451481
push 0
push esi
call fcn.00453560
add esp, 8
mov eax, dword [esi + 4]
push eax
push 0x45ba80
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp case.0x451d66.278
lea eax, [ecx - 0x20]
cmp eax, 0xe4
ja case.0x451d66.278
movzx eax, byte [eax + 0x4520e0]
jmp dword [eax*4 + 0x4520b8]
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 [0x471668]
jne 0x4514d4
cmp dword [edi + 8], 0x702
je 0x451542
cmp eax, dword [0x471684]
je 0x4518f4
cmp eax, dword [0x471678]
je 0x451857
cmp eax, dword [0x471674]
je 0x45175c
cmp eax, dword [0x471670]
je 0x4516f9
cmp eax, dword [0x47166c]
je 0x4515a3
cmp eax, dword [0x47169c]
jne 0x451a82
push 0xffffffffffffffeb
push dword [edi + 4]
push dword [esi + 4]
call ebp
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4514c0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0045f421
add esp, 0x64
ret
cmp word [edi + 0x14], 0
jne 0x451573
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.0045f421
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.0045f421
add esp, 0x64
ret
mov eax, dword [edi + 8]
cmp eax, 0xfffffe3d
ja 0x45165d
je 0x45161d
cmp eax, 0xfffffe34
je 0x451615
cmp eax, 0xfffffe36
jne 0x451a82
push dword [edi + 0x14]
push 0
push esi
call fcn.00458eb0
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.0045f421
add esp, 0x64
ret
push dword [edi + 0x10]
jmp 0x45182f
push dword [edi + 0x3c]
push 0
push 0x40f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0x10001
push 0x128
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.0045f421
add esp, 0x64
ret
cmp eax, 0xfffffffb
je 0x4516b2
cmp eax, 0xfffffffd
jne 0x451a82
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.00451250
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.0045f421
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.00451250
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.0045f421
add esp, 0x64
ret
mov eax, dword [edi + 8]
cmp eax, 0xfffffcda
je 0x451735
cmp eax, 0xfffffcdc
jne 0x451a82
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.0045f421
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.0045f421
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 0x4517c7
test byte [edi + 0x14], 2
je 0x4517c1
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 4]
call ebx
cmp eax, 0xffffffff
je 0x451e72
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.0045f421
add esp, 0x64
ret
test byte [edi + 0x1c], 1
jne 0x45182d
cmp eax, 0xffffff9a
je 0x45182d
cmp eax, 0xffffff99
je 0x45182d
cmp eax, 0xfffffffb
jne 0x451803
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.0045f421
add esp, 0x64
ret
cmp eax, 0xfffffffe
jne case.0x451d66.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.0045f421
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.0045f421
add esp, 0x64
ret
mov eax, dword [edi + 8]
cmp eax, 0xfffffdd9
jne 0x4518a7
push 1
push esi
call fcn.00453560
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.0045f421
add esp, 0x64
ret
cmp eax, 0xfffffffb
jne 0x451a82
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.00451250
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.0045f421
add esp, 0x64
ret
cmp dword [edi + 8], 0xfffffd16
jne 0x451e72
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.0045f421
add esp, 0x64
ret
mov eax, dword [esi + 8]
cmp eax, dword [0x471674]
jl 0x451967
mov ecx, dword [0x471678]
sar eax, cl
test eax, eax
jne 0x451967
test ebx, ebx
jne case.0x451d66.278
push 0
push 0
push 0x40b
jmp 0x451836
cmp ebx, 0xd
jne case.0x451d66.278
mov eax, dword [esi + 8]
cmp eax, dword [0x47168c]
jne case.0x451d66.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.0045f421
add esp, 0x64
ret
mov eax, dword [esi + 8]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, dword [0x47168c]
jne 0x4519f4
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 [0x47169c]
je 0x451a82
jmp case.0x451d66.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.0x451d66.278
mov eax, dword [esi + 8]
cmp eax, dword [0x471668]
jne 0x451a3e
cmp dword [esi + 0x44], 1
jne case.0x451d66.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.0045f421
add esp, 0x64
ret
mov eax, dword [edi + 0x18]
test al, al
jns 0x451a97
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.0045f421
add esp, 0x64
ret
test al, 0x40
je case.0x451d66.278
push 0
push 0
push 0x403
jmp 0x451a6f
cmp dword [esi + 0x90], 0
je 0x451ac5
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0045f421
add esp, 0x64
ret
mov eax, dword [esi + 8]
cmp eax, dword [0x47169c]
je 0x451e72
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.0045f421
add esp, 0x64
ret
push dword [esp + 0x8c]
push fcn.004526e0
push dword [esi + 4]
call sub.COMCTL32.dll_RemoveWindowSubclass
jmp case.0x451d66.278
mov ecx, dword [0x47169c]
mov edi, ebx
shr edi, 0x10
cmp dword [esi + 8], ecx
jne 0x451b3d
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 [0x47169c]
mov esi, eax
mov dword [esp + 0x10], eax
test esi, esi
je case.0x451d66.278
mov eax, dword [esi + 8]
cmp eax, dword [0x4716a0]
je 0x451cd3
cmp eax, dword [0x471690]
je 0x451cd3
cmp eax, dword [0x471698]
jl 0x451b70
cmp eax, ecx
jle 0x451cd3
cmp eax, dword [0x471688]
je 0x451cd3
mov ecx, dword [0x47168c]
cmp eax, ecx
je 0x451b8e
cmp eax, dword [0x471668]
jne 0x451baa
cmp edi, 0x300
je 0x451c9f
cmp eax, ecx
jne 0x451baa
cmp edi, 0x702
je 0x451c9f
cmp eax, dword [0x471670]
jne case.0x451d66.278
cmp edi, 1
jne 0x451e72
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 0x451e72
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 0x128
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.0045f421
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.0045f421
add esp, 0x64
ret
sub edi, 0
je 0x451d0d
sub edi, 1
je 0x451ce6
sub edi, 4
jne 0x451a82
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.0045f421
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.0045f421
add esp, 0x64
ret
cmp ecx, 0x2a3
ja 0x452031
je 0x452023
lea eax, [ecx - 0x114]
cmp eax, 0xf4
ja case.0x451d66.278
movzx eax, byte [eax + 0x4521ec]
jmp dword [eax*4 + 0x4521c8]
add ecx, 0xfffffdfe
mov eax, 0xaaaaaaab
mul ecx
push edi
shr edx, 1
push edx
push 0x416
jmp 0x451a6f
add ecx, 0xfffffdff
mov eax, 0xaaaaaaab
mul ecx
push edi
shr edx, 1
push edx
push 0x417
jmp 0x451a6f
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 [0x4716a0]
je 0x451df6
cmp eax, dword [0x471690]
je 0x451df6
cmp eax, dword [0x471698]
je 0x451df6
cmp eax, dword [0x471694]
je 0x451df6
cmp eax, dword [0x471688]
je 0x451df6
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 [0x471674]
jne case.0x451d66.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 0x451e72
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.0045f421
add esp, 0x64
ret
mov eax, dword [esi + 8]
cmp eax, dword [0x471674]
jne case.0x451d66.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 0x451a6f
push edi
push ebx
push ecx
push dword [esi + 4]
push fcn.0045c130
call dword [sym.imp.USER32.dll_CallWindowProcA]
jmp case.0x451d66.278
mov eax, dword [esi + 8]
cmp eax, dword [0x471668]
jne case.0x451d66.278
cmp bx, 5
jne case.0x451d66.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.0045f421
add esp, 0x64
ret
mov dword [edx], 1
cmp dword [0x47128c], 0
je 0x451f77
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.0045f421
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.0045f421
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 0x451fd6
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 0x451a84
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x451a84
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
mov esi, eax
test esi, esi
je 0x452008
push 0xffffffffffffffeb
push esi
call ebp
test eax, eax
je 0x451fff
cmp dword [eax + 8], 0
je 0x451fff
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x451a84
push esi
call edi
mov esi, eax
test esi, esi
jne 0x451fe5
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.0045f421
add esp, 0x64
ret
push 0
push 0
push 0x407
jmp 0x451a6f
cmp ecx, 0x318
jne case.0x451d66.278
mov dword [edx], 1
mov eax, dword [esi + 8]
cmp eax, dword [0x471678]
jne 0x452075
push esi
push dword [esp + 0x90]
push edi
push ebx
push ecx
push ebp
call fcn.0045eac0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0045f421
add esp, 0x64
ret
cmp dword [0x47128c], 0
je case.0x451d66.278
cmp eax, dword [0x47169c]
jne case.0x451d66.278
push esi
push dword [esp + 0x90]
push edi
push ebx
push ecx
push ebp
call fcn.0045de10
mov ecx, dword [esp + 0x88]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045f421
add esp, 0x64
ret