Function at 0x40efc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x14], eax
mov ecx, 5
mov dword [esp + 0x34], eax
mov esi, 0x458974
mov dword [esp + 0x30], 0xff
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x40f01f
mov ecx, esi
call fcn.004275c0
mov ecx, dword [0x45896c]
lea edx, [esp + 0x30]
call fcn.00414030
mov edi, eax
xor edx, edx
mov eax, 5
lock cmpxchg dword [esi], edx
cmp eax, 5
je 0x40f047
mov ecx, esi
call fcn.00427710
test edi, edi
je 0x40f050
mov edi, dword [edi + 8]
jmp 0x40f052
xor edi, edi
cmp byte [edi], 0
lea esi, [edi + 8]
mov dword [esp + 0x2c], esi
jne 0x40f0f6
push 0
push 0
push 0x474
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
lea ecx, [edi + 8]
push 0x400f
push 0
mov edx, esi
call fcn.00414db0
mov edx, esi
lea esi, [edi + 8]
push 0x2000
push 0
mov ecx, esi
call fcn.00414db0
push 0xc
push 0
push 2
push dword [esp + 0x20]
mov dword [edi + 0x5c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, eax
mov ecx, esi
call fcn.00414db0
push 0
push 1
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x40f0ec
push str.Close
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [edi], 1
mov byte [esp + 0x13], 1
jmp 0x40f0fb
mov byte [esp + 0x13], 0
cmp ebx, 1
je 0x40f1ed
test ebx, ebx
je 0x40f1f0
mov ecx, dword [ebx + 4]
lea eax, [esi + 4]
cmp ecx, eax
je 0x40f123
test dword [ecx + 0x48], 0x2000
je 0x40f1f0
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x64]
push eax
push esi
mov dword [esp + 0x74], 0x12c
mov dword [esp + 0x78], 0x118
call dword [sym.imp.USER32.dll_MapDialogRect]
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x70]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
sub edi, edx
mov esi, dword [esp + 0x68]
sub eax, edx
mov ebx, dword [esp + 0x58]
sub esi, ebx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x2c], edi
sub ecx, ebx
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x34], esi
sub edi, eax
mov eax, esp
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x60]
sub edi, edx
push dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sub esi, ecx
mov ecx, dword [esp + 0x30]
sub esi, ebx
push dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], esi
mov dword [eax + 0xc], esi
call fcn.00414e30
jmp 0x40f200
mov ebx, dword [edi + 0x5c]
push dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, esi
push ebx
call fcn.00414db0
cmp byte [esp + 0x13], 0
mov ebx, eax
je 0x40f27b
call fcn.004157a0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x4c], edx
call fcn.00415830
mov ecx, dword [eax]
cmp ecx, dword [0x4578b8]
mov edx, dword [eax + 4]
cmovl ecx, dword [0x4578b8]
cmp edx, dword [0x4578bc]
mov dword [esp + 0x4c], ecx
cmovl edx, dword [0x4578bc]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x44]
call fcn.00418b00
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
push 0
push dword [esp + 0x54]
push dword [esp + 0x54]
push esi
push edi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_MoveWindow]
add esi, 0x14
add edi, 0x14
push esi
push edi
call fcn.00415a00
mov ecx, dword [esp + 0x74]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042d1c6
mov esp, ebp
pop ebp
ret 8