Function at 0x42e491
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5b6e64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0xd0], edi
jne 0x42e4d1
push 0x3020
push dword [esi + 0x20]
call ebx
test eax, eax
je 0x42e4d1
push edi
push edi
push 0x200
push eax
call fcn.00411fbe
test dword [esi + 0x84], 0x1000020
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
jne 0x42e5da
push 0x3020
push dword [esi + 0x20]
call ebx
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
call edi
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00420a1f
xor eax, eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jge 0x42e5da
sub eax, dword [ebp - 0x10]
xor edi, edi
sub eax, dword [ebp - 0x18]
push 0x16
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push edi
push edi
push edi
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 0x5b62f0]
push dword [esi + 0x20]
call ebx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x42e5a4
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00420a1f
mov eax, dword [ebp - 0x10]
xor ecx, ecx
sub eax, dword [ebp - 0x2c]
push 0x15
push ecx
push ecx
push eax
push dword [ebp - 0x14]
push ecx
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
add edi, 4
cmp edi, 0x10
jb 0x42e562
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
call edi
mov eax, dword [ebp - 8]
mov ecx, esi
sub eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x2c]
push 0x16
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
xor eax, eax
push eax
push eax
push eax
call fcn.004172a8
mov ecx, esi
call fcn.004111ac
mov dword [ebp - 0x28], eax
xor eax, eax
cmp dword [esi + 0xd4], eax
je 0x42e686
test dword [esi + 0x84], 0x1000020
jne 0x42e686
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x20]
call edi
xor eax, eax
push 1
push dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call ebx
test eax, eax
je 0x42e653
lea ecx, [ebp - 0x14]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x10]
mov ecx, esi
sub eax, dword [ebp - 0x20]
push 0x16
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
xor eax, eax
push eax
push eax
push eax
call fcn.004172a8
xor edi, edi
push dword [edi + 0x5b62f0]
push dword [esi + 0x20]
call ebx
mov ebx, eax
test ebx, ebx
je 0x42e678
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
add edi, 4
cmp edi, 0x10
jb 0x42e655
mov ecx, esi
call fcn.00416e04
test eax, 0x40000000
jne 0x42e69d
push 0
mov ecx, esi
call fcn.00410c62
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00537a6f
mov esp, ebp
pop ebp
ret