Function at 0x404045
Capabilities:
Resume thread

Disassembly:
push 0x18
mov eax, 0x5e7d77
call fcn.005bd067
mov ebx, ecx
mov dword [ebp - 0x20], ebx
call fcn.00492ae0
and dword [ebp - 0x1c], 0
call fcn.004771d4
push eax
lea ecx, [ebp - 0x1c]
call fcn.004022fc
mov dword [ebp - 4], 1
push 0x1c
call fcn.004795fd
test eax, eax
je 0x40408a
push 0x1c
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040335b
mov edi, dword [ebp - 0x1c]
mov ecx, ebx
push edi
call fcn.004904de
push dword [ebx + 0x2d0]
push 1
push 0x80
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push 8
call fcn.00476eaa
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x4040e1
and dword [esi], 0
and dword [esi + 4], 0
and dword [esi + 4], 0
mov dword [esi], vtable.CGdiObject.0
mov byte [ebp - 4], 3
mov dword [esi], vtable.CFont.0
mov byte [ebp - 4], 2
jmp 0x4040e3
xor esi, esi
mov byte [ebp - 4], 1
mov ecx, esi
push 0
push str.Arial
push 0x64
call fcn.0049379f
test esi, esi
jne 0x4040ff
xor eax, eax
jmp 0x404102
mov eax, dword [esi + 4]
push 1
push eax
push 0x30
push dword [ebx + 0xf0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 8
call fcn.00476eaa
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x404149
and dword [esi], 0
and dword [esi + 4], 0
and dword [esi + 4], 0
mov dword [esi], vtable.CGdiObject.0
mov byte [ebp - 4], 5
mov dword [esi], vtable.CFont.0
mov byte [ebp - 4], 4
jmp 0x40414b
xor esi, esi
mov byte [ebp - 4], 1
mov ecx, esi
push 0
push str.Arial_Bold
push 0xa0
call fcn.0049379f
test esi, esi
jne 0x40416a
xor eax, eax
jmp 0x40416d
mov eax, dword [esi + 4]
push 1
push eax
push 0x30
push dword [ebx + 0x270]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push 0x63af80
call fcn.004030b4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
push 8
push str.6.1.35.0
call fcn.00404a5c
push dword [ebp - 0x18]
lea ecx, [ebx + 0x150]
call fcn.004904de
and dword [ebp - 0x14], 0
call fcn.004771d4
push eax
lea ecx, [ebp - 0x14]
call fcn.004022fc
mov byte [ebp - 4], 8
push 0x21
call fcn.004795fd
test eax, eax
je 0x4041dc
push 0x21
push eax
lea ecx, [ebp - 0x14]
call fcn.0040335b
mov esi, dword [ebp - 0x14]
lea ecx, [ebx + 0x1d0]
push esi
call fcn.004904de
push 0x11
mov ecx, ebx
call fcn.004045d7
push 0
push 0x14
mov ecx, ebx
call fcn.0040461e
push 0
push 0x7d0
push 1
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
push 8
mov dword [ebx + 0x2ec], eax
call fcn.00476eaa
mov ebx, eax
pop ecx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 9
xor ecx, ecx
mov eax, dword [ebp - 0x20]
test ebx, ebx
je 0x404238
mov dword [ebx + 4], eax
mov dword [ebx], ecx
jmp 0x40423a
mov ebx, ecx
mov byte [ebp - 4], 8
mov dword [eax + 0x2e8], ebx
test ebx, ebx
je 0x404277
push ecx
push 4
push ecx
push ecx
push ebx
push 0x404ec9
call fcn.0048634d
mov dword [ebx], eax
test eax, eax
jne 0x404268
push ecx
mov ecx, ebx
call fcn.00404f9d
jmp 0x404277
and dword [eax + 0x28], 0
mov eax, dword [ebx]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [ebp - 0x20]
xor eax, eax
push 3
push eax
push eax
push eax
push eax
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov byte [ebp - 4], 6
lea ecx, [esi - 0x10]
call fcn.00402325
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402325
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.00402325
xor eax, eax
inc eax
call fcn.005bd011
ret