Function at 0x402d50
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407526
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x40c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x408770
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
lea eax, [ebp - 0x240]
push 0xb8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x240]
push 1
push str.._files_venit.pg
call fcn.004048d0
lea ebx, [esi + 4]
mov dword [ebp - 4], 0
push ebx
lea ecx, [ebp - 0x240]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
lea ecx, [ebp - 0x230]
call fcn.00405960
test eax, eax
jne 0x402df3
push eax
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x240]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 0xb8
lea eax, [ebp - 0x188]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x188]
push 1
push str.._files_buget.pg
call fcn.004048d0
push esi
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
lea ecx, [ebp - 0x178]
call fcn.00405960
test eax, eax
jne 0x402e53
push eax
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x188]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_33m
call fcn.00405c30
push dword [ebx]
mov edx, str.Money:
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00405c30
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_34m
call fcn.00405c30
push dword [esi]
mov edx, str.______Budget:
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00405c30
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call fcn.00405e50
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_31m
call fcn.00405c30
push 0xb8
lea eax, [ebp - 0xd0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xd0]
push 1
push str.._files_savings.pg
call fcn.004048d0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
lea ecx, [ebp - 0xc0]
call fcn.00405960
test eax, eax
jne 0x402f2c
push eax
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push dword [ebp - 0x244]
mov edx, str.Savings:
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00405c30
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x4085e4
mov ecx, eax
call fcn.00405c30
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_37m
call fcn.00405c30
mov edx, str.What_do_you_want_to_do:__n1._Deposit_n2._Withdraw_n3._View_History_n4._Exit_n_n_
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00405c30
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov eax, dword [ebp - 0x14]
cmp eax, 4
jg 0x402f97
cmp eax, 1
jge 0x402f9e
mov edx, str.Enter_correct_choice:
jmp 0x402f6f
cmp eax, 4
je 0x402ff5
cmp eax, 1
jne 0x402fb1
mov ecx, esi
call fcn.00402510
jmp 0x402fe0
cmp eax, 2
jne 0x402fbf
mov ecx, esi
call fcn.00402930
jmp 0x402fe0
call fcn.00402230
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Press_any_key_to_continue_._._.
call fcn.00405c30
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
push 0x408770
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov ecx, esi
call fcn.00402d50
lea ecx, [ebp - 0xd0]
call fcn.00403c50
lea ecx, [ebp - 0x188]
call fcn.00403c50
lea ecx, [ebp - 0x240]
call fcn.00403c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004064fe
mov esp, ebp
pop ebp
ret