Function at 0x404a7a
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x658
lea ebp, [esp - 4]
mov eax, dword [0x43c380]
xor eax, ebp
mov dword [ebp + 0x658], eax
push 0x80
mov eax, 0x42ee48
call fcn.0040a793
mov esi, dword [ebp + 0x664]
mov ebx, ecx
mov dword [ebx + 4], esi
call fcn.00408004
mov dword [ebp - 0x20], eax
call fcn.0040817d
xor edi, edi
push 0x206
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x3a]
push edi
push eax
mov word [ebp + 0x38], di
call fcn.0040aa00
push 0x430790
lea eax, [ebp + 0x38]
push 0x43077c
push eax
call fcn.0040a913
add esp, 0x18
lea eax, [ebp + 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x70]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x68]
push 1
add eax, dword [ebp - 0x20]
push edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x64]
push edi
add eax, dword [ebp - 0x14]
sar ecx, 1
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebx + 0x20], 8
jb 0x404b34
mov eax, dword [ebx + 0xc]
jmp 0x404b37
lea eax, [ebx + 0xc]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3ea
push dword [ebx + 4]
call esi
push 1
push dword [ebx + 0x5c]
push 0x3eb
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0x206
lea eax, [ebp + 0x242]
push edi
push eax
mov word [ebp + 0x240], di
call fcn.0040aa00
lea eax, [ebp + 0x240]
push eax
push dword [ebx + 0x60]
call fcn.00407b8b
add esp, 0x14
lea eax, [ebp + 0x240]
push eax
push 0x3ec
push dword [ebx + 4]
call esi
cmp dword [ebx + 0x3c], 8
jb 0x404ba2
mov eax, dword [ebx + 0x28]
jmp 0x404ba5
lea eax, [ebx + 0x28]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], 0x3001
push eax
jmp 0x404bf5
push eax
lea ecx, [ebp - 0x8c]
call fcn.004015f8
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00403c40
push edi
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.0040115a
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.0040b5d8
cmp eax, edi
pop ecx
pop ecx
jne 0x404bbf
push 0x430444
lea ecx, [ebp]
call fcn.004015f8
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], edi
call fcn.00401dab
jmp 0x404c7e
cmp dword [ebp + 0x14], 0x41
ja 0x404c9d
cmp dword [ebp - 0x10], 0xf
jge 0x404c9d
lea ecx, [ebp - 0x1c]
call fcn.00401981
cmp dword [eax + 0x18], 8
jb 0x404c44
mov eax, dword [eax + 4]
jmp 0x404c47
add eax, 4
push 0x430444
lea ecx, [ebp]
mov dword [ebp - 0x14], eax
call fcn.00401e65
test eax, eax
je 0x404c68
push 0x430778
lea ecx, [ebp]
call fcn.0040161a
push dword [ebp - 0x14]
lea ecx, [ebp]
call fcn.0040161a
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.004019a2
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
call fcn.00401dab
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408683
test al, al
je 0x404c25
push 0x430770
lea ecx, [ebp]
call fcn.0040161a
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x404cb6
lea eax, [ebp + 4]
push eax
push 0x3ed
push dword [ebx + 4]
call esi
push 0x430444
lea ecx, [ebp + 0x1c]
call fcn.004015f8
cmp dword [ebx + 0x58], 8
jb 0x404cd9
mov eax, dword [ebx + 0x44]
jmp 0x404cdc
lea eax, [ebx + 0x44]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov esi, 0x430768
lea edi, [ebp + 0x650]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x650]
push ecx
push eax
mov byte [ebp - 4], 4
movsw word es:[edi], word [esi]
call fcn.0040b5d8
xor esi, esi
jmp 0x404d46
push eax
lea ecx, [ebp - 0x8c]
call fcn.004015f8
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00403c40
push esi
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.0040115a
lea eax, [ebp + 0x650]
push eax
push esi
call fcn.0040b5d8
cmp eax, esi
pop ecx
pop ecx
jne 0x404d08
push esi
push esi
push esi
push str.DISPLAY
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
call dword [sym.imp.GDI32.dll_CreateICW]
push 0x430750
push esi
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push 0x190
push esi
push esi
push esi
push 0xc
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
call fcn.00401dab
jmp 0x404eb7
lea ecx, [ebp - 0x1c]
call fcn.00401981
cmp dword [eax + 0x18], 8
jb 0x404db5
mov edi, dword [eax + 4]
jmp 0x404db8
lea edi, [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.00401981
mov eax, dword [eax + 0x14]
push 0x206
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x44a]
push esi
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 0x24], esi
xor edi, edi
mov word [ebp + 0x448], si
call fcn.0040aa00
add esp, 0xc
cmp dword [ebp - 0x20], 5
jle 0x404e97
lea eax, [edi + 5]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x448]
push eax
call fcn.0040b59b
lea eax, [ebp + 0x448]
push eax
call fcn.0040a2da
add esp, 0x10
lea ecx, [ebp - 0x60]
push ecx
push eax
lea eax, [ebp + 0x448]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp dword [ebp - 0x60], 0x1b0
jl 0x404e6a
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 5]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
lea eax, [eax + edi + 5]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x448]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0040161a
push 0x430768
lea ecx, [ebp + 0x1c]
call fcn.0040161a
xor edi, edi
jmp 0x404e6b
inc edi
push 0x206
lea eax, [ebp + 0x44a]
push esi
push eax
mov word [ebp + 0x448], si
call fcn.0040aa00
mov eax, dword [ebp - 0x24]
lea eax, [edi + eax + 5]
add esp, 0xc
cmp eax, dword [ebp - 0x20]
jl 0x404df4
push dword [ebp - 0x10]
lea ecx, [ebp + 0x1c]
call fcn.0040161a
push 0x430768
lea ecx, [ebp + 0x1c]
call fcn.0040161a
lea ecx, [ebp - 0x1c]
call fcn.004019a2
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
call fcn.00401dab
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408683
test al, al
je 0x404da2
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp + 0x30], 0xc8
mov eax, dword [ebp + 0x20]
jb 0x404f2e
cmp dword [ebp + 0x34], 8
jae 0x404f01
lea eax, [ebp + 0x20]
push eax
mov edi, 0x3ee
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 5
push edi
push dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push 0x3f3
jmp 0x404f62
cmp dword [ebp + 0x34], 8
jae 0x404f37
lea eax, [ebp + 0x20]
push eax
mov edi, 0x3f3
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 5
push edi
push dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push 0x3ee
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x50]
call fcn.00403250
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.0040115a
push esi
push 1
lea ecx, [ebp]
call fcn.0040115a
lea ecx, [ebp - 0x40]
call fcn.00403250
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x658]
xor ecx, ebp
call fcn.0040a784
add ebp, 0x65c
leave
ret 4