Function at 0x4b5920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5137f2
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5522f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x90], ecx
mov ebx, dword [ebp + 8]
call fcn.004b8bc0
push 0
push 0x4b5f20
push eax
push 0xa2
push dword [0x56ae3c]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x4b5b7f
test esi, esi
jne 0x4b5990
call fcn.004c8120
mov esi, eax
push esi
push 0
call fcn.004f5d20
mov edi, eax
add esp, 8
mov dword [ebp - 0x94], edi
mov dword [ebp - 4], 0
test ebx, ebx
je 0x4b59bd
push ebx
push 0
call fcn.004f5d20
add esp, 8
mov esi, eax
jmp 0x4b59bf
xor esi, esi
mov dword [ebp - 0x98], esi
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x30]
push 0
push 0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00402c40
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 8
mov ebx, dword [ebp - 0x8c]
mov dword [ebp - 0x80], ebx
test edi, edi
je 0x4b5a7f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b5a66
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x7c]
call fcn.00404310
test esi, esi
je 0x4b5aa9
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b5a90
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.00404310
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4b5ac3
mov eax, dword [ecx]
mov dword [ebp - 0x88], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x84], eax
jmp 0x4b5ad7
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
mov eax, dword [0x568604]
mov ecx, dword [ebp - 0x90]
inc eax
mov dword [0x568604], eax
or eax, 0xf8000001
mov dword [ecx], eax
lea eax, [ebp - 0x80]
push eax
push ecx
call fcn.00408390
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x88]
push eax
call fcn.00408430
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.004070f0
mov byte [ebp - 4], 0
test esi, esi
je 0x4b5b67
push esi
call fcn.00427666
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4b5b7b
push edi
call fcn.00427666
add esp, 4
xor eax, eax
jmp 0x4b5b84
mov eax, 0x80000001
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427655
mov esp, ebp
pop ebp
ret