Function at 0x40d9e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441fc3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4501a0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
mov esi, dword [ebp + 8]
cmp edi, 0x4c8
jne 0x40db0e
push 0x304
call fcn.00426762
add esp, 4
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x50], edi
cmp eax, edi
je 0x40da42
push eax
call fcn.00401b10
jmp 0x40da44
xor eax, eax
or ebx, 0xffffffff
mov dword [esp + 0x50], ebx
mov dword [0x45427c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x24], 0x2e4
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call edx
lea esi, [esp + 0x28]
mov eax, 0x453fdc
call fcn.0040ce80
mov esi, 8
mov dword [esp + 0x50], 1
cmp dword [eax + 0x18], esi
jb 0x40da9b
mov eax, dword [eax + 4]
jmp 0x40da9e
add eax, 4
mov ecx, dword [0x45427c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x44]
call eax
mov dword [esp + 0x50], ebx
cmp dword [esp + 0x40], esi
jb 0x40dac3
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004266b0
add esp, 4
mov eax, dword [0x45427c]
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], dx
call fcn.00402a30
mov eax, dword [0x453fdc]
mov edx, dword [eax + 0x34]
push edi
mov ecx, 0x453fdc
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x453fdc]
mov edx, dword [eax + 0x34]
mov ecx, 0x453fdc
call edx
cmp esi, eax
jne 0x40db4d
mov eax, dword [ebp + 0xc]
mov edx, dword [0x453fdc]
push ebx
push eax
mov eax, dword [edx + 0x38]
push edi
push esi
mov ecx, 0x453fdc
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x45427c]
test ecx, ecx
je 0x40dc14
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
cmp esi, eax
jne 0x40dc14
cmp edi, 2
jne 0x40dbeb
mov edi, 0x453fdc
mov dword [0x45427c], 0
call fcn.0040d320
mov edx, dword [0x453fdc]
mov eax, dword [edx + 0x34]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x453fdc]
mov eax, dword [edx + 0x34]
push 8
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x453fdc]
mov eax, dword [edx + 0x34]
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, edi
call fcn.0041e9d0
xor eax, eax
mov ecx, dword [esp + 0x48]
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 [0x45427c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
push ebx
push eax
push edi
push esi
call edx
mov ecx, dword [esp + 0x48]
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]
push ebx
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8