Function at 0x10178c60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f910d
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x102632d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x124], 0
lea eax, [ebp - 0xcc]
push eax
call fcn.101772d0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.1000ec70
add esp, 4
movzx edx, al
test edx, edx
jne 0x10178ce2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10008820
jmp 0x10178f4a
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.1000b610
add esp, 8
mov byte [ebp - 4], 1
push 0x80
push 0
lea edx, [ebp - 0x90]
push edx
call fcn.101a9880
add esp, 0xc
lea ecx, [ebp - 0xe4]
call fcn.1000b830
push eax
push 0x80
lea eax, [ebp - 0x90]
push eax
push 0x102027f3
push str.ActionFlag
push 0x102027dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x148]
call fcn.1000b950
mov byte [ebp - 4], 2
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.100c4260
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x148]
call fcn.1000b890
lea ecx, [ebp - 0xb4]
call fcn.10009930
movzx ecx, al
test ecx, ecx
je 0x10178dc1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.1000b890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.1000b890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10008820
jmp 0x10178f4a
push 0xc
lea ecx, [ebp - 0x9c]
call fcn.10008df0
lea ecx, [ebp - 0x9c]
call fcn.1000d2b0
mov byte [ebp - 4], 5
push 0x102631a4
lea ecx, [ebp - 0x11c]
call fcn.100c15f0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0xb4]
call fcn.10009ba0
push eax
lea ecx, [ebp - 0xb4]
call fcn.1000b830
push eax
lea ecx, [ebp - 0x11c]
call fcn.100c1920
mov byte [ebp - 0x11e], al
movzx eax, byte [ebp - 0x11e]
test eax, eax
jne 0x10178e7f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11c]
call fcn.10008010
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.10017d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.1000b890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.1000b890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10008820
jmp 0x10178f4a
lea ecx, [ebp - 0xfc]
call fcn.1000b9c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.100d4ea0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x9c]
call fcn.100d4eb0
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0xfc]
call fcn.10176ed0
push 0
lea ecx, [ebp - 0xfc]
call fcn.1000b830
push eax
call fcn.10015860
add esp, 8
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xfc]
call fcn.1000b890
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11c]
call fcn.10008010
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.10017d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.1000b890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.1000b890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10008820
xor edx, edx
jne 0x10178c9f
cmp dword [ebp - 0x128], 1
jne 0x10178f65
cmp dword [ebp - 0x124], 0
jne 0x10178f65
mov byte [ebp - 0x11d], 1
jmp 0x10178f6c
mov byte [ebp - 0x11d], 0
mov al, byte [ebp - 0x11d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101912fd
mov esp, ebp
pop ebp
ret