Function at 0x4166f0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x44da01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
mov eax, dword [0x45d554]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax - 8]
push edi
test ecx, ecx
mov dword [esp + 0x18], 0
jne 0x4167ca
lea eax, [esp + 0x1c]
push 0x100
push eax
push 0xa7
call fcn.00403f50
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x416774
lea edx, [esp + 0x1c]
test edx, edx
jne 0x41675b
xor eax, eax
jmp 0x416762
lea eax, [esp + 0x1c]
push eax
call ebx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, 0x45d554
call fcn.00403d70
jmp 0x4167c5
push 0x1ff
mov ecx, 0x45d554
mov edi, 0x200
call fcn.00403b50
test eax, eax
je 0x4167b9
push edi
push eax
push 0xa7
call fcn.00403f50
mov edx, edi
sub edx, eax
cmp edx, 1
jg 0x4167b9
add edi, 0x100
mov ecx, 0x45d554
lea eax, [edi - 1]
push eax
call fcn.00403b50
test eax, eax
jne 0x41678c
push 0xffffffffffffffff
mov ecx, 0x45d554
call fcn.00403c10
mov eax, dword [0x45d554]
mov ecx, dword [esi + 0x110]
cmp ecx, 0x5002
jne 0x41681b
mov al, byte [0x45e818]
test al, 1
jne 0x416803
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
push 0x20
mov ecx, 0x45e820
call fcn.00429980
mov ecx, esi
call fcn.00415f90
jmp 0x416a56
cmp ecx, 0x5000
jne 0x416ac7
push eax
lea ecx, [esi + 0x114]
push 0x93
push ecx
call fcn.00403490
mov edx, dword [esi + 0x2fc]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 0xc
push 5
push edx
call edi
mov eax, dword [esi + 0x2fc]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push eax
call ebp
mov ecx, dword [esi + 0x2fc]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0x12
push 0xb4
push 0xb4
push 0xb7
push ecx
call ebx
call fcn.0042ae80
test eax, eax
jne 0x41690f
mov al, byte [0x45e818]
test al, 1
jne 0x4168bb
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
push 0x14
mov ecx, 0x45e820
call fcn.00429980
mov edx, dword [esi + 0x3bc]
push 5
push edx
call edi
mov eax, dword [esi + 0x3bc]
push 0
push 1
push 0xf1
push eax
call ebp
mov ecx, dword [esi + 0x3bc]
push 1
push 0x12
push 0x12c
push 0xc8
push 0xb7
push ecx
call ebx
mov dword [esi + 0x588], 1
jmp 0x416a31
call fcn.0042a9b0
test eax, eax
jne 0x4169fd
mov al, byte [0x45e818]
test al, 1
jne 0x416947
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
push 0x33
mov ecx, 0x45e820
call fcn.00429980
lea edx, [esp + 0x14]
push 0xb3
push edx
call fcn.004150b0
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x37c]
push eax
mov dword [esp + 0x428], 0
call fcn.0040ddb0
mov eax, dword [esp + 0x14]
mov edx, dword [0x457054]
mov dword [esp + 0x424], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4169b8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4169b8
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.0042d34c
add esp, 4
mov eax, dword [esi + 0x3bc]
push 5
push eax
call edi
mov ecx, dword [esi + 0x3bc]
push 0
push 1
push 0xf1
push ecx
call ebp
mov edx, dword [esi + 0x3bc]
push 1
push 0x12
push 0x12c
push 0xc8
push 0xb7
push edx
call ebx
mov dword [esi + 0x588], 0xb3
jmp 0x416a31
mov eax, dword [esi + 0x70]
mov dword [esi + 0x588], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x416a31
mov dword [esp + 0x18], 1
call fcn.00415220
mov eax, dword [esi + 0x70]
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [esi + 0x47c]
push 1
push 0x2a
push 0x74
push 0xe6
push 0xda
push eax
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x416d8f
mov ecx, dword [0x457050]
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x110]
mov dword [esp + 0x424], 2
cmp eax, 0x5000
jne 0x416ce2
mov edx, dword [0x45d3d0]
lea ecx, [esp + 0x1c]
push 0x100
push ecx
mov eax, dword [edx + 8]
push 0xa1
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x416aa4
mov word [esp + 0x1c], ax
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x416c95
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.004030d0
jmp 0x416d66
cmp ecx, 0x5001
push eax
jne 0x416c41
lea ecx, [esi + 0x114]
push 0x92
push ecx
call fcn.00403490
add esp, 0xc
lea edx, [esp + 0x1c]
lea ebp, [esi + 0x118]
push 0x100
push edx
push 0x97
call fcn.00403f50
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x416b30
lea edx, [esp + 0x1c]
test edx, edx
jne 0x416b1a
xor eax, eax
jmp 0x416b21
lea eax, [esp + 0x1c]
push eax
call ebx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, ebp
call fcn.00403d70
jmp 0x416b78
push 0x1ff
mov ecx, ebp
mov edi, 0x200
call fcn.00403b50
test eax, eax
je 0x416b6f
push edi
push eax
push 0x97
call fcn.00403f50
mov edx, edi
sub edx, eax
cmp edx, 1
jg 0x416b6f
add edi, 0x100
mov ecx, ebp
lea eax, [edi - 1]
push eax
call fcn.00403b50
test eax, eax
jne 0x416b45
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00403c10
mov ebp, dword [ebp]
lea edi, [esi + 0xa0]
push ebp
mov ecx, edi
call fcn.0040f580
mov ecx, edi
call fcn.0040f650
mov ecx, dword [esi + 0xe0]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x47c]
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0x2a
push 0x74
push 0xe4
push 0xda
push edx
call edi
mov eax, dword [esi + 0xe0]
push 1
push 0x1e
push 0xf0
push 0xa7
push 0xa2
push eax
call edi
lea ecx, [esp + 0x14]
push 0xbb
push ecx
call fcn.004150b0
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x43c]
push eax
mov dword [esp + 0x428], 1
call fcn.0040ddb0
mov eax, dword [esp + 0x14]
mov ecx, dword [0x457054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x416a56
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416a56
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
jmp 0x416a56
lea ecx, [esi + 0x114]
push 0xa6
push ecx
call fcn.00403490
mov edx, dword [esi + 0x47c]
add esp, 0xc
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0x2a
push 0x74
push 0xe4
push 0xda
push edx
call edi
mov eax, dword [esi + 0xe0]
push 1
push 0x1e
push 0xf0
push 0xa7
push 0xa2
push eax
call edi
jmp 0x416a56
push 0x1ff
lea ecx, [esp + 0x14]
mov edi, 0x200
call fcn.00403b50
test eax, eax
je 0x416d5b
push edi
push eax
push 0xa1
call fcn.00403f50
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x416d5b
add edi, 0x100
lea ecx, [esp + 0x10]
lea edx, [edi - 1]
push edx
call fcn.00403b50
test eax, eax
jne 0x416cb0
jmp 0x416d5b
lea eax, [esp + 0x21c]
push 0x100
push eax
push 0xa0
call fcn.00403f50
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x416d18
lea edx, [esp + 0x21c]
lea ecx, [esp + 0x10]
push edx
call fcn.004030d0
jmp 0x416d66
push 0x1ff
lea ecx, [esp + 0x14]
mov edi, 0x200
call fcn.00403b50
test eax, eax
je 0x416d5b
push edi
push eax
push 0xa0
call fcn.00403f50
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x416d5b
add edi, 0x100
lea ecx, [esp + 0x10]
lea edx, [edi - 1]
push edx
call fcn.00403b50
test eax, eax
jne 0x416d2f
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00403c10
mov esi, dword [esi + 0x70]
mov ecx, dword [esp + 0x10]
push 0x1d4c0
push ecx
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x3c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x424], 0xffffffff
call fcn.00403ce0
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x418
ret