Function at 0x42106b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5a5ff4]
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 0x4210ab
push 0x3020
push dword [esi + 0x20]
call ebx
test eax, eax
je 0x4210ab
push edi
push edi
push 0x200
push eax
call fcn.0040e563
test dword [esi + 0x84], 0x1000020
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
jne 0x4211b4
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.00409a84
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 0x4211b4
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 + 0x5a545c]
push dword [esi + 0x20]
call ebx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x42117e
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.00409a84
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 0x42113c
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.0040b9e9
mov ecx, esi
call fcn.0040d780
mov dword [ebp - 0x28], eax
xor eax, eax
cmp dword [esi + 0xd4], eax
je 0x421260
test dword [esi + 0x84], 0x1000020
jne 0x421260
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 0x42122d
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.0040b9e9
xor edi, edi
push dword [edi + 0x5a545c]
push dword [esi + 0x20]
call ebx
mov ebx, eax
test ebx, ebx
je 0x421252
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 0x42122f
mov ecx, esi
call fcn.0040b792
test eax, 0x40000000
jne 0x421277
push 0
mov ecx, esi
call fcn.0040d25d
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00527f88
mov esp, ebp
pop ebp
ret