Function at 0x435215
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x130
and byte [esp + 0xac], 0
push edi
mov edx, ecx
push 0x20
pop ecx
xor eax, eax
and byte [esp + 0x30], al
lea edi, [esp + 0xb1]
rep stosd dword es:[edi], eax
push 0x1f
lea edi, [esp + 0x35]
pop ecx
cmp byte [edx + 0x1fc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [edx + 0x1fc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
je 0x435509
push ebx
push ebp
push esi
mov esi, 0x57fdf8
push esi
push eax
push str.AccountRecord
push str.Account
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
lea eax, [esp + 0xc0]
push 0x81
push eax
push 0x5c552c
mov ebx, str.AccountList
push str.AccountNum
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
and dword [esp + 0x1c], 0
mov ebp, dword [sym.imp.MSVCRT.dll__snprintf]
test eax, eax
pop ecx
mov dword [esp + 0x10], eax
jle 0x43539c
dec eax
mov dword [esp + 0x1c], eax
push dword [esp + 0x18]
mov edi, str.Account_d
lea eax, [esp + 0x40]
push edi
push 0x7f
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xbc]
push esi
push 0x81
push eax
lea eax, [esp + 0x48]
push 0x5d8050
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xbc]
push eax
push dword [esp + 0x28]
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x435388
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jge 0x435380
inc eax
mov dword [esp + 0x20], eax
push eax
push edi
lea eax, [esp + 0x44]
push 0x7f
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xbc]
push esi
push 0x81
push eax
lea eax, [esp + 0x48]
push 0x5d8050
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [esp + 0x14]
lea eax, [esp + 0x40]
push edi
push 0x7f
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xbc]
push esi
push eax
lea eax, [esp + 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x20]
jmp 0x435318
dec dword [esp + 0x10]
dec dword [esp + 0x1c]
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x10]
jl 0x4352c8
jmp 0x4353a1
mov edi, str.Account_d
cmp dword [esp + 0x10], 0xa
jne 0x43541e
and dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x20], eax
push eax
push edi
lea eax, [esp + 0x44]
push 0x7f
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xbc]
push esi
push 0x81
push eax
lea eax, [esp + 0x48]
push 0x5d8050
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [esp + 0x14]
lea eax, [esp + 0x40]
push edi
push 0x7f
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xbc]
push esi
push eax
lea eax, [esp + 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x20]
cmp eax, 9
mov dword [esp + 0x14], eax
jl 0x4353ad
mov dword [esp + 0x10], 9
inc dword [esp + 0x10]
lea eax, [esp + 0xbc]
push dword [esp + 0x10]
push 0x5c5530
push 0x81
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xbc]
push esi
push eax
push str.AccountNum
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x10]
dec eax
push eax
push edi
lea eax, [esp + 0x44]
push 0x7f
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0x3c]
push esi
push dword [esp + 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
and byte [esp + 0x2c], 0
xor eax, eax
lea edi, [esp + 0x2d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
cmp edi, dword [esp + 0x10]
push edi
jge 0x4354dc
push str.Account_d
lea eax, [esp + 0x44]
push 0x7f
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xbc]
push esi
push 0x81
push eax
lea eax, [esp + 0x48]
push 0x5d8050
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push str.ACCOUNT_d
lea eax, [esp + 0x34]
push 0xf
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xbc]
push eax
jmp 0x4354f2
push str.ACCOUNT_d
lea eax, [esp + 0x34]
push 0xf
push eax
call ebp
add esp, 0x10
push 0x5d8050
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push eax
call fcn.00435152
inc edi
cmp edi, 0xa
jl 0x435489
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x130
ret