Function at 0x4860d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xd4
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x64]
add ecx, 0x158
call fcn.004267c0
test eax, eax
jne 0x48614c
mov ecx, dword [0x5b08f0]
push 0x64
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ecx
call fcn.00426bb0
mov eax, dword [0x5b08f0]
mov ecx, dword [edi + 0x64]
add esp, 0x10
push 0
lea edx, [esp + 0x1c]
push edx
push eax
add ecx, 0x158
call fcn.00428b40
mov ecx, dword [edi + 0x64]
add ecx, 0x158
call fcn.004267c0
mov ecx, dword [edi + 0x64]
push eax
add ecx, 0x138
call fcn.00429a40
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [edx + edi + 4]
mov eax, dword [eax + 0x10]
push 0x486
push eax
call ebp
mov ecx, dword [edi + 0x64]
push 0
add ecx, 0x158
mov dword [edi + 0x6c], eax
call fcn.004278c0
mov esi, dword [edi + 0x6c]
push eax
call fcn.004858b0
mov ecx, dword [edi + 0x64]
add esp, 4
push 0
add ecx, 0x138
call fcn.00429a90
push eax
mov ecx, edi
call fcn.00485a90
mov eax, dword [edi + 0x64]
mov edx, dword [eax + 0x154]
mov ecx, dword [eax + 0x150]
mov eax, ecx
mov dword [esp + 0x14], edx
and eax, 4
xor edx, edx
or eax, edx
je 0x4861cc
and ecx, 0x200000
xor eax, eax
or ecx, eax
je 0x4861cc
xor bl, bl
jmp 0x4861ce
mov bl, 1
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
movzx edx, bl
lea eax, [ecx + edi + 4]
mov eax, dword [eax + 0x10]
push edx
push 0x4a6
push eax
call ebp
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
je 0x48622d
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x150]
and eax, 0x100000
xor ecx, ecx
or eax, ecx
je 0x48622d
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
push 0
push 1
lea eax, [edx + edi + 4]
mov eax, dword [eax + 0x10]
push 0xf1
push 0x4a6
push eax
call ebp
push eax
call ebx
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + edi + 4]
mov eax, dword [eax + 0x10]
push 0x4a6
push eax
call ebp
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
mov esi, eax
lea eax, [edx + edi + 4]
mov eax, dword [eax + 0x10]
push 0x427
push eax
call ebp
push 0
push 0
push 0xf0
push esi
mov dword [esp + 0x20], eax
call ebx
mov ecx, dword [esp + 0x10]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x150]
and eax, 0x40
xor ecx, ecx
or eax, ecx
jne 0x4862ae
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax + edi + 0x14]
push 1
push 0xf1
lea eax, [eax + edi + 4]
push 0x428
push ecx
call ebp
push eax
call ebx
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x150]
and eax, 0x800000
xor ecx, ecx
or eax, ecx
jne 0x4862e3
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax + edi + 0x14]
push 1
push 0xf1
lea eax, [eax + edi + 4]
push 0x4bd
push ecx
call ebp
push eax
call ebx
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x150]
and eax, 0x200000
xor ecx, ecx
or eax, ecx
jne 0x486318
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax + edi + 0x14]
push 1
push 0xf1
lea eax, [eax + edi + 4]
push 0x46a
push ecx
call ebp
push eax
call ebx
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x150]
and eax, 0x2000000
xor ecx, ecx
or eax, ecx
je 0x48634d
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax + edi + 0x14]
push 1
push 0xf1
lea eax, [eax + edi + 4]
push 0x495
push ecx
call ebp
push eax
call ebx
mov ecx, dword [edi + 0x64]
push 1
call fcn.0043d7c0
test eax, eax
jne 0x48636b
push eax
push eax
push 0x420
mov ecx, edi
call fcn.00495370
jmp 0x48639e
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x150]
and eax, 2
xor ecx, ecx
or eax, ecx
jne 0x48639e
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax + edi + 0x14]
push 1
push 0xf1
lea eax, [eax + edi + 4]
push 0x420
push ecx
call ebp
push eax
call ebx
mov ecx, dword [edi + 0x64]
push 5
call fcn.0043d7c0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x486457
push 0
push 0
push 0x420
mov ecx, edi
call fcn.00495370
push 0
push 0
push 0x42b
mov ecx, edi
call fcn.00495370
push 0
push 0
push 0x4bd
mov ecx, edi
call fcn.00495370
push 1
push 1
push 0x428
mov ecx, edi
call fcn.00495370
push 0
push 0
push 0x46a
mov ecx, edi
call fcn.00495370
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi + 0x14]
push 0
lea eax, [eax + edi + 4]
push 0x4b3
push ecx
call ebp
push eax
call esi
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi + 0x14]
push 0
lea eax, [eax + edi + 4]
push 0x454
push ecx
call ebp
push eax
call esi
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi + 0x14]
push 0
lea eax, [eax + edi + 4]
push 0x4b5
push ecx
call ebp
push eax
call esi
mov ecx, dword [edi + 0x64]
push 4
call fcn.0043d7c0
test eax, eax
jne 0x4864bc
push eax
push 1
push 0x466
mov ecx, edi
call fcn.00495370
push 0
push 0
push 0x4a6
mov ecx, edi
call fcn.00495370
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi + 0x14]
push 0
lea eax, [eax + edi + 4]
push 0x4a6
push ecx
call ebp
push eax
call esi
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi + 0x14]
push 0
lea edi, [eax + edi + 4]
push 0x427
push ecx
call ebp
push eax
call esi
jmp 0x4864ef
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x150]
and eax, 4
xor ecx, ecx
or eax, ecx
jne 0x4864ef
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax + edi + 0x14]
push 1
push 0xf1
lea edi, [eax + edi + 4]
push 0x466
push ecx
call ebp
push eax
call ebx
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.0051916c
add esp, 0xd4
ret