Function at 0x1003c392
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x98], ebx
cmp dword [ebx + 0x2c], 0
ja 0x1003c3ba
cmp dword [ebx + 0x4c], 0
jbe 0x1003c932
mov esi, 0x100e25f8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003c3d2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebx + 0xe4]
push 0x100a4ddc
push eax
call dword [sym.imp.msvcrt.dll__wfopen]
mov esi, eax
mov dword [esp + 0x4c], esi
pop ecx
pop ecx
test esi, esi
je 0x1003c932
xor ecx, ecx
cmp dword [ebx + 0x2c], ecx
jbe 0x1003c5cb
mov byte [esp + 0x1e], 0x58
mov edx, ecx
mov byte [esp + 0x1f], 0x59
mov byte [esp + 0x20], 0x46
mov byte [esp + 0x21], 0x59
mov byte [esp + 0x22], 0x58
mov byte [esp + 0x23], cl
mov al, byte [esp + 0x1e]
mov dword [esp + 0x48], 0x1e
mov byte [esp + 0x4c], 0x45
mov byte [esp + 0x4d], 0x3b
mov byte [esp + 0x4e], 0x6d
mov byte [esp + 0x4f], 0x43
mov byte [esp + 0x50], 0x14
mov al, byte [esp + 0x4c]
mov byte [esp + 0x51], cl
mov al, byte [esp + edx + 0x4c]
mov ecx, dword [esp + 0x48]
xor cl, al
mov byte [esp + edx + 0x4c], cl
inc edx
cmp edx, 5
jb 0x1003c44b
mov byte [esp + 0x51], 0
xor eax, eax
sub byte [esp + eax + 0x1e], 5
inc eax
cmp eax, 5
jb 0x1003c466
lea eax, [esp + 0x1e]
push eax
lea eax, [esp + 0x50]
push eax
push esi
call fcn.10012980
mov eax, dword [ebx + 0x28]
add esp, 0xc
mov dword [esp + 0x94], eax
mov esi, dword [eax]
cmp esi, eax
je 0x1003c5bb
mov ebx, dword [esp + 0x44]
lea edi, [esi + 8]
push edi
lea ecx, [esp + 0xa0]
call fcn.10006ba4
movss xmm0, dword [edi + 0x18]
movss dword [esp + 0xb4], xmm0
mov dword [esp + 0xc], 0x13
mov eax, dword [esp + 0xc]
xor al, 0x22
mov byte [esp + 0x10], al
mov eax, dword [esp + 0xc]
inc al
xor al, 0x25
mov byte [esp + 0x11], al
mov eax, dword [esp + 0xc]
add al, 2
xor al, 0x73
mov byte [esp + 0x12], al
mov eax, dword [esp + 0xc]
add al, 3
xor al, 0x22
mov byte [esp + 0x13], al
mov eax, dword [esp + 0xc]
add al, 4
xor al, 0x20
mov byte [esp + 0x14], al
mov eax, dword [esp + 0xc]
add al, 5
xor al, 0x3d
mov byte [esp + 0x15], al
mov eax, dword [esp + 0xc]
add al, 6
xor al, 0x20
mov byte [esp + 0x16], al
mov eax, dword [esp + 0xc]
add al, 7
xor al, 0x25
mov byte [esp + 0x17], al
mov eax, dword [esp + 0xc]
add al, 8
xor al, 0x66
mov byte [esp + 0x18], al
mov eax, dword [esp + 0xc]
add al, 9
mov byte [esp + 0x1a], 0
xor al, 0xa
xor edx, edx
mov byte [esp + 0x19], al
mov al, byte [esp + 0x10]
mov al, byte [esp + edx + 0x10]
mov ecx, dword [esp + 0xc]
add cl, dl
xor cl, al
mov byte [esp + edx + 0x10], cl
inc edx
cmp edx, 0xa
jb 0x1003c543
movss xmm0, dword [esp + 0xb4]
lea eax, [esp + 0x9c]
cmp dword [esp + 0xb0], 0x10
cvtps2pd xmm0, xmm0
cmovae eax, dword [esp + 0x9c]
push ecx
push ecx
mov byte [esp + 0x22], 0
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.10012980
add esp, 0x14
lea ecx, [esp + 0x9c]
call fcn.10006f19
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [esp + 0x94]
jne 0x1003c49c
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x44]
push esi
push 0xa
call fcn.10084ac0
pop ecx
pop ecx
xor ecx, ecx
cmp dword [ebx + 0x4c], ecx
jbe 0x1003c92a
mov dword [esp + 0x24], 0x48
mov edx, ecx
mov eax, dword [esp + 0x24]
xor al, 0x41
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x24]
inc al
xor al, 0x43
mov byte [esp + 0x29], al
mov eax, dword [esp + 0x24]
add al, 2
xor al, 0x48
mov byte [esp + 0x2a], al
mov eax, dword [esp + 0x24]
add al, 3
xor al, 0x49
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x24]
add al, 4
xor al, 0x45
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x24]
add al, 5
xor al, 0x56
mov byte [esp + 0x2d], al
mov eax, dword [esp + 0x24]
add al, 6
xor al, 0x45
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x24]
add al, 7
xor al, 0x4d
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x24]
add al, 8
xor al, 0x45
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x24]
add al, 9
xor al, 0x4e
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x24]
add al, 0xa
xor al, 0x54
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x24]
add al, 0xb
mov byte [esp + 0x34], cl
xor al, 0x53
mov byte [esp + 0x33], al
mov al, byte [esp + 0x28]
mov al, byte [esp + edx + 0x28]
mov ecx, dword [esp + 0x24]
add cl, dl
xor cl, al
mov byte [esp + edx + 0x28], cl
inc edx
cmp edx, 0xc
jb 0x1003c674
xor ecx, ecx
mov byte [esp + 0x34], cl
mov edx, ecx
mov dword [esp + 0x54], 0xa
mov byte [esp + 0x58], 0x51
mov byte [esp + 0x59], 0x2f
mov byte [esp + 0x5a], 0x79
mov byte [esp + 0x5b], 0x57
mov byte [esp + 0x5c], cl
mov al, byte [esp + 0x58]
mov byte [esp + 0x5d], cl
mov al, byte [esp + edx + 0x58]
mov ecx, dword [esp + 0x54]
xor cl, al
mov byte [esp + edx + 0x58], cl
inc edx
cmp edx, 5
jb 0x1003c6ba
lea eax, [esp + 0x28]
mov byte [esp + 0x5d], 0
push eax
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.10012980
mov edi, dword [ebx + 0x48]
add esp, 0xc
mov esi, dword [edi]
jmp 0x1003c914
lea ebx, [esi + 8]
push ebx
lea ecx, [esp + 0xbc]
call fcn.10006ba4
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
test cl, cl
je 0x1003c77a
mov dword [esp + 0x38], 0x75
mov eax, dword [esp + 0x38]
xor al, 0x74
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x38]
inc al
xor al, 0x72
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x38]
add al, 2
xor al, 0x75
mov byte [esp + 0x3e], al
mov eax, dword [esp + 0x38]
add al, 3
mov byte [esp + 0x40], 0
xor al, 0x65
xor edx, edx
mov byte [esp + 0x3f], al
mov al, byte [esp + 0x3c]
mov al, byte [esp + edx + 0x3c]
mov ecx, dword [esp + 0x38]
add cl, dl
xor cl, al
mov byte [esp + edx + 0x3c], cl
inc edx
cmp edx, 4
jb 0x1003c759
mov byte [esp + 0x40], 0
lea ebx, [esp + 0x3c]
jmp 0x1003c7c3
mov dword [esp + 0x60], 0x44
xor edx, edx
mov byte [esp + 0x64], 0x22
mov byte [esp + 0x65], 0x25
mov byte [esp + 0x66], 0x28
mov byte [esp + 0x67], 0x37
mov byte [esp + 0x68], 0x21
mov al, byte [esp + 0x64]
mov byte [esp + 0x69], 0
mov al, byte [esp + edx + 0x64]
mov ecx, dword [esp + 0x60]
xor cl, al
mov byte [esp + edx + 0x64], cl
inc edx
cmp edx, 5
jb 0x1003c7a6
mov byte [esp + 0x69], 0
lea ebx, [esp + 0x64]
mov dword [esp + 0x6c], 0x1b
xor edx, edx
mov byte [esp + 0x70], 0x39
mov byte [esp + 0x71], 0x3e
mov byte [esp + 0x72], 0x68
mov byte [esp + 0x73], 0x39
mov byte [esp + 0x74], 0x3b
mov byte [esp + 0x75], 0x26
mov byte [esp + 0x76], 0x3b
mov byte [esp + 0x77], 0x60
mov byte [esp + 0x78], 0x6e
mov byte [esp + 0x79], 0x75
mov byte [esp + 0x7a], 0x77
mov byte [esp + 0x7b], 0x74
mov byte [esp + 0x7c], 0x78
mov byte [esp + 0x7d], 0x70
mov byte [esp + 0x7e], 0x7e
mov byte [esp + 0x7f], 0x7f
mov byte [esp + 0x80], 0x3b
mov byte [esp + 0x81], 0x26
mov byte [esp + 0x82], 0x3b
mov byte [esp + 0x83], 0x3e
mov byte [esp + 0x84], 0x68
mov byte [esp + 0x85], 0x37
mov byte [esp + 0x86], 0x3b
mov byte [esp + 0x87], 0x6f
mov byte [esp + 0x88], 0x72
mov byte [esp + 0x89], 0x76
mov byte [esp + 0x8a], 0x7e
mov byte [esp + 0x8b], 0x3b
mov byte [esp + 0x8c], 0x26
mov byte [esp + 0x8d], 0x3b
mov byte [esp + 0x8e], 0x3e
mov byte [esp + 0x8f], 0x7f
mov byte [esp + 0x90], 0x66
mov byte [esp + 0x91], 0x11
mov al, byte [esp + 0x70]
mov byte [esp + 0x92], 0
mov al, byte [esp + edx + 0x70]
mov ecx, dword [esp + 0x6c]
xor cl, al
mov byte [esp + edx + 0x70], cl
inc edx
cmp edx, 0x22
jb 0x1003c8b9
push dword [esp + 0xd4]
cmp dword [esp + 0xd0], 0x10
lea eax, [esp + 0xbc]
push ebx
cmovae eax, dword [esp + 0xc0]
push eax
lea eax, [esp + 0x7c]
mov byte [esp + 0x9e], 0
push eax
push dword [esp + 0x54]
call fcn.10012980
add esp, 0x14
lea ecx, [esp + 0xb8]
call fcn.10006f19
mov esi, dword [esi]
cmp esi, edi
jne 0x1003c6f0
mov esi, dword [esp + 0x44]
push esi
push 0xa
call fcn.10084ac0
pop ecx
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret