Function at 0x404f90
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x581c
call fcn.0041d430
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x581c]
mov ecx, 0x1607
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x485010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [ebp - 0x56a0], eax
mov dword [ebp - 0x569c], eax
mov dword [ebp - 0x5698], eax
xor eax, eax
mov dword [ebp - 0x56b4], eax
mov dword [ebp - 0x56b0], eax
mov dword [ebp - 0x56ac], eax
push 0x34
push 0
lea eax, [ebp - 0x56f0]
push eax
call fcn.00418870
add esp, 0xc
push 0x2f
push 0
lea eax, [ebp - 0x5728]
push eax
call fcn.00418870
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x574c], eax
mov dword [ebp - 0x5748], eax
mov dword [ebp - 0x5744], eax
mov dword [ebp - 0x5740], eax
mov dword [ebp - 0x573c], eax
mov dword [ebp - 0x5738], eax
mov word [ebp - 0x5734], ax
mov byte [ebp - 0x5732], al
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + eax*4 + 0x61a84], 0
jne 0x405057
jmp 0x405730
mov esi, esp
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp esi, esp
call fcn.00418a80
mov eax, dword [ebp + 0xc]
add eax, 6
mov dword [ebp - 0x18], eax
push 0xa
lea eax, [ebp - 0x56a0]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040a250
add esp, 0xc
push 0xa
lea eax, [ebp - 0x56b4]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040a250
add esp, 0xc
push 0x32
lea eax, [ebp - 0x56f0]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040a250
add esp, 0xc
lea eax, [ebp - 0x56a0]
push eax
call fcn.004190a0
add esp, 4
test eax, eax
je 0x4050eb
lea eax, [ebp - 0x56b4]
push eax
call fcn.004190a0
add esp, 4
test eax, eax
je 0x4050eb
lea eax, [ebp - 0x56f0]
push eax
call fcn.004190a0
add esp, 4
test eax, eax
jne 0x4050f0
jmp 0x405730
mov esi, esp
lea eax, [ebp - 0x56a0]
push eax
push str.Request_create_new_Account:__s
push 0x4884a0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
push 0x4884a0
call fcn.00413cf0
add esp, 4
lea eax, [ebp - 0x56a0]
push eax
call fcn.00411e60
add esp, 4
test eax, eax
je 0x405146
lea eax, [ebp - 0x56b4]
push eax
call fcn.00411e60
add esp, 4
test eax, eax
jne 0x40514b
jmp 0x405730
push 0x400
push 0
lea eax, [ebp - 0x568c]
push eax
call fcn.00418870
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x56a0]
push eax
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x56a0]
push eax
push str.AccountAscII_d_s.cfg
lea ecx, [ebp - 0x568c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp esi, esp
call fcn.00418a80
mov esi, esp
push 0
push 0
push 3
push 0
push 0
push bind
lea eax, [ebp - 0x568c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.00418a80
mov dword [ebp - 0x30], eax
mov esi, esp
push 0
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.00418a80
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4051f2
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00418a80
jmp 0x405254
mov esi, esp
lea eax, [ebp - 0x56a0]
push eax
push str.Account:__s_create_error.
push 0x4884a0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
push 0x4884a0
call fcn.00413cf0
add esp, 4
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00418a80
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0xfa17
push 0xfa17
mov ecx, dword [ebp - 0xc]
call fcn.00410240
jmp 0x405730
push str.Account
call fcn.0041d3e0
add esp, 4
mov byte [ebp - 0x5755], 0
mov eax, 1
imul ecx, eax, 0
mov dl, byte [ebp + ecx - 0x56a0]
mov byte [ebp - 0x5755], dl
push 0x400
push 0
lea eax, [ebp - 0x568c]
push eax
call fcn.00418870
add esp, 0xc
movsx eax, byte [ebp - 0x5755]
mov esi, esp
push eax
push str.AccountAscII_d
lea ecx, [ebp - 0x568c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
lea eax, [ebp - 0x568c]
push eax
call fcn.0041d3e0
add esp, 4
push 0x400
push 0
lea eax, [ebp - 0x568c]
push eax
call fcn.00418870
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x56a0]
push eax
movsx ecx, byte [ebp - 0x5755]
push ecx
push str.AccountAscII_d_s.txt
lea edx, [ebp - 0x568c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp esi, esp
call fcn.00418a80
push 0x46e5dc
lea eax, [ebp - 0x568c]
push eax
call fcn.0041ba10
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x405377
mov esi, esp
lea eax, [ebp - 0x56a0]
push eax
push str.Account:__s_create_error.
push 0x4884a0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
push 0x4884a0
call fcn.00413cf0
add esp, 4
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0xfa17
push 0xfa17
mov ecx, dword [ebp - 0xc]
call fcn.00410240
jmp 0x405730
mov esi, esp
lea eax, [ebp - 0x56a0]
push eax
push str.Account:__s_created_successfully.
push 0x4884a0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
push 0x4884a0
call fcn.00413cf0
add esp, 4
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0xfa16
push 0xfa16
mov ecx, dword [ebp - 0xc]
call fcn.00410240
push 0x4e20
push 0
lea eax, [ebp - 0x4e7c]
push eax
call fcn.00418870
add esp, 0xc
push str._Account_Info_
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push 0x46e614
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push str.account_name_____
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push 0x400
push 0
lea eax, [ebp - 0x5284]
push eax
call fcn.00418870
add esp, 0xc
push 0xa
lea eax, [ebp - 0x56a0]
push eax
lea ecx, [ebp - 0x5284]
push ecx
call fcn.00418220
add esp, 0xc
lea eax, [ebp - 0x5284]
push eax
lea ecx, [ebp - 0x4e7c]
push ecx
call fcn.0041acc0
add esp, 8
push 0x46e614
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push str.account_password_
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push 0x400
push 0
lea eax, [ebp - 0x5284]
push eax
call fcn.00418870
add esp, 0xc
push 0xa
lea eax, [ebp - 0x56b4]
push eax
lea ecx, [ebp - 0x5284]
push ecx
call fcn.00418220
add esp, 0xc
lea eax, [ebp - 0x5284]
push eax
lea ecx, [ebp - 0x4e7c]
push ecx
call fcn.0041acc0
add esp, 8
push 0x46e614
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push str.account_Email____
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push 0x400
push 0
lea eax, [ebp - 0x5284]
push eax
call fcn.00418870
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x56f0]
push eax
push 0x46e654
lea ecx, [ebp - 0x5284]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
lea eax, [ebp - 0x5284]
push eax
lea ecx, [ebp - 0x4e7c]
push ecx
call fcn.0041acc0
add esp, 8
push 0x46e614
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push str.account_Quiz_
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push 0x400
push 0
lea eax, [ebp - 0x5284]
push eax
call fcn.00418870
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x5728]
push eax
push 0x46e654
lea ecx, [ebp - 0x5284]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
lea eax, [ebp - 0x5284]
push eax
lea ecx, [ebp - 0x4e7c]
push ecx
call fcn.0041acc0
add esp, 8
push 0x46e614
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push str.account_Answer_
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push 0x400
push 0
lea eax, [ebp - 0x5284]
push eax
call fcn.00418870
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x574c]
push eax
push 0x46e654
lea ecx, [ebp - 0x5284]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
lea eax, [ebp - 0x5284]
push eax
lea ecx, [ebp - 0x4e7c]
push ecx
call fcn.0041acc0
add esp, 8
push 0x46e614
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push str.account_change_password_
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push 0x400
push 0
lea eax, [ebp - 0x5284]
push eax
call fcn.00418870
add esp, 0xc
movzx eax, word [ebp - 0x4e]
mov esi, esp
push eax
movzx ecx, word [ebp - 0x52]
push ecx
movzx edx, word [ebp - 0x54]
push edx
push str._d__d__d
lea eax, [ebp - 0x5284]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp esi, esp
call fcn.00418a80
lea eax, [ebp - 0x5284]
push eax
lea ecx, [ebp - 0x4e7c]
push ecx
call fcn.0041acc0
add esp, 8
push 0x46e614
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push 0x46e614
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push str._CHARACTERS_
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
push 0x46e614
lea eax, [ebp - 0x4e7c]
push eax
call fcn.0041acc0
add esp, 8
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x4e7c]
push ecx
call fcn.004190a0
add esp, 4
push eax
push 1
lea edx, [ebp - 0x4e7c]
push edx
call fcn.0041d100
add esp, 0x10
mov eax, dword [ebp - 0x24]
push eax
call fcn.0041b1b0
add esp, 4
push edx
mov ecx, ebp
push eax
lea edx, [0x405764]
call fcn.00418a20
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419b10
add esp, 0x581c
cmp ebp, esp
call fcn.00418a80
mov esp, ebp
pop ebp
ret 8