Function at 0x412540
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444c1d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x454100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov eax, dword [edi + 0x220]
mov dword [edi + 0xcc], eax
test eax, eax
jne 0x41259c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [edi + 0xcc], eax
test eax, eax
jne 0x41259c
mov eax, dword [edi + 4]
mov dword [edi + 0xcc], eax
mov dword [edi + 0xa8], 0xffffffff
mov dword [edi + 0xac], 0xffffffff
mov dword [edi + 0xa0], 0xffffffff
mov dword [edi + 0xa4], 0xffffffff
mov dword [edi + 0xe0], 0xffffffff
mov dword [edi + 0xe4], 0xffffffff
mov dword [edi + 0xe8], 0xffffffff
mov dword [edi + 0xec], 0xffffffff
mov dword [edi + 0xf0], 0xffffffff
mov dword [edi + 0xf4], 0xffffffff
mov dword [edi + 0x138], 0xffffffff
mov dword [edi + 0x13c], 0xffffffff
mov dword [edi + 0x130], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xd0], eax
xor ecx, ecx
mov eax, dword [edi + 0x118]
mov dword [edi + 0x11c], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xf8], 0xffffffff
mov dword [edi + 0xfc], 0xffffffff
mov dword [edi + 0x100], 0xffffffff
mov dword [edi + 0x104], 0xffffffff
mov dword [edi + 0x108], 0xffffffff
mov dword [edi + 0x10c], 0xffffffff
mov dword [edi + 0x110], 0xffffffff
mov dword [edi + 0x114], 0xffffffff
mov word [eax], cx
mov eax, dword [edi + 0x124]
mov dword [edi + 0x128], ecx
push 0x64
mov word [eax], cx
push dword [edi + 4]
mov byte [edi + 0x140], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x65
mov dword [edi + 0xb0], eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 1
push 0x2005
push eax
mov dword [edi + 0xb4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x20
push 0
push 0x1036
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [edi + 0x160]
mov byte [edi + 0x148], 1
push eax
call fcn.00424840
mov ecx, dword [edi + 4]
add esp, 4
mov edx, 0x44a080
push 9
call fcn.00411190
mov eax, dword [edi + 4]
add esp, 4
xor ebx, ebx
mov edi, eax
nop
mov esi, dword [ebx + 0x44a0a4]
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00416ef0
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0xd], 0
jne 0x41275b
cmp esi, dword [eax + 0x10]
jae 0x412760
mov eax, dword [0x45b028]
cmp eax, dword [0x45b028]
jne 0x412798
mov edx, esi
lea ecx, [ebp - 0x50]
call fcn.00417b30
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00416df0
push dword [ebp - 0x50]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
call fcn.0044037e
mov eax, dword [ebp - 0x20]
add esp, 4
jmp 0x41279e
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4127f5
push esi
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea ecx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.0041f0d0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.0041f470
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call fcn.0044037e
add esp, 4
add ebx, 4
cmp ebx, 8
jb 0x412730
mov edi, dword [ebp - 0x44]
push 0x1bc
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ebx, [edi + 0x30]
mov dword [ebp - 0x20], eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.00417e40
push ebx
lea ecx, [edi + 0x3c]
call fcn.0041f160
push 0x26
lea ecx, [edi + 0x3c]
call fcn.0041fb20
push 0x1be
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x54]
push eax
mov dword [ebp - 0x44], eax
call fcn.00417e40
lea eax, [edi + 0x48]
mov ecx, 0x1bd
mov edx, eax
mov dword [ebp - 0x20], eax
call fcn.00411460
lea edx, [edi + 0x60]
mov ecx, 0x19b
call fcn.00411460
lea edx, [edi + 0x6c]
mov ecx, 0x1bf
call fcn.00411460
push dword [edi + 0x84]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea esi, [edi + 0x200]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x169]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [edi + 0x60]
test bl, bl
jne 0x4128b3
mov eax, dword [ebp - 0x44]
push dword [eax]
push 0x1be
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, edi
call fcn.004147d0
cmp byte [edi + 0x140], 0
lea eax, [edi + 0x30]
jne 0x4128d9
mov eax, dword [ebp - 0x20]
push dword [eax]
push 0x1bc
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, edi
call fcn.004147d0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0xe
push eax
push 0
push 0x1061
push dword [edi + 0xb4]
mov dword [ebp - 0x34], 0x44a8bc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0x1e
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0xe
push eax
push 1
push 0x1061
push dword [edi + 0xb4]
mov dword [ebp - 0x34], 0x44a8bc
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x38], 0x258
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff
push 0
push 0x101e
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff
push 1
push 0x101e
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xf42
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7e
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x65
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4129f1
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov dword [edi + 0x7c], eax
push 1
mov ecx, edi
mov dword [edi + 0x144], 0x52
call fcn.00417490
cmp byte [edi + 0x21a], 0
jne 0x412a63
push 0x3f0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x6e
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xf41
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x21c]
test eax, eax
js 0x412a8e
movzx eax, ax
push eax
push dword [0x45afac]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xc8
push 3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
cmp byte [edi + 0x149], 0
mov dword [edi + 0x80], eax
je 0x412ac8
push 0
push 0
push 0x8001
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [edi + 0x149], 0
mov ecx, edi
call fcn.004124c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00440370
mov esp, ebp
pop ebp
ret