Function at 0x100747a0
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171d6c
mov eax, dword fs:[0]
push eax
mov eax, 0x222c
call fcn.100acf60
mov eax, dword [0x101d7c7c]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x2238]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2224], eax
call fcn.1002be00
push esi
push edi
push ebx
lea ecx, [ebp - 0x2238]
mov dword [ebp - 4], 0
call fcn.1002c1d0
test eax, eax
jne 0x1007480f
xor edi, edi
jmp 0x10074a8b
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x10074ab6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2220], eax
lea eax, [ebp - 0x2220]
mov byte [ebp - 4], 1
push eax
call fcn.1002bfd0
mov esi, dword [ebp - 0x2220]
add esp, 4
or ebx, 0xffffffff
test eax, eax
je 0x10074a70
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea ecx, [ebp - 0x2238]
call fcn.1002c210
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10074a70
push 0x2000
lea eax, [ebp - 0x2218]
push 0
push eax
call fcn.10112750
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2218]
add esp, 0xc
push esi
push 0x1000
push eax
push 0x10186a64
push 0x10195e80
push str.CheckSign
call edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x104
push eax
push 0x10186a64
push 0x10195ea4
push str.CheckSign
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x10195ea4
push ecx
mov ecx, esp
push 0x1018a118
call fcn.1000e0d0
mov edi, dword [ebp - 0x2224]
lea eax, [ebp - 0x222c]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov ecx, edi
call fcn.100738e0
push 0x10195e80
push ecx
mov ecx, esp
mov byte [ebp - 4], 2
push 0x1018a118
call fcn.1000e0d0
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x2228]
mov ecx, edi
push eax
call fcn.100738e0
mov eax, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x2228]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
je 0x1007499c
cmp dword [ecx - 0xc], 0
je 0x1007499c
lea edx, [ebp - 0x218]
nop dword [eax]
mov di, word [eax]
cmp di, word [edx]
jne 0x10074986
test di, di
je 0x10074982
mov di, word [eax + 2]
cmp di, word [edx + 2]
jne 0x10074986
add eax, 4
add edx, 4
test di, di
jne 0x10074960
xor eax, eax
jmp 0x1007498b
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
jne 0x1007499c
mov edi, 1
jmp 0x10074a32
lea edx, [ebp - 0x2218]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100749a5
sub edx, edi
sar edx, 1
je 0x10074a30
lea edx, [ebp - 0x218]
lea edi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100749c0
sub edx, edi
sar edx, 1
je 0x10074a30
lea eax, [ebp - 0x218]
push eax
push 0x10195ea4
push ecx
mov ecx, esp
push 0x1018a118
call fcn.1000e0d0
mov ecx, dword [ebp - 0x2224]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10073a70
lea eax, [ebp - 0x2218]
push eax
push 0x10195e80
push ecx
mov ecx, esp
push 0x1018a118
call fcn.1000e0d0
mov ecx, dword [ebp - 0x2224]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10073a70
mov ecx, dword [ebp - 0x2228]
mov edi, 1
jmp 0x10074a32
xor edi, edi
mov byte [ebp - 4], 2
lea edx, [ecx - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10074a4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x222c]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10074a72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10074a72
xor edi, edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10074a8b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x2238]
call fcn.1002be20
mov eax, edi
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.100acb08
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.1000ae00
int3