Function at 0x447e40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
cmp dword [ecx + 0x70], 0
push ebx
push esi
push edi
jne 0x4480fd
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fd
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, eax
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x447e83
push 0
push ecx
call ebx
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3fe
push esi
call edi
mov dword [ebp + 8], eax
test eax, eax
je 0x447ea2
push 0
push eax
call ebx
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3fa
push esi
call edi
mov dword [ebp + 8], eax
test eax, eax
je 0x447ec1
push 0
push eax
call ebx
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3ea
push esi
call edi
mov dword [ebp + 8], eax
test eax, eax
je 0x447ee0
push 0
push eax
call ebx
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x44]
mov dword [ebp + 8], 0
push eax
push esi
mov dword [ebp + 0x10], 0
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp + 0x14]
push esi
call edi
test eax, eax
je 0x4480d2
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x28]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x2c]
push 2
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x34]
push esi
mov dword [ebp - 4], eax
call edi
mov ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x447fbd
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x1c]
sub edi, dword [ebp - 0x24]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x18]
sub eax, edi
sub ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
add eax, 0xa
mov dword [ebp + 0x10], edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 8], eax
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
push esi
call edi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push esi
call edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
push 1
mov dword [ebp - 0x18], eax
sub eax, ecx
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
sub edx, eax
push edx
push ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push esi
call edi
mov dword [ebp + 0xc], eax
test eax, eax
je 0x44804e
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp + 0x10]
lea eax, [edx - 0xa]
sub edx, dword [ebp + 0x10]
add eax, ecx
sub edx, 0xa
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
add eax, 0xa
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
push 1
mov dword [ebp - 0x18], eax
sub eax, ecx
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
sub edx, eax
push edx
push ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4480d2
push eax
push esi
call edi
mov edi, eax
test edi, edi
je 0x4480d2
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
add eax, edx
mov ecx, dword [ebp + 8]
add ecx, 0xa
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
sub ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
push 1
mov dword [ebp - 0x18], eax
sub eax, ecx
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
sub edx, eax
push edx
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x40]
sub ebx, edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
add eax, 0x14
push 1
add eax, ebx
push eax
mov eax, dword [ebp - 0x3c]
sub eax, ecx
push eax
push edx
push ecx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x51aae4
push dword [ebp + 0x10]
lea esi, [ecx + 0x4c]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041c5c0
test eax, eax
je 0x448127
cmp eax, dword [esi + 4]
jae 0x448127
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
mov eax, dword [eax + ecx*4 + 8]
jmp 0x448129
xor eax, eax
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3fa
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push 0x3fa
push edi
call esi
push 0
push 0x3ff
push 0xc5
push 0x3fa
push edi
call esi
push 0
push 0
push 0
lea eax, [ebp + 8]
push 0x28
push eax
call fcn.004a51b0
add esp, 0x14
push dword [eax]
push 0x3fd
push edi
call ebx
mov edx, dword [ebp + 8]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4481a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
lea eax, [ebp + 8]
push 0xc3
push eax
call fcn.004a51b0
add esp, 0x14
push dword [eax]
push 0x3ea
push edi
call ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4481de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14