Function at 0x5b9a54
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00405ec4
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x5b9de8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5d4d98]
mov byte [eax], 0
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.004031b8
mov eax, dword [0x5dbde8]
call fcn.00403148
mov eax, 0x5dbe04
mov edx, dword [ebp - 8]
call fcn.00405a98
mov eax, dword [0x5d4c80]
cmp byte [eax], 0
je 0x5b9ae9
cmp byte [ebp + 8], 0
je 0x5b9adf
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c09c0]
call fcn.0042a378
mov edx, dword [0x5d4ca4]
mov dword [edx], eax
mov eax, dword [0x5d4ca4]
mov eax, dword [eax]
call fcn.0042a838
mov edi, 6
jmp 0x5b9dcd
mov eax, dword [ebp - 8]
call fcn.005b3f94
mov dword [esi], eax
mov eax, dword [esi]
movzx ebx, byte [eax + 0x57]
cmp byte [0x5dbdf0], 0
jne 0x5b9b23
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
cmp eax, dword [0x5dbdfc]
jne 0x5b9b1c
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
cmp eax, dword [0x5dbe00]
je 0x5b9b23
mov byte [0x5dbdf0], 1
cmp byte [0x5dbdf0], 0
je 0x5b9b4b
mov dl, 4
mov eax, dword [esi]
call fcn.0047f264
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
mov dword [0x5dbdfc], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
mov dword [0x5dbe00], eax
jmp 0x5b9b6e
xor edx, edx
mov eax, dword [esi]
call fcn.0047f264
mov edx, dword [0x5dbdf4]
mov eax, dword [esi]
call fcn.00482c50
mov edx, dword [0x5dbdf8]
mov eax, dword [esi]
call fcn.00482c8c
mov byte [0x5dbdf0], 0
mov eax, dword [0x5d4d98]
mov byte [eax], 0
movzx eax, byte [ebp - 0x11]
xor al, 1
mov edx, dword [esi]
mov byte [edx + 0x382], al
mov eax, dword [esi]
call fcn.005bb520
cmp byte [ebp - 0x11], 0
je 0x5b9ce6
cmp byte [ebp + 8], 0
je 0x5b9bab
mov eax, dword [esi]
mov byte [eax + 0x381], 1
mov eax, dword [esi]
mov dword [eax + 0x374], 0xffffffff
mov eax, dword [esi]
mov byte [eax + 0x370], 0
push ebp
call fcn.005b99f8
pop ecx
test bl, bl
jne 0x5b9bdf
mov eax, dword [esi]
call fcn.005b39d8
test al, al
jne 0x5b9bdf
mov eax, dword [esi]
mov byte [eax + 0x240], 1
cmp dword [0x5d4668], 0
je 0x5b9c47
mov eax, dword [0x5d4668]
cmp eax, dword [esi]
je 0x5b9c47
mov eax, dword [0x5d4668]
mov byte [eax + 0x370], 1
mov eax, dword [0x5d4668]
call fcn.00482244
push 0
mov eax, dword [0x5d4668]
call fcn.0046fc84
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x5d466c]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x5d4670]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 8]
call fcn.005b3770
mov eax, dword [0x5d4d74]
mov eax, dword [eax]
call fcn.00485f0c
mov eax, dword [esi]
mov dword [0x5d4668], eax
mov eax, dword [esi]
call fcn.0046fc84
mov dword [0x5d466c], eax
push ebp
call fcn.005b99f8
pop ecx
mov eax, dword [esi]
call fcn.005b39d8
test al, al
jne 0x5b9c8d
mov eax, dword [esi]
mov byte [eax + 0x240], 0
jmp 0x5b9c8d
mov eax, dword [0x5d4c80]
cmp byte [eax], 0
jne 0x5b9c8d
mov eax, dword [0x5d4d74]
mov eax, dword [eax]
call fcn.00485f24
mov eax, dword [esi]
cmp dword [eax + 0x374], 0xffffffff
je 0x5b9c77
mov eax, dword [esi]
mov edi, dword [eax + 0x374]
cmp edi, 8
jne 0x5b9cb7
mov eax, dword [ebp - 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x378]
call fcn.00405a98
jmp 0x5b9cbf
mov eax, dword [ebp - 0x10]
call fcn.00405a44
mov eax, 0x5dbe04
call fcn.00405a44
mov eax, dword [esi]
call fcn.0047d620
mov dword [0x5dbdf4], eax
mov eax, dword [esi]
call fcn.0047d640
mov dword [0x5dbdf8], eax
jmp 0x5b9dc5
mov eax, dword [esi]
call fcn.0046fc84
mov edi, eax
mov eax, dword [esi]
mov byte [eax + 0x370], 0
push ebp
call fcn.005b99f8
pop ecx
test bl, bl
jne 0x5b9d17
mov eax, dword [esi]
call fcn.005b39d8
test al, al
jne 0x5b9d17
mov eax, dword [esi]
mov byte [eax + 0x240], 1
cmp dword [0x5d4668], 0
je 0x5b9d7f
mov eax, dword [0x5d4668]
cmp eax, dword [esi]
je 0x5b9d7f
mov eax, dword [0x5d4668]
mov byte [eax + 0x370], 1
mov eax, dword [0x5d4668]
call fcn.00482244
push 0
mov eax, dword [0x5d4668]
call fcn.0046fc84
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x5d466c]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x5d4670]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 8]
call fcn.005b3770
mov eax, dword [0x5d4d74]
mov eax, dword [eax]
call fcn.00485f0c
mov eax, dword [esi]
mov dword [0x5d4668], eax
mov eax, dword [esi]
call fcn.0046fc84
mov dword [0x5d466c], eax
push ebp
call fcn.005b99f8
pop ecx
mov eax, dword [esi]
call fcn.005b39d8
test al, al
jne 0x5b9dad
mov eax, dword [esi]
mov byte [eax + 0x240], 0
mov eax, dword [esi]
call fcn.0047d620
mov dword [0x5dbdf4], eax
mov eax, dword [esi]
call fcn.0047d640
mov dword [0x5dbdf8], eax
mov eax, dword [ebp - 0xc]
call fcn.00403148
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b9def
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405a68
ret