Function at 0x41b7e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447666
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
cmp edi, 0x4c8
jne 0x41b931
mov eax, dword [0x45a2ac]
mov edx, dword [eax + 0x8c]
mov ecx, 0x45a2ac
call edx
mov ecx, eax
call fcn.00422fc0
push 0x2444
call fcn.0042bda2
add esp, 4
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x41b858
push eax
call fcn.00410230
jmp 0x41b85a
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x58], edi
mov dword [0x45c280], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x4e2
mov dword [esp + 0x20], 0x2bc
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call edx
lea esi, [esp + 0x14]
mov eax, 0x45a2ac
call fcn.00419e30
mov esi, 8
mov dword [esp + 0x58], 1
cmp dword [eax + 0x18], esi
jb 0x41b8b1
mov eax, dword [eax + 4]
jmp 0x41b8b4
add eax, 4
mov ecx, dword [0x45c280]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x9c]
call eax
mov dword [esp + 0x58], edi
cmp dword [esp + 0x2c], esi
jb 0x41b8dc
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042bcf0
add esp, 4
mov eax, dword [0x45c280]
call fcn.00410ef0
mov edx, dword [0x45a2ac]
mov eax, dword [edx + 0x8c]
push ebx
mov ecx, 0x45a2ac
call eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov edx, dword [0x45a1e4]
mov eax, dword [edx + 0x8c]
push ebx
mov ecx, 0x45a1e4
call eax
push eax
call esi
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, 0x4cf
jne 0x41ba0f
push 0xa00
call fcn.0042bda2
add esp, 4
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [esp + 0x58], 2
cmp eax, esi
je 0x41b964
push eax
call fcn.0041a7b0
jmp 0x41b966
xor eax, eax
mov dword [esp + 0x58], 0xffffffff
mov dword [0x45c27c], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x370
mov dword [esp + 0x20], 0x1a4
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call edx
lea esi, [esp + 0x30]
mov eax, 0x45a2ac
call fcn.0041a440
mov esi, 8
mov dword [esp + 0x58], 3
cmp dword [eax + 0x18], esi
jb 0x41b9be
mov eax, dword [eax + 4]
jmp 0x41b9c1
add eax, 4
mov ecx, dword [0x45c27c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x98]
call eax
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x48], esi
jb 0x41b9ed
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0042bcf0
add esp, 4
mov esi, dword [0x45c27c]
xor edx, edx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], dx
call fcn.0041afa0
mov ecx, dword [0x45c27c]
test ecx, ecx
je 0x41ba56
mov eax, dword [ecx]
mov edx, dword [eax + 0x8c]
call edx
cmp ebx, eax
jne 0x41ba56
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x45c27c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
push edx
mov edx, dword [ebp + 8]
push edx
push edi
push ebx
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [0x45a2ac]
mov eax, dword [edx + 0x8c]
mov ecx, 0x45a2ac
call eax
cmp ebx, eax
jne 0x41ba9e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [0x45a2ac]
push ecx
push edx
mov edx, dword [eax + 0x90]
push edi
push ebx
mov ecx, 0x45a2ac
call edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x45a1e4]
mov edx, dword [eax + 0x8c]
mov ecx, 0x45a1e4
call edx
cmp ebx, eax
jne 0x41bae6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x45a1e4]
push eax
mov eax, dword [edx + 0x90]
push ecx
push edi
push ebx
mov ecx, 0x45a1e4
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x45c280]
test ecx, ecx
je 0x41bbff
mov edx, dword [ecx]
mov eax, dword [edx + 0x8c]
call eax
cmp ebx, eax
jne 0x41bbff
cmp edi, 2
jne 0x41bbd0
mov esi, dword [0x45c280]
call fcn.00411cc0
mov ecx, 0x45a2ac
mov dword [0x45c280], 0
call fcn.0041a230
mov edx, dword [0x45a1e4]
mov eax, dword [edx + 0x8c]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov ecx, 0x45a1e4
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x45a1e4]
mov eax, dword [edx + 0x8c]
push 8
mov ecx, 0x45a1e4
call eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov edx, dword [0x45a2ac]
mov eax, dword [edx + 0x8c]
push 8
mov ecx, 0x45a2ac
call eax
push eax
call esi
mov edx, dword [0x45a2ac]
mov eax, dword [edx + 0x8c]
mov ecx, 0x45a2ac
call eax
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [0x45a2ac]
mov eax, dword [edx + 0x84]
push 0
mov ecx, 0x45a2ac
call eax
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x45c280]
mov edx, dword [ecx]
mov edx, dword [edx + 0x90]
push eax
mov eax, dword [ebp + 8]
push eax
push edi
push ebx
call edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
push edi
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8