Function at 0x41b780
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447606
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 0x41b8d1
mov eax, dword [0x45a2ac]
mov edx, dword [eax + 0x8c]
mov ecx, 0x45a2ac
call edx
mov ecx, eax
call fcn.00422f60
push 0x2444
call fcn.0042bd42
add esp, 4
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x41b7f8
push eax
call fcn.00410230
jmp 0x41b7fa
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.00419df0
mov esi, 8
mov dword [esp + 0x58], 1
cmp dword [eax + 0x18], esi
jb 0x41b851
mov eax, dword [eax + 4]
jmp 0x41b854
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 0x41b87c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042bc90
add esp, 4
mov eax, dword [0x45c280]
call fcn.00410ed0
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 0x41b9af
push 0xa00
call fcn.0042bd42
add esp, 4
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [esp + 0x58], 2
cmp eax, esi
je 0x41b904
push eax
call fcn.0041a750
jmp 0x41b906
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.0041a3e0
mov esi, 8
mov dword [esp + 0x58], 3
cmp dword [eax + 0x18], esi
jb 0x41b95e
mov eax, dword [eax + 4]
jmp 0x41b961
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 0x41b98d
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0042bc90
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.0041af40
mov ecx, dword [0x45c27c]
test ecx, ecx
je 0x41b9f6
mov eax, dword [ecx]
mov edx, dword [eax + 0x8c]
call edx
cmp ebx, eax
jne 0x41b9f6
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 0x41ba3e
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 0x41ba86
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 0x41bb9f
mov edx, dword [ecx]
mov eax, dword [edx + 0x8c]
call eax
cmp ebx, eax
jne 0x41bb9f
cmp edi, 2
jne 0x41bb70
mov esi, dword [0x45c280]
call fcn.00411ca0
mov ecx, 0x45a2ac
mov dword [0x45c280], 0
call fcn.0041a1d0
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