Function at 0x10050f50
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f4b84
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x10283a3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x38], 0x73006d
mov word [ebp - 0x34], ax
call fcn.1002dc00
mov ecx, eax
test ecx, ecx
je 0x10051375
mov eax, dword [ecx]
push 2
push 2
call dword [eax]
test eax, eax
je 0x1005137f
cmp dword [eax + 8], 2
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2c], ebx
jl 0x1005136b
xor eax, eax
mov dword [ebx - 0xc], 2
mov word [ebx + 4], ax
lea eax, [ebp - 0x38]
push 4
push eax
push 4
push ebx
call fcn.1002b280
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
push 1
push eax
mov dword [ebp - 0x14], 1
call fcn.10041ac0
add esp, 0x18
mov byte [ebp - 4], 2
mov ecx, ebx
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005103b
test dx, dx
je 0x10051032
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005103b
add eax, 4
add ecx, 4
test dx, dx
jne 0x10051010
mov dword [ebp - 0x20], 0
jmp 0x10051043
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x28]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10051064
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
mov dword [ebp - 0x14], esi
and esi, 0xfffffffe
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x10051090
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x20], 0
jne 0x100511b3
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.10041850
add esp, 8
mov dword [ebp - 4], 6
mov dword [ebp - 0x64], 0x6f0043
mov dword [ebp - 0x60], 0x70006d
mov dword [ebp - 0x5c], 0x740075
mov dword [ebp - 0x58], 0x720065
mov dword [ebp - 0x54], 0x2e005a
mov dword [ebp - 0x50], 0x650073
mov dword [ebp - 0x4c], 0x74
call fcn.1002dc00
mov ecx, eax
test ecx, ecx
je 0x10051384
mov eax, dword [ecx]
push 2
push 0xd
call dword [eax]
test eax, eax
je 0x1005138e
cmp dword [eax + 8], 0xd
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2c], ebx
jl 0x1005136b
xor eax, eax
mov dword [ebx - 0xc], 0xd
mov word [ebx + 0x1a], ax
lea eax, [ebp - 0x64]
push 0x1a
push eax
push 0x1a
push ebx
call fcn.1002b280
add esp, 0x10
mov byte [ebp - 4], 6
or esi, 2
push ebx
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
call fcn.1004a910
mov byte [ebp - 4], 8
and esi, 0xfffffffd
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 9
add ebx, 0xfffffff0
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x10051169
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100511d3
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10051194
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100511b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov cl, byte [ebp - 0xd]
mov byte [eax + 4], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x80], 0x6c0042
mov dword [ebp - 0x7c], 0x63006f
mov dword [ebp - 0x78], 0x50006b
mov dword [ebp - 0x74], 0x70006f
mov dword [ebp - 0x70], 0x700055
mov dword [ebp - 0x6c], 0x440041
mov dword [ebp - 0x68], 0x53
call fcn.1002dc00
mov ecx, eax
test ecx, ecx
je 0x10051393
mov eax, dword [ecx]
push 2
push 0xd
call dword [eax]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1005139d
add eax, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [eax - 8], 0xd
jl 0x1005136b
xor ecx, ecx
mov dword [eax - 0xc], 0xd
mov word [eax + 0x1a], cx
lea ecx, [ebp - 0x80]
push 0x1a
push ecx
push 0x1a
push eax
call fcn.1002b280
add esp, 0x10
mov byte [ebp - 4], 0xd
or esi, 8
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x48], 0x650067
mov dword [ebp - 0x44], 0x65006e
mov dword [ebp - 0x40], 0x610072
mov dword [ebp - 0x3c], 0x6c
call fcn.1002dc00
mov ecx, eax
test ecx, ecx
je 0x100513a2
mov eax, dword [ecx]
push 2
push 7
call dword [eax]
test eax, eax
je 0x100513ac
cmp dword [eax + 8], 7
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
jl 0x1005136b
xor eax, eax
mov dword [ebx - 0xc], 7
mov word [ebx + 0xe], ax
lea eax, [ebp - 0x48]
push 0xe
push eax
push 0xe
push ebx
call fcn.1002b280
add esp, 0x10
mov byte [ebp - 4], 0xf
or esi, 0x10
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], esi
add eax, 0x10
push dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and esi, 0xffffffef
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xd
add ebx, 0xfffffff0
mov ecx, edi
lock xadd dword [ebx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10051316
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
and esi, 0xfffffff7
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x20]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10051337
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x28], 1
jne 0x10051348
mov dword [ebp - 0x24], 2
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10051366
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10051194
push 0x80070057
call fcn.100253e0
push 0x80004005
call fcn.100253e0
call fcn.10025b20
push 0x80004005
call fcn.100253e0
call fcn.10025b20
push 0x80004005
call fcn.100253e0
call fcn.10025b20
push 0x80004005
call fcn.100253e0
call fcn.10025b20
int3