Function at 0x431ff4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
and byte [ebp - 0x12c], 0
push edi
mov edx, ecx
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
and byte [ebp - 0xac], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0xab]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp byte [edx + 0x2d8], 0
mov dword [ebp - 0x1c], edx
stosb byte es:[edi], al
lea eax, [edx + 0x2d8]
mov dword [ebp - 0x18], eax
je 0x4322e4
push ebx
push esi
mov esi, 0x52a808
push esi
push eax
push str.AccountRecord
push str.Account
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
lea eax, [ebp - 0x12c]
push 0x7f
push eax
push 0x5594a8
mov edi, str.AccountList
push str.AccountNum
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
and dword [ebp - 4], 0
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
test eax, eax
pop ecx
mov dword [ebp - 8], eax
jle 0x432175
dec eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
lea eax, [ebp - 0xac]
push str.Account_d
push 0x7f
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x12c]
push esi
push 0x7f
push eax
lea eax, [ebp - 0xac]
push 0x568b08
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x18]
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x432166
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jge 0x432160
inc eax
mov dword [ebp - 0x14], eax
push eax
push str.Account_d
lea eax, [ebp - 0xac]
push 0x7f
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x12c]
push esi
push 0x7f
push eax
lea eax, [ebp - 0xac]
push 0x568b08
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp - 0xc]
lea eax, [ebp - 0xac]
push str.Account_d
push 0x7f
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x12c]
push esi
push eax
lea eax, [ebp - 0xac]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x14]
jmp 0x4320f2
dec dword [ebp - 8]
dec dword [ebp - 0x10]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x4320a7
cmp dword [ebp - 8], 0xa
jne 0x4321f5
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], eax
push eax
push str.Account_d
lea eax, [ebp - 0xac]
push 0x7f
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x12c]
push esi
push 0x7f
push eax
lea eax, [ebp - 0xac]
push 0x568b08
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp - 0xc]
lea eax, [ebp - 0xac]
push str.Account_d
push 0x7f
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x12c]
push esi
push eax
lea eax, [ebp - 0xac]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x14]
cmp eax, 9
mov dword [ebp - 0xc], eax
jl 0x43217f
mov dword [ebp - 8], 9
inc dword [ebp - 8]
lea eax, [ebp - 0x12c]
push dword [ebp - 8]
push 0x5594ac
push 0x80
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x12c]
push esi
push eax
push str.AccountNum
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 8]
dec eax
push eax
push str.Account_d
lea eax, [ebp - 0xac]
push 0x7f
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0xac]
push esi
push dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
and byte [ebp - 0x2c], 0
xor eax, eax
lea edi, [ebp - 0x2b]
and dword [ebp - 4], 0
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
mov edi, str.ACCOUNT_d
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
push eax
jge 0x4322bc
push str.Account_d
lea eax, [ebp - 0xac]
push 0x7f
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x12c]
push esi
push 0x7f
push eax
lea eax, [ebp - 0xac]
push 0x568b08
push eax
push str.AccountList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp - 4]
lea eax, [ebp - 0x2c]
push edi
push 0xf
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x12c]
push eax
jmp 0x4322cd
push edi
lea eax, [ebp - 0x2c]
push 0xf
push eax
call ebx
add esp, 0x10
push 0x568b08
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00431f31
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xa
jl 0x432267
pop esi
pop ebx
pop edi
leave
ret