Function at 0x10005400
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100fc03c]
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
xor eax, eax
mov dword [ebp - 0x40], str.RestoreLastSession
mov dword [ebp - 0x3c], str.InvokeBrowserEnabled
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], str.RestoreLastSession
mov dword [ebp - 0x30], str.RestoreCloudEnabled
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], str.RestoreLastSession
mov dword [ebp - 0x24], str.RestoreSettingsEnabled
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], str.RestoreLastSession
mov dword [ebp - 0x18], str.RestoreDelaySeconds
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
push eax
call fcn.100843a0
add esp, 4
test al, al
je 0x100056f2
push 0xd
xor eax, eax
mov dword [ebp - 0x78], 0
push str.Config_path:
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.10002eb0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x88]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.10002ff0
push 0x80
call fcn.10088fec
add esp, 4
mov ebx, eax
xor edi, edi
push 0x80
push 0
push ebx
call fcn.1008bb90
add esp, 0xc
lea eax, [ebp - 0x58]
cmp edi, 3
je 0x10005631
cmp dword [ebp - 0x44], 8
lea esi, [edi + edi*2]
mov edx, dword [ebp + esi*4 - 0x3c]
cmovae eax, dword [ebp - 0x58]
mov ecx, dword [ebp + esi*4 - 0x40]
push eax
push 0x40
push ebx
push 0x100db864
push edx
push ecx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
call fcn.10091b31
add esp, 4
cmp eax, dword [ebp + esi*4 - 0x38]
je 0x1000568c
push ebx
call fcn.10088fa9
add esp, 4
mov dword [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 7
lea ecx, [ebp - 0x70]
mov word [ebp - 0x70], ax
push 6
push str.Read:
call fcn.10002eb0
mov edx, dword [ebp - 0x8c]
mov ecx, edx
mov byte [ebp - 4], 2
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100055a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.10002ff0
push 1
push 0x100dba40
lea ecx, [ebp - 0x70]
call fcn.10002ff0
mov edx, dword [ebp - 0x90]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100055d3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.10002ff0
push 6
push 0x100dba44
lea ecx, [ebp - 0x70]
call fcn.10002ff0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x100056a2
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005698
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005744
jmp 0x10005698
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
push 0x40
push ebx
push 0x100dba54
push str.RestoreDelaySeconds
push str.RestoreLastSession
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
call fcn.10091b31
mov esi, eax
add esp, 4
cmp esi, 5
mov eax, 5
cmovl esi, eax
push 4
call fcn.10088fae
add esp, 4
imul ecx, esi, 0x3e8
push 8
push 0
push ecx
push eax
push 0x10005760
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
inc edi
cmp edi, 4
jb 0x10005505
jmp 0x100056a2
push edx
push ecx
call fcn.10088fde
add esp, 8
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x100056db
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100056d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005749
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10005728
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000571e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000574e
push edx
push ecx
call fcn.10088fde
add esp, 8
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.10088f98
mov esp, ebp
pop ebp
ret
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
int3