Function at 0x51b8d8
Capabilities:
Hide graphical window
Resume thread

Disassembly:
mov eax, 0x59caa5
call fcn.00593e24
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
test byte [edi + 0x80], 4
lea ebx, [edi + 4]
je 0x51b97c
push 0x640000
push 0
push 0x421
push 0x401
push dword [ebx]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor eax, eax
mov dword [edi + 0xd4], eax
mov dword [edi + 0xcc], eax
mov dword [ebp - 0x10], eax
mov edx, str.4_I
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
call fcn.00579a5c
mov dword [ebp - 4], 2
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [eax]
and dword [eax], 0
mov ecx, dword [edi + 0xdc]
test ecx, ecx
je 0x51b95a
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0xdc], esi
test ecx, ecx
je 0x51b96b
mov eax, dword [ecx]
call dword [eax]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x51b9ae
mov eax, dword [ecx]
call dword [eax]
jmp 0x51b9ae
push 0x421
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x51b9ae
push ecx
push 8
push ecx
lea ecx, [ebp - 0x18]
call fcn.00410600
push 0
push 1
push 0x40a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [edi + 0x80], 8
je 0x51b9e3
push 0x640000
push 0
push 0x422
push 0x401
push dword [ebx]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
and dword [edi + 0xd8], 0
mov dword [edi + 0xcc], 0
jmp 0x51b9ef
mov ecx, dword [ebx]
mov edx, 0x422
call fcn.0051b621
mov ecx, dword [edi + 0x80]
mov eax, ecx
and al, 0x22
cmp al, 0x20
jne 0x51ba50
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 3
push dword [ebx]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
push eax
push esi
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00442550
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 5
lea eax, [ebp - 0x28]
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.0040ec50
jmp 0x51ba8a
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test cl, 0x20
jne 0x51ba6e
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x51ba6e
push 0
push eax
call esi
test byte [edi + 0x80], 2
jne 0x51ba8a
push 3
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x51ba8a
push 0
push eax
call esi
mov eax, dword [edi + 0x80]
test al, 0x10
jne 0x51bab2
mov ecx, dword [ebx]
mov edx, 0x435
call fcn.0051b621
mov ecx, dword [ebx]
mov edx, 0x4bb
call fcn.0051b621
mov eax, dword [edi + 0x80]
test al, 1
jne 0x51bada
mov ecx, dword [ebx]
push 2
pop edx
call fcn.0051b621
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [edi + 0x88]
push dword [ebx]
call dword [0x5b4998]
push 0
push 0xfa
push 0x10e1
push dword [ebx]
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [edi + 0xbc]
push eax
push 4
push edi
push 0x51b392
push 0
push 0
call dword [0x5b4788]
add esp, 0x18
mov dword [edi + 0xb8], eax
test byte [edi + 0x80], 0x40
je 0x51bb30
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [edi + 0xe0]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [edi + 0xb8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [edi + 0xf1], 0
je 0x51bb5f
push dword [ebx]
lea ecx, [edi + 0xe4]
call fcn.00481ec0
test byte [edi + 0x80], 0x80
je 0x51bb86
cmp byte [edi + 0xf1], 0
jne 0x51bb86
mov byte [edi + 0xc2], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xc4], eax
jmp 0x51bb93
push 8
mov byte [edi + 0xc2], 0
push dword [ebx]
call esi
xor eax, eax
test dword [edi + 0x80], 0x100
jne 0x51bbaa
cmp byte [edi + 0xc2], al
sete al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8