Function at 0x100318b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005895d
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x10076098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.10006750
mov byte [ebp - 4], 5
lea eax, [ebp + 0x24]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x304], esp
lea edx, [ebp + 0xc]
push edx
call fcn.100019bf
mov dword [ebp - 0x308], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 5
call fcn.10031710
add esp, 0x1c
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x24c]
push eax
call fcn.10022bf0
add esp, 0xc
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x294]
call fcn.10001c5a
lea ecx, [ebp - 0x24c]
push ecx
call fcn.1000fb30
add esp, 4
movzx edx, al
test edx, edx
je 0x10031b37
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.10034760
add esp, 0xc
lea ecx, [ebp - 0x24c]
call fcn.10005cd0
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x100672bc
lea ecx, [ebp + 0x54]
call fcn.10005cd0
push eax
lea ecx, [ebp + 0x3c]
call fcn.10005cd0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x21c]
test ecx, ecx
je 0x10031b37
lea edx, [ebp - 0x21c]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x310], esp
lea eax, [ebp + 0xc]
push eax
call fcn.100019bf
mov dword [ebp - 0x314], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c4]
push ecx
mov byte [ebp - 4], 9
call fcn.100317e0
add esp, 0x1c
mov dword [ebp - 0x2ec], eax
mov edx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.10006a60
add esp, 0xc
mov dword [ebp - 0x2f4], eax
mov edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x234]
call fcn.1000193b
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2ac]
call fcn.10001c5a
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c4]
call fcn.10001c5a
lea ecx, [ebp - 0x234]
push ecx
call fcn.1000fd10
add esp, 4
movzx edx, al
test edx, edx
je 0x10031b37
push 0x10
lea eax, [ebp - 0x234]
push eax
call fcn.10005ce0
add esp, 8
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100066e0
mov edx, dword [ebp - 0x2e0]
or edx, 1
mov dword [ebp - 0x2e0], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.10001c5a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.10001c5a
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.10001c5a
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x24]
call fcn.10001c5a
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3c]
call fcn.10001c5a
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x54]
call fcn.10001c5a
mov eax, dword [ebp + 8]
jmp 0x10031dbd
lea ecx, [ebp - 0x264]
call fcn.10021c60
mov byte [ebp - 4], 0xd
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x264]
call fcn.10021cc0
lea ecx, [ebp - 0x2dc]
push ecx
lea ecx, [ebp - 0x264]
call fcn.100223a0
mov dword [ebp - 0x2fc], eax
mov edx, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x300]
push eax
lea ecx, [ebp - 0x234]
call fcn.1000193b
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2dc]
call fcn.10001c5a
lea ecx, [ebp - 0x234]
push ecx
call fcn.1000fd10
add esp, 4
movzx edx, al
test edx, edx
je 0x10031c4c
push 0x10
lea eax, [ebp - 0x234]
push eax
call fcn.10005ce0
add esp, 8
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100066e0
mov edx, dword [ebp - 0x2e0]
or edx, 1
mov dword [ebp - 0x2e0], edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x264]
call fcn.10016da0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.10001c5a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.10001c5a
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.10001c5a
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x24]
call fcn.10001c5a
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3c]
call fcn.10001c5a
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x54]
call fcn.10001c5a
mov eax, dword [ebp + 8]
jmp 0x10031dbd
lea eax, [ebp - 0x27c]
push eax
call fcn.10032040
add esp, 4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.10010d10
add esp, 8
lea eax, [ebp - 0x234]
push eax
call fcn.1000fd10
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10031d32
push 0x10
lea edx, [ebp - 0x234]
push edx
call fcn.10005ce0
add esp, 8
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 8]
call fcn.100066e0
mov ecx, dword [ebp - 0x2e0]
or ecx, 1
mov dword [ebp - 0x2e0], ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x27c]
call fcn.10001c5a
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x264]
call fcn.10016da0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.10001c5a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.10001c5a
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.10001c5a
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x24]
call fcn.10001c5a
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3c]
call fcn.10001c5a
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x54]
call fcn.10001c5a
mov eax, dword [ebp + 8]
jmp 0x10031dbd
push 0x100672bc
mov ecx, dword [ebp + 8]
call fcn.1000198e
mov edx, dword [ebp - 0x2e0]
or edx, 1
mov dword [ebp - 0x2e0], edx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x27c]
call fcn.10001c5a
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x264]
call fcn.10016da0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.10001c5a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.10001c5a
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.10001c5a
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x24]
call fcn.10001c5a
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3c]
call fcn.10001c5a
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x54]
call fcn.10001c5a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100325c7
mov esp, ebp
pop ebp
ret