Function at 0x40c840
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495391
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4d7204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00405e20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c888
xor eax, eax
jmp 0x40cefb
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
je 0x40cc8e
lea ecx, [ebp - 0xa4]
call fcn.00403c10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
lea ecx, [ebp - 0xa4]
call fcn.004054f0
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
lea ecx, [ebp - 0x9c]
call fcn.004054f0
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
lea ecx, [ebp - 0x98]
call fcn.004054f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x90], ecx
mov edx, dword [0x4d6004]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004032e0
mov byte [ebp - 4], 1
mov eax, dword [0x4d600c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004032e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.00448a70
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.004049f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004049f0
lea ecx, [ebp - 0x5c]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040a2c0
test eax, eax
jne 0x40c9c0
mov ecx, dword [0x4d6004]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004032e0
mov byte [ebp - 4], 6
mov edx, dword [0x4d6008]
push edx
lea ecx, [ebp - 0x20]
call fcn.004032e0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00448a70
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
call fcn.004049f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x24]
call fcn.004049f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.004054f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004049f0
call fcn.0040c0d0
test eax, eax
je 0x40ca70
mov ecx, dword [0x4d6004]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004032e0
mov byte [ebp - 4], 0xb
mov edx, dword [0x4d600c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004032e0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00448a70
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
call fcn.004049f0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.004049f0
lea ecx, [ebp - 0x34]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040a2c0
test eax, eax
jne 0x40ca49
mov ecx, dword [ebp - 0x10]
call fcn.0040b3b0
test eax, eax
je 0x40ca49
mov dword [ebp - 0x14], 1
jmp 0x40ca64
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004069d0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.004049f0
cmp dword [ebp - 0x14], 0
jne 0x40cc6b
mov ecx, dword [0x4d6004]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004032e0
mov byte [ebp - 4], 0x10
mov edx, dword [0x4d600c]
push edx
lea ecx, [ebp - 0x38]
call fcn.004032e0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00448a70
add esp, 0xc
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x38]
call fcn.004049f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x3c]
call fcn.004049f0
lea ecx, [ebp - 0x58]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040a2c0
test eax, eax
jne 0x40cc44
lea ecx, [ebp - 0xbc]
call fcn.00403c10
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
lea ecx, [ebp - 0xbc]
call fcn.004054f0
push 0x104
lea ecx, [ebp - 0xbc]
call fcn.0040af20
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x49d6b8
lea ecx, [ebp - 0x48]
call fcn.004032e0
mov byte [ebp - 4], 0x16
push str.BuxBmLqs1NZkftAdrsFu7w
lea ecx, [ebp - 0x44]
call fcn.004032e0
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00448a70
add esp, 0xc
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
call fcn.00405e20
push eax
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x8c]
call fcn.004049f0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x44]
call fcn.004049f0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x48]
call fcn.004049f0
push 0xffffffffffffffff
lea ecx, [ebp - 0xbc]
call fcn.0040c770
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
lea ecx, [ebp - 0xb4]
call fcn.004054f0
mov ecx, dword [0x4d6004]
push ecx
lea ecx, [ebp - 0x50]
call fcn.004032e0
mov byte [ebp - 4], 0x18
mov edx, dword [0x4d6010]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004032e0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.00448a70
add esp, 0xc
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x4c]
call fcn.004049f0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x50]
call fcn.004049f0
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x54]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00406820
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x54]
call fcn.004049f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xbc]
call fcn.00404e20
jmp 0x40cc5f
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00406820
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00404e20
jmp 0x40ce45
mov edx, dword [0x4d6004]
push edx
lea ecx, [ebp - 0x64]
call fcn.004032e0
mov dword [ebp - 4], 0x1d
mov eax, dword [0x4d600c]
push eax
lea ecx, [ebp - 0x60]
call fcn.004032e0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.00448a70
add esp, 0xc
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x60]
call fcn.004049f0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x64]
call fcn.004049f0
lea ecx, [ebp - 0x84]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040a2c0
test eax, eax
jne 0x40cdea
mov ecx, dword [0x4d6004]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004032e0
mov byte [ebp - 4], 0x22
mov edx, dword [0x4d6008]
push edx
lea ecx, [ebp - 0x68]
call fcn.004032e0
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.00448a70
add esp, 0xc
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x68]
call fcn.004049f0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x6c]
call fcn.004049f0
mov eax, dword [0x4d6004]
push eax
lea ecx, [ebp - 0x74]
call fcn.004032e0
mov byte [ebp - 4], 0x27
mov ecx, dword [0x4d6010]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004032e0
mov byte [ebp - 4], 0x28
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.00448a70
add esp, 0xc
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x70]
call fcn.004049f0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x74]
call fcn.004049f0
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040a4d0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x78]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040a440
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x78]
call fcn.004049f0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x7c]
call fcn.004049f0
jmp 0x40ce33
push 0x49d730
lea ecx, [ebp - 0x80]
call fcn.004032e0
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040a4d0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x80]
call fcn.004049f0
mov ecx, dword [ebp - 0x10]
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040a440
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.004049f0
push 0x49d734
mov ecx, dword [ebp - 0x10]
call fcn.0040a2c0
test eax, eax
je 0x40ce67
push 0x49d74c
mov ecx, dword [ebp - 0x10]
call fcn.0040a2c0
test eax, eax
jne 0x40ce98
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00405e20
push eax
push 0x49d768
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00405e20
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x40cec7
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00405e20
push eax
push 0x49d774
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00405e20
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00405e20
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x24], 0
je 0x40cef8
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00405e20
push eax
push 0x49d778
push 0x49d780
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00405e20
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8