Function at 0x45ac70
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x56800c]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, ecx
push 0x410
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x74]
xor ebx, ebx
push ecx
push eax
mov dword [esp + 0x18], ebx
xor esi, esi
xor edi, edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x45acd4
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
sub esi, ebx
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x10], eax
sub edi, eax
mov ecx, dword [esp + 0x10]
sub esp, 0x10
mov eax, esp
xor edx, edx
mov dword [eax], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x30]
mov dword [eax + 8], esi
push ebx
mov dword [eax + 0xc], edi
call fcn.004597e0
add esp, 0x14
push 0x404
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x74]
xor ebx, ebx
push ecx
push eax
mov dword [esp + 0x18], ebx
xor esi, esi
xor edi, edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x45ad3c
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
sub esi, ebx
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x10], eax
sub edi, eax
mov ecx, dword [esp + 0x10]
sub esp, 0x10
mov eax, esp
xor edx, edx
push dword [esp + 0x2c]
mov dword [eax], ebx
mov dword [eax + 4], ecx
lea ecx, [esp + 0x98]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
call fcn.004597e0
mov esi, dword [esp + 0x40]
add esp, 0x14
mov edi, dword [esp + 0x24]
mov ebx, esi
sub ebx, dword [esp + 0x90]
sub ebx, dword [esp + 0x88]
push 5
push dword [esp + 0x20]
add ebx, edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x18], eax
test eax, eax
je 0x45af7a
lea ecx, [esi + edi]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x94]
xor ebx, ebx
push ecx
push eax
xor esi, esi
xor edi, edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x45addd
mov esi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x94]
sub esi, ebx
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0x98]
sub edi, eax
jmp 0x45addf
xor eax, eax
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x34]
lea eax, [esp + 0x44]
mov dword [esp + 0x34], ebx
push eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
call fcn.00415fa0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
add eax, edx
mov dword [esp + 0x74], ecx
push 2
mov dword [esp + 0x84], eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x84], edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x74]
mov eax, edx
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edi, ecx
mov esi, dword [esp + 0x80]
mov dword [esp + 0x10], eax
cmp edx, ebx
jle 0x45ae61
mov eax, ebx
mov ebx, edx
mov dword [esp + 0x10], eax
cmp ecx, esi
jle 0x45ae69
mov edi, esi
mov esi, ecx
sub ebx, eax
mov dword [esp + 0x84], eax
sub esi, edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], esi
cmp edi, dword [esp + 0x30]
jl 0x45aeab
push 1
push esi
mov esi, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x20]
sub edi, ebx
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x45af65
mov ecx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x98]
call fcn.0044cde0
mov ecx, dword [esp + 0x10]
cmp dword [eax], ecx
jne 0x45af02
cmp dword [eax + 4], edi
jne 0x45af02
cmp dword [eax + 8], ebx
jne 0x45af02
cmp dword [eax + 0xc], esi
jne 0x45af02
mov esi, dword [esp + 0x18]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45af61
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x30]
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
lea eax, [esp + 0x74]
push eax
call fcn.0044cde0
mov ecx, dword [esp + 0x20]
cmp dword [eax], ecx
jne 0x45af5d
mov ecx, dword [esp + 0x24]
cmp dword [eax + 4], ecx
jne 0x45af5d
mov ecx, dword [esp + 0x28]
cmp dword [eax + 8], ecx
jne 0x45af5d
mov ecx, dword [esp + 0x2c]
cmp dword [eax + 0xc], ecx
jne 0x45af5d
sub esi, dword [esp + 0x14]
push 1
push esi
mov esi, dword [esp + 0x20]
push ebx
push edi
push dword [esp + 0x20]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x45af61
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x45ada2
lea eax, [esp + 0x84]
xor edi, edi
push eax
push dword [esp + 0x20]
xor esi, esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x45afb6
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x84]
sub edi, eax
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
sub esi, ecx
jmp 0x45afba
xor eax, eax
xor ecx, ecx
push 1
sub esi, ebx
push esi
push edi
push ecx
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret