Function at 0x4fa840
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x40
push ebx
mov ebx, eax
mov eax, dword [esp + 0x48]
add dword [eax + 0xc0], 1
test ebx, ebx
push ebp
push esi
mov esi, dword [eax + 0x3c]
push edi
je 0x4fa9cc
cmp dword [ebx + 4], 0
jne 0x4fa921
lea ebp, [ebx + 0x24]
lea eax, [ebx + 0x20]
push ebp
push eax
call fcn.004a8b30
mov edi, dword [ebx + 0xc]
call fcn.004f9500
mov edi, eax
test edi, edi
je 0x4fa909
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x4fa89d
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.004a99f0
jmp 0x4fa8ab
mov eax, dword [edi + 8]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.004b6a00
test eax, eax
je 0x4fa8ca
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov eax, 1
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x20], ecx
mov dword [ebp], edx
mov dword [ebx + 8], eax
jmp 0x4fa8e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffb66
cmp eax, 1
ja 0x4fa8e1
mov dword [ebx + 8], 1
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x4fa8f8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004a23a0
jmp 0x4fa91a
mov eax, dword [edi + 8]
push eax
call fcn.004b5800
push edi
call fcn.004a23a0
jmp 0x4fa91a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4fa91a
mov dword [ebx], 1
mov dword [ebx + 4], 1
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
xor ecx, ecx
cmp dword [ebx + 0x2c], ecx
setne cl
push ecx
push 0x4eb
push esi
call edi
mov eax, dword [ebx + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemInt]
add eax, 0x3ff
cdq
and edx, 0x3ff
push 0
add eax, edx
sar eax, 0xa
push eax
push 0x4ee
push esi
call ebp
mov eax, dword [ebx + 0x24]
add eax, 0x3ff
cdq
and edx, 0x3ff
push 0
add eax, edx
sar eax, 0xa
push eax
push 0x4f1
push esi
call ebp
xor edx, edx
cmp dword [ebx + 0x30], edx
setne dl
push edx
push 0x4f2
push esi
call edi
xor eax, eax
cmp dword [ebx + 0x34], eax
setne al
push eax
push 0x4f6
push esi
call edi
xor ecx, ecx
cmp dword [ebx + 0x3c], ecx
setne cl
push ecx
push 0x4f5
push esi
call edi
mov edx, dword [ebx + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push edx
push 0x4f4
push esi
call edi
push eax
call fcn.004a79e0
jmp 0x4fab76
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x188
push 0x4e6
push esi
call edi
mov ebp, dword [0x58b054]
push eax
call ebp
cmp eax, 0xffffffff
je 0x4fab96
push 0
push eax
push 0x199
push 0x4e6
push esi
call edi
push eax
call ebp
mov ebx, eax
test ebx, ebx
je 0x4fab96
push 0x4eb
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0
mov ebp, eax
sub ebp, 1
push 0
neg ebp
push 0x4ee
sbb ebp, ebp
push esi
add ebp, 1
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push 0
push 0
push 0x4f1
shl eax, 0xa
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
xor ecx, ecx
shl eax, 0xa
cmp dword [ebx + 0x2c], ecx
mov dword [esp + 0x10], eax
setne cl
xor edx, edx
test ebp, ebp
setne dl
cmp edx, ecx
je 0x4faa83
push str.usn_journal_enabled_changed._n
call fcn.0048dc10
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 0x28], 1
mov ecx, dword [esp + 0x14]
cmp ecx, dword [ebx + 0x20]
je 0x4faaa4
push str.maxsize_changed._n
call fcn.0048dc10
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 0x28], 1
cmp eax, dword [ebx + 0x24]
je 0x4faac1
push str.allocation_delta_changed._n
call fcn.0048dc10
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 0x28], 1
mov edx, dword [esp + 0x14]
push 0x4f2
mov dword [ebx + 0x2c], ebp
mov ebp, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push esi
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
call ebp
sub eax, 1
neg eax
sbb eax, eax
push 0x4f6
add eax, 1
push esi
mov dword [ebx + 0x30], eax
call ebp
sub eax, 1
neg eax
sbb eax, eax
push 0x4f5
add eax, 1
push esi
mov dword [ebx + 0x34], eax
call ebp
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x54]
mov ebp, dword [eax + 0xa8]
test ebp, ebp
je 0x4fab64
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 0xc]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4fab41
lea ecx, [ecx]
test al, al
je 0x4fab4b
mov al, byte [ecx + 1]
add ecx, 1
add edx, 1
cmp al, byte [edx]
je 0x4fab30
movzx edx, byte [edx]
movzx eax, byte [ecx]
sub eax, edx
jne 0x4fab5d
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0x2c], eax
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 0x20], ecx
mov edx, dword [ebx + 0x24]
mov dword [ebp + 0x24], edx
mov ebp, dword [ebp + 0x44]
test ebp, ebp
jne 0x4fab21
mov eax, dword [ebx + 0x38]
push 0x4f4
push esi
push eax
call fcn.004f85d0
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x18], 0
je 0x4fab89
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.004ad130
test eax, eax
je 0x4fab96
push 0x4e7
push esi
call fcn.004a7b60
jmp 0x4faba1
push 0x4e7
push esi
call fcn.004a7af0
test ebx, ebx
push 0x4e5
push esi
je 0x4fabd4
call fcn.004a7b60
push 0x4f2
push esi
call fcn.004a7b60
cmp dword [ebx + 4], 0
je 0x4fabe4
cmp dword [ebx + 8], 0
je 0x4fabe4
push 0x4eb
push esi
call fcn.004a7b60
jmp 0x4fabef
call fcn.004a7af0
push 0x4f2
push esi
call fcn.004a7af0
push 0x4eb
push esi
call fcn.004a7af0
test ebx, ebx
je 0x4facb7
cmp dword [ebx], 0
je 0x4facb7
push 0
push 0
push 0x171
push 0x4f8
push esi
call edi
push eax
call dword [0x58b054]
test eax, eax
jne 0x4fac44
push 0x7f01
push eax
call dword [0x58b028]
push eax
push 0x4f8
push esi
call edi
push eax
call fcn.004ac590
push str.load_icon_n
call fcn.0048dc10
add esp, 4
push 8
push 0x4f7
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebp
push 8
push 0x4f8
push esi
call edi
push eax
call ebp
push 0
push 0x4ec
push esi
call edi
push eax
call ebp
push 0
push 0x4ed
push esi
call edi
push eax
call ebp
push 0
push 0x4ee
push esi
call edi
push eax
call ebp
push 0
push 0x4ef
push esi
call edi
push eax
call ebp
push 0
push 0x4f0
push esi
call edi
push eax
call ebp
push 0
push 0x4f1
push esi
call edi
push eax
call ebp
jmp 0x4fadc1
push 8
push 0x4ec
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebp
push 8
push 0x4ed
push esi
call edi
push eax
call ebp
push 8
push 0x4ee
push esi
call edi
push eax
call ebp
push 8
push 0x4ef
push esi
call edi
push eax
call ebp
push 8
push 0x4f0
push esi
call edi
push eax
call ebp
push 8
push 0x4f1
push esi
call edi
push eax
call ebp
push 0
push 0x4f7
push esi
call edi
push eax
call ebp
push 0
push 0x4f8
push esi
call edi
push eax
call ebp
test ebx, ebx
je 0x4fad7f
cmp dword [ebx + 4], 0
je 0x4fad7f
cmp dword [ebx + 8], 0
je 0x4fad7f
cmp dword [ebx + 0x2c], 0
je 0x4fad7f
push 0x4ec
push esi
call fcn.004a7b60
push 0x4ed
push esi
call fcn.004a7b60
push 0x4ee
push esi
call fcn.004a7b60
push 0x4ef
push esi
call fcn.004a7b60
push 0x4f0
push esi
call fcn.004a7b60
push 0x4f1
push esi
call fcn.004a7b60
jmp 0x4fadc1
push 0x4ec
push esi
call fcn.004a7af0
push 0x4ed
push esi
call fcn.004a7af0
push 0x4ee
push esi
call fcn.004a7af0
push 0x4ef
push esi
call fcn.004a7af0
push 0x4f0
push esi
call fcn.004a7af0
push 0x4f1
push esi
call fcn.004a7af0
test ebx, ebx
je 0x4fae0c
cmp dword [ebx + 0x30], 0
je 0x4fae0c
push 0x4f3
push esi
call fcn.004a7b60
push 0x4f4
push esi
call fcn.004a7b60
push 0x4f5
push esi
call fcn.004a7b60
push 0x4f6
push esi
call fcn.004a7b60
mov eax, dword [esp + 0x54]
add dword [eax + 0xc0], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
push 0x4f3
push esi
call fcn.004a7af0
push 0x4f4
push esi
call fcn.004a7af0
push 0x4f5
push esi
call fcn.004a7af0
push 0x4f6
push esi
call fcn.004a7af0
mov eax, dword [esp + 0x54]
add dword [eax + 0xc0], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4