Function at 0x4166c0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x44de41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
mov eax, dword [0x45e5ec]
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 0x41679a
lea eax, [esp + 0x1c]
push 0x100
push eax
push 0xa7
call fcn.00403f40
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x416744
lea edx, [esp + 0x1c]
test edx, edx
jne 0x41672b
xor eax, eax
jmp 0x416732
lea eax, [esp + 0x1c]
push eax
call ebx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, 0x45e5ec
call fcn.00403e10
jmp 0x416795
push 0x1ff
mov ecx, 0x45e5ec
mov edi, 0x200
call fcn.00403bf0
test eax, eax
je 0x416789
push edi
push eax
push 0xa7
call fcn.00403f40
mov edx, edi
sub edx, eax
cmp edx, 1
jg 0x416789
add edi, 0x100
mov ecx, 0x45e5ec
lea eax, [edi - 1]
push eax
call fcn.00403bf0
test eax, eax
jne 0x41675c
push 0xffffffffffffffff
mov ecx, 0x45e5ec
call fcn.00403cb0
mov eax, dword [0x45e5ec]
mov ecx, dword [esi + 0x110]
cmp ecx, 0x5002
jne 0x4167eb
mov al, byte [0x45f8b0]
test al, 1
jne 0x4167d3
mov dl, al
mov ecx, 0x45f8c0
or dl, 1
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
push 0x20
mov ecx, 0x45f8c0
call fcn.00429dc0
mov ecx, esi
call fcn.00415f80
jmp 0x416a26
cmp ecx, 0x5000
jne 0x416a97
push eax
lea ecx, [esi + 0x114]
push 0x93
push ecx
call fcn.00403530
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.0042b2c0
test eax, eax
jne 0x4168df
mov al, byte [0x45f8b0]
test al, 1
jne 0x41688b
mov dl, al
mov ecx, 0x45f8c0
or dl, 1
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
push 0x14
mov ecx, 0x45f8c0
call fcn.00429dc0
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 0x416a01
call fcn.0042adf0
test eax, eax
jne 0x4169cd
mov al, byte [0x45f8b0]
test al, 1
jne 0x416917
mov dl, al
mov ecx, 0x45f8c0
or dl, 1
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
push 0x33
mov ecx, 0x45f8c0
call fcn.00429dc0
lea edx, [esp + 0x14]
push 0xb3
push edx
call fcn.004150a0
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x37c]
push eax
mov dword [esp + 0x428], 0
call fcn.0040dda0
mov eax, dword [esp + 0x14]
mov edx, dword [0x458054]
mov dword [esp + 0x424], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x416988
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416988
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.0042d78e
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 0x416a01
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 0x416a01
mov dword [esp + 0x18], 1
call fcn.00415210
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 0x416d5f
mov ecx, dword [0x458050]
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x110]
mov dword [esp + 0x424], 2
cmp eax, 0x5000
jne 0x416cb2
mov edx, dword [0x45e460]
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 0x416a74
mov word [esp + 0x1c], ax
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x416c65
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.004030c0
jmp 0x416d36
cmp ecx, 0x5001
push eax
jne 0x416c11
lea ecx, [esi + 0x114]
push 0x92
push ecx
call fcn.00403530
add esp, 0xc
lea edx, [esp + 0x1c]
lea ebp, [esi + 0x118]
push 0x100
push edx
push 0x97
call fcn.00403f40
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x416b00
lea edx, [esp + 0x1c]
test edx, edx
jne 0x416aea
xor eax, eax
jmp 0x416af1
lea eax, [esp + 0x1c]
push eax
call ebx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, ebp
call fcn.00403e10
jmp 0x416b48
push 0x1ff
mov ecx, ebp
mov edi, 0x200
call fcn.00403bf0
test eax, eax
je 0x416b3f
push edi
push eax
push 0x97
call fcn.00403f40
mov edx, edi
sub edx, eax
cmp edx, 1
jg 0x416b3f
add edi, 0x100
mov ecx, ebp
lea eax, [edi - 1]
push eax
call fcn.00403bf0
test eax, eax
jne 0x416b15
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00403cb0
mov ebp, dword [ebp]
lea edi, [esi + 0xa0]
push ebp
mov ecx, edi
call fcn.0040f570
mov ecx, edi
call fcn.0040f640
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.004150a0
add esp, 8
mov eax, dword [eax]
lea ecx, [esi + 0x43c]
push eax
mov dword [esp + 0x428], 1
call fcn.0040dda0
mov eax, dword [esp + 0x14]
mov ecx, dword [0x458054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x416a26
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416a26
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
add esp, 4
jmp 0x416a26
lea ecx, [esi + 0x114]
push 0xa6
push ecx
call fcn.00403530
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 0x416a26
push 0x1ff
lea ecx, [esp + 0x14]
mov edi, 0x200
call fcn.00403bf0
test eax, eax
je 0x416d2b
push edi
push eax
push 0xa1
call fcn.00403f40
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x416d2b
add edi, 0x100
lea ecx, [esp + 0x10]
lea edx, [edi - 1]
push edx
call fcn.00403bf0
test eax, eax
jne 0x416c80
jmp 0x416d2b
lea eax, [esp + 0x21c]
push 0x100
push eax
push 0xa0
call fcn.00403f40
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x416ce8
lea edx, [esp + 0x21c]
lea ecx, [esp + 0x10]
push edx
call fcn.004030c0
jmp 0x416d36
push 0x1ff
lea ecx, [esp + 0x14]
mov edi, 0x200
call fcn.00403bf0
test eax, eax
je 0x416d2b
push edi
push eax
push 0xa0
call fcn.00403f40
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x416d2b
add edi, 0x100
lea ecx, [esp + 0x10]
lea edx, [edi - 1]
push edx
call fcn.00403bf0
test eax, eax
jne 0x416cff
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00403cb0
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.00403d80
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x418
ret