Function at 0x419e40
Capabilities:
Check if file exists
Create directory
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493234
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00479050
push str.user_
lea ecx, [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x274]
push edx
mov dword [ebp - 4], 0
call fcn.004019e0
add esp, 0x10
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x274], 0xffffffff
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call esi
cmp eax, 0xffffffff
jne 0x419ef5
push 0
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.user.ll
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.004019e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0
push 0x80
push 3
push 0
push 3
push 0
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp - 0x26c]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call esi
cmp eax, 0xffffffff
jne 0x419fb6
push 0x4b170c
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
push str.admin
push str.username_
mov esi, eax
push str._s_s_n
push esi
call dword [sym.imp.MSVCR100.dll_fprintf]
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x1c
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor al, al
jmp 0x41a0a2
test edi, edi
je 0x419fce
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x419f69
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4b1720
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x41a08c
push esi
call dword [sym.imp.MSVCR100.dll_feof]
add esp, 4
test eax, eax
jne 0x41a082
mov edi, dword [sym.imp.MSVCR100.dll_fgets]
jmp 0x41a010
push esi
lea edx, [ebp - 0x268]
push 0x258
push edx
call edi
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0
push str.username_
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
jne 0x41a068
push eax
push str.username__admin
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
je 0x41a068
inc dword [ebp - 0x274]
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push esi
call dword [sym.imp.MSVCR100.dll_feof]
add esp, 4
test eax, eax
je 0x41a010
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp - 0x274], 1
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret