Function at 0x5488e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x38
push ebp
push esi
mov ebp, ecx
push edi
lea edi, [ebp + 0xbd0]
mov ecx, 0x67
mov esi, 0x5b4170
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x5b4170]
cmp eax, 0x80000000
mov ecx, dword [0x5b4174]
mov edx, dword [0x5b4178]
mov esi, dword [0x5b417c]
mov dword [0x5b4148], 0x59c134
mov dword [0x5b4154], eax
mov dword [0x5b4158], ecx
mov dword [0x5b415c], edx
mov dword [0x5b4160], esi
mov edi, 0x20000000
je 0x548956
cmp ecx, 0x80000000
je 0x548956
cmp edx, 0x80000000
je 0x548956
cmp esi, 0x80000000
jne 0x5489d3
push 0x5b4338
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea edx, [ebp + 8]
xor ecx, ecx
call fcn.004feda0
test eax, eax
je 0x5489d3
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [0x5b4154], eax
mov eax, dword [esp + 0x18]
mov dword [0x5b4160], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov dword [0x5b415c], ecx
mov dword [0x5b4158], edx
mov esi, 1
jne 0x5489c7
mov dword [0x5b4164], 0x1000000
jmp 0x5489d8
cmp eax, esi
jne 0x5489d8
mov dword [0x5b4164], edi
jmp 0x5489d8
mov esi, 1
mov eax, dword [0x5b4180]
xor edx, edx
cmp eax, edx
je 0x5489f7
cmp dword [0x5b4184], edx
mov dword [esp + 0xc], edx
je 0x5489fb
mov dword [0x5b4338], esi
jmp 0x5489fb
mov dword [esp + 0xc], esi
mov dword [ebp + 0xb50], edx
cmp dword [0x5b4188], edx
je 0x548a0f
mov dword [ebp + 0xb50], esi
cmp dword [0x5b418c], edx
je 0x548a1e
add dword [ebp + 0xb50], 2
cmp dword [0x5b4190], edx
je 0x548a2e
mov dword [0x5b4164], edi
jmp 0x548a40
cmp dword [0x5b4194], edx
je 0x548a40
mov dword [0x5b4164], 0x1000000
mov eax, 0x5b41e0
lea ecx, [ebp + 0x77c]
jmp 0x548a50
mov edi, dword [eax]
mov dword [ecx], edi
add eax, 4
add ecx, 4
cmp eax, 0x5b42a8
jl 0x548a50
mov dword [ebp + 0x72c], 0xa
cmp dword [0x5b41a8], edx
je 0x548a82
mov eax, dword [0x5b41ac]
cmp eax, edx
je 0x548a82
mov dword [ebp + 0x72c], eax
mov dword [ebp + 0x70c], edx
cmp dword [0x5b41a8], edx
je 0x548ab6
cmp dword [0x5b41ac], edx
je 0x548ab0
mov dword [ebp + 0x70c], 2
mov ecx, dword [0x5b41b4]
mov dword [ebp + 0x774], ecx
jmp 0x548ab6
mov dword [ebp + 0x70c], esi
mov eax, dword [0x5b41b8]
mov dword [ebp + 0x744], eax
mov ecx, dword [0x5b4198]
mov eax, ecx
cmp eax, edx
mov dword [ebp + 0xa20], ecx
jne 0x548ae1
cmp dword [ebp + 0x708], edx
je 0x548ae1
mov dword [ebp + 0xa48], edx
mov edx, dword [0x5b41d4]
mov dword [ebp + 0xbc0], edx
mov eax, dword [0x5b41d8]
mov dword [ebp + 0xa28], eax
mov ecx, dword [0x5b41dc]
mov dword [ebp + 0xbc4], ecx
mov edx, dword [0x5b41c0]
mov eax, dword [0x5b4164]
xor esi, esi
xor ecx, ecx
test dl, 1
je 0x548b27
or eax, 0xc00000
mov dword [0x5b4164], eax
mov ecx, 1
test dl, 2
je 0x548b3b
or eax, 0x400000
mov dword [0x5b4164], eax
mov ecx, 1
test dl, 4
je 0x548b4f
or eax, 0x20000
mov dword [0x5b4164], eax
mov esi, 1
test dl, 8
je 0x548b63
or eax, 0x10000
mov dword [0x5b4164], eax
mov esi, 1
test dl, 0x10
je 0x548b77
or eax, 0x40000
mov dword [0x5b4164], eax
mov ecx, 1
test dl, 0x20
je 0x548b8b
or eax, 0x800000
mov dword [0x5b4164], eax
mov ecx, 1
test dl, 0x40
je 0x548b9a
or dword [0x5b4348], 0x40080
test dl, dl
jns 0x548ba8
or dword [0x5b4348], 0x80
test dh, 2
je 0x548bcc
test eax, 0x400000
je 0x548bb9
sub eax, 0x400000
test eax, 0x800000
je 0x548bc5
sub eax, 0x800000
mov ecx, 1
jmp 0x548bd4
test ecx, ecx
jne 0x548bd4
test esi, esi
je 0x548c07
mov edi, dword [esp + 0xc]
test edi, edi
je 0x548be3
or eax, 0x46080000
jmp 0x548be8
or eax, 0x86080000
test ecx, ecx
mov dword [0x5b4164], eax
jne 0x548bfb
or eax, 0x400000
mov dword [0x5b4164], eax
mov dword [0x5b4168], 1
jmp 0x548c0b
mov edi, dword [esp + 0xc]
mov eax, dword [0x5b41cc]
test eax, eax
je 0x548c23
lea edx, [ebp + 9]
mov dword [ebp + 0x74c], eax
mov dword [0x5b414c], edx
mov dword [ebp + 0x6e8], 2
mov eax, dword [0x5b41a0]
test eax, eax
je 0x548c41
mov eax, dword [0x5a2ba0]
mov dword [ebp + 0x6e8], eax
mov edx, edi
mov ecx, ebp
call fcn.00546540
test eax, eax
je 0x548f08
mov ecx, ebp
call fcn.00546b30
cmp dword [ebp + 0x70c], 1
je 0x548c85
mov ecx, ebp
call fcn.00546c30
test eax, eax
jne 0x548c85
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
mov dword [ebp], 0
pop ebp
add esp, 0x38
ret
mov dword [ebp + 0x8a0], 0
mov dword [ebp + 0x86c], 0
mov eax, dword [0x5b419c]
test eax, eax
je 0x548cd0
mov ecx, dword [0x5b41a4]
xor edx, edx
test ecx, ecx
je 0x548cb3
mov edx, 4
xor ecx, ecx
cmp eax, 1
setne cl
mov dword [ebp + 0x8a0], ecx
mov ecx, ebp
call fcn.00546d30
test eax, eax
je 0x548e34
mov eax, dword [ebp + 0x70c]
test eax, eax
je 0x548d53
mov ecx, dword [ebp + 0x77c]
test ecx, ecx
mov edx, 0x54310d51
je 0x548cee
mov edx, 0x54310dd1
cmp eax, 2
mov al, byte [ebp + 0xb50]
jne 0x548e1e
test al, 2
je 0x548d04
or edx, 2
mov ecx, ebp
call fcn.005474a0
test eax, eax
jne 0x548d27
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
mov dword [ebp], 0
pop ebp
add esp, 0x38
ret
mov eax, dword [ebp + 0x774]
test eax, eax
je 0x548dfb
mov ecx, dword [ebp + 0x874]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x874]
push 0
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp]
mov edx, 0x80b9
call fcn.00544ed0
mov eax, dword [0x5b41c8]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
je 0x548ddd
mov ecx, dword [ebp]
push 0
lea edx, [esp + 0x28]
call fcn.005448e0
mov ecx, dword [0x5b4178]
mov eax, dword [esp + 0x2c]
mov edx, dword [0x5b417c]
sub ecx, eax
mov dword [0x5b4178], ecx
mov ecx, dword [esp + 0x30]
sub edx, ecx
mov dword [0x5b417c], edx
mov ecx, dword [ebp]
lea edx, [esp + 0x24]
call fcn.00544a10
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x5b4178]
mov edx, dword [0x5b417c]
add eax, ecx
mov ecx, dword [esp + 0x30]
push 0x36
add ecx, edx
mov edx, dword [ebp]
push ecx
push eax
push 0
push 0
push 0
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call esi
mov eax, dword [0x5b41c4]
test eax, eax
je 0x548ea2
test edi, edi
je 0x548e4c
xor edx, edx
lea ecx, [esp + 0x24]
call fcn.004cf680
jmp 0x548e5e
mov eax, dword [ebp + 0x874]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp + 0x874]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x548d53
test al, 1
je 0x548e25
or edx, 2
mov ecx, ebp
call fcn.005474a0
test eax, eax
jne 0x548d53
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
mov dword [ebp], 0
pop ebp
add esp, 0x38
ret
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp]
lea edx, [esp + 0x34]
call fcn.00544a10
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
mov ecx, eax
mov eax, dword [esp + 0x30]
sub eax, edx
push 0x35
cdq
push 0
push 0
sub eax, edx
sar eax, 1
sar ecx, 1
push eax
push ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp]
push 0
push ecx
mov dword [esp + 0x44], eax
call esi
mov eax, dword [ebp + 0x744]
test eax, eax
je 0x548efc
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x548efc
mov ecx, dword [ebp]
push 0
lea edx, [esp + 0x28]
call fcn.005448e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
sub ecx, dword [esp + 0x28]
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [ebp]
push esi
push edx
mov dword [ebp + 0x948], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, 1
mov ecx, ebp
call fcn.00471ed0
mov edx, 1
mov ecx, ebp
call fcn.00546820
pop edi
pop esi
pop ebp
add esp, 0x38
ret