Function at 0x439c90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
cmp dword [ecx + 0x6c], 0
push ebx
push esi
push edi
jne 0x439f4d
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 0x439cd3
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 0x439cf2
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 0x439d11
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 0x439d30
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 0x439f22
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 0x439e0d
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 0x439e9e
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 0x439f22
push eax
push esi
call edi
mov edi, eax
test edi, edi
je 0x439f22
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 0x4e11d8
push dword [ebp + 0x10]
lea esi, [ecx + 0x48]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00415c20
test eax, eax
je 0x439f77
cmp eax, dword [esi + 4]
jae 0x439f77
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
mov eax, dword [eax + ecx*4 + 8]
jmp 0x439f79
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.0047f650
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 0x439ff3
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.0047f650
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 0x43a02e
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