Function at 0x1000fce0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026cae
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x10031040]
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
mov dword [ebp - 4], 0
cmp dword [0x100345f0], 0
mov esi, dword [0x1003438c]
jne 0x1000ff23
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x21a]
mov ebx, 1
push ecx
mov dword [0x100345f0], ebx
mov word [ebp - 0x21c], ax
call fcn.10018f30
mov eax, dword [esi + 0x78]
add esp, 0xc
push eax
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Conf
lea eax, [ebp - 0x21c]
push eax
call edi
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.Conf.ini
lea edx, [ebp - 0x21c]
push edx
call edi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x426]
push ecx
mov word [ebp - 0x428], ax
call fcn.10018f30
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0
push 0x1002b4c4
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x428]
call fcn.100116c0
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x430]
call fcn.100128c0
mov ebx, eax
call fcn.10012940
mov edx, dword [ebp - 0x430]
cmp dword [edx - 0xc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jne 0x1000fe55
lea eax, [ebp - 0x42c]
push eax
mov ecx, esi
call fcn.10010810
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push ecx
push eax
push 0x1002b4c4
push str.info
call ebx
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000fe55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [ebp - 0x42c]
call fcn.10010a40
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push ecx
push eax
push 0x1002b4cc
push str.info
call ebx
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000fe98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edx, [ebp - 0x434]
push str.S10S2successS8
lea ecx, [esi + 0xc4]
push edx
call fcn.10011820
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x434]
add esp, 4
add eax, 0xfffffff0
mov dword [ebp - 0x438], esp
mov edi, esp
call fcn.10001cf0
add eax, 0x10
push esi
mov dword [edi], eax
call fcn.100102c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x434]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000fefd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ff23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x70], 0
je 0x1000ff4a
lea edi, [esi + 0xb0]
lea eax, [ebp + 8]
call fcn.100017f0
mov ecx, dword [esi + 4]
push 0
push 0
push 0x465
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000ff70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.10017423
mov esp, ebp
pop ebp
ret 4