Function at 0x45ed38
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x500144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, 0x1870
push edi
mov eax, dword [ebx + 0x138]
add eax, esi
push eax
call fcn.0045e8b1
mov edi, eax
test edi, edi
jne 0x45edb1
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x45ef4a
test byte [ecx + 0x1c], 1
je 0x45ef4a
cmp byte [ecx + 0x19], 2
jb 0x45ef4a
call fcn.0042386b
push eax
mov eax, dword [section..data]
mov edx, 0x40e8dc
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xb
pop ecx
call fcn.004238e7
jmp 0x45ef4a
push ecx
mov ecx, ebx
call fcn.0049d37b
mov eax, dword [ebx + 0x138]
add eax, esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 0x138]
mov esi, 0x335e
add eax, 0x58
push eax
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
xor esi, esi
inc edi
mov dword [ebp - 0x18], edi
test eax, eax
je 0x45ee13
push esi
push edi
push 0xcf
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebx + 0x140], esi
jne 0x45ee4c
push 0x840
call fcn.004fb25b
pop ecx
test eax, eax
je 0x45ee44
mov ecx, dword [ebx + 0x138]
add ecx, 0x34620
push esi
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call fcn.004ab763
jmp 0x45ee46
mov eax, esi
mov dword [ebx + 0x140], eax
push 0x3366
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0x140], esi
je 0x45ef02
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 4]
lea edx, [ebp - 0x14]
call fcn.00499071
mov edi, dword [ebx + 0x140]
lea esi, [ebp - 0x14]
add edi, 0x1c
mov edx, 0x32e9
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xc]
call fcn.004eacc6
test eax, eax
je 0x45eeff
push dword [ebx + 0x140]
push 0x4abaf0
push dword [ebx + 4]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
push 5
push eax
mov dword [ebx + 0x144], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x335e
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 3
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push dword [ebx + 0x144]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x138]
mov ecx, dword [ebx + 0x140]
add eax, 0x58
push eax
call fcn.004abce4
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 0x138]
push edi
push dword [ebx + 4]
mov eax, dword [eax + 0x31890]
mov esi, dword [eax*4 + 0x40e8c4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push ecx
push dword [ebx + 8]
mov ecx, ebx
call fcn.0049d45f
push 9
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb5e0
leave
ret