Function at 0x5568b0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x5c8810]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x634], ecx
lea eax, [ebp - 0x420]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x62c], eax
mov ecx, dword [ebp - 0x634]
add ecx, 0x4e8
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x424], eax
push 0x58ecec
push 0x58ed0c
lea edx, [ebp - 8]
push edx
call fcn.0053120a
add esp, 0xc
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x556937
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x424], eax
jmp 0x556cf1
mov ecx, dword [ebp - 8]
push ecx
push 0xff
lea edx, [ebp - 0x628]
push edx
call fcn.0053136b
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x58ed2c
lea eax, [ebp - 0x628]
push eax
call fcn.004035a0
add esp, 8
test eax, eax
jne 0x55698e
mov ecx, dword [ebp - 8]
push ecx
call fcn.005312d4
add esp, 4
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x424], eax
jmp 0x556cf1
mov eax, dword [ebp - 8]
push eax
push 0xff
lea ecx, [ebp - 0x628]
push ecx
call fcn.0053136b
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x556cd2
push str.USE_ACPI
lea edx, [ebp - 0x628]
push edx
call fcn.004035a0
add esp, 8
test eax, eax
je 0x556a01
lea eax, [ebp - 4]
push eax
push str.USE_ACPI_d
lea ecx, [ebp - 0x628]
push ecx
call fcn.0053149c
add esp, 0xc
test eax, eax
je 0x5569fc
xor edx, edx
cmp dword [ebp - 4], 0
setne dl
mov eax, dword [ebp - 0x634]
mov dword [eax + 0xc4], edx
jmp 0x556cb2
push str.USE_SMBUS
lea ecx, [ebp - 0x628]
push ecx
call fcn.004035a0
add esp, 8
test eax, eax
je 0x556a4f
lea edx, [ebp - 4]
push edx
push str.USE_SMBUS_d
lea eax, [ebp - 0x628]
push eax
call fcn.0053149c
add esp, 0xc
test eax, eax
je 0x556a4a
xor ecx, ecx
cmp dword [ebp - 4], 0
setne cl
mov edx, dword [ebp - 0x634]
mov dword [edx + 0xc0], ecx
jmp 0x556cb2
push str.USE_SMART
lea eax, [ebp - 0x628]
push eax
call fcn.004035a0
add esp, 8
test eax, eax
je 0x556a9d
lea ecx, [ebp - 4]
push ecx
push str.USE_SMART_d
lea edx, [ebp - 0x628]
push edx
call fcn.0053149c
add esp, 0xc
test eax, eax
je 0x556a98
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov ecx, dword [ebp - 0x634]
mov dword [ecx + 0xc8], eax
jmp 0x556cb2
push str.USE_LPCIO
lea edx, [ebp - 0x628]
push edx
call fcn.004035a0
add esp, 8
test eax, eax
je 0x556aeb
lea eax, [ebp - 4]
push eax
push str.USE_LPCIO_d
lea ecx, [ebp - 0x628]
push ecx
call fcn.0053149c
add esp, 0xc
test eax, eax
je 0x556ae6
xor edx, edx
cmp dword [ebp - 4], 0
setne dl
mov eax, dword [ebp - 0x634]
mov dword [eax + 0xcc], edx
jmp 0x556cb2
push str.USE_DISPLAY
lea ecx, [ebp - 0x628]
push ecx
call fcn.004035a0
add esp, 8
test eax, eax
je 0x556b39
lea edx, [ebp - 4]
push edx
push str.USE_DISPLAY_d
lea eax, [ebp - 0x628]
push eax
call fcn.0053149c
add esp, 0xc
test eax, eax
je 0x556b34
xor ecx, ecx
cmp dword [ebp - 4], 0
setne cl
mov edx, dword [ebp - 0x634]
mov dword [edx + 0xd0], ecx
jmp 0x556cb2
push str.USE_USBXPRESS
lea eax, [ebp - 0x628]
push eax
call fcn.004035a0
add esp, 8
test eax, eax
je 0x556b87
lea ecx, [ebp - 4]
push ecx
push str.USE_USBXPRESS_d
lea edx, [ebp - 0x628]
push edx
call fcn.0053149c
add esp, 0xc
test eax, eax
je 0x556b82
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov ecx, dword [ebp - 0x634]
mov dword [ecx + 0xd4], eax
jmp 0x556cb2
push str.VERSION
lea edx, [ebp - 0x628]
push edx
call fcn.004035a0
add esp, 8
test eax, eax
je 0x556bd6
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
push str.VERSION_d._d._d._d
lea ecx, [ebp - 0x628]
push ecx
call fcn.0053149c
add esp, 0x18
test eax, eax
je 0x556bd1
mov dword [ebp - 0x630], 0
jmp 0x556cb2
push str.UPDATES
lea edx, [ebp - 0x628]
push edx
call fcn.004035a0
add esp, 8
test eax, eax
je 0x556c24
lea eax, [ebp - 4]
push eax
push str.UPDATES_d
lea ecx, [ebp - 0x628]
push ecx
call fcn.0053149c
add esp, 0xc
test eax, eax
je 0x556c1f
xor edx, edx
cmp dword [ebp - 4], 0
setne dl
mov eax, dword [ebp - 0x634]
mov dword [eax + 0xdc], edx
jmp 0x556cb2
push str.DARKTHEME
lea ecx, [ebp - 0x628]
push ecx
call fcn.004035a0
add esp, 8
test eax, eax
je 0x556c6f
lea edx, [ebp - 4]
push edx
push str.DARKTHEME_d
lea eax, [ebp - 0x628]
push eax
call fcn.0053149c
add esp, 0xc
test eax, eax
je 0x556c6d
xor ecx, ecx
cmp dword [ebp - 4], 0
setne cl
mov edx, dword [ebp - 0x634]
mov dword [edx + 0xe0], ecx
jmp 0x556cb2
push str.TEMP_UNIT
lea eax, [ebp - 0x628]
push eax
call fcn.004035a0
add esp, 8
test eax, eax
je 0x556cb2
lea ecx, [ebp - 4]
push ecx
push str.TEMP_UNIT_d
lea edx, [ebp - 0x628]
push edx
call fcn.0053149c
add esp, 0xc
test eax, eax
je 0x556cb2
mov eax, dword [ebp - 0x634]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xe4], ecx
mov edx, dword [ebp - 8]
push edx
push 0xff
lea eax, [ebp - 0x628]
push eax
call fcn.0053136b
add esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x5569a9
mov ecx, dword [ebp - 8]
push ecx
call fcn.005312d4
add esp, 4
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0053081c
mov esp, ebp
pop ebp
ret