Function at 0x4c1c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
mov ebx, ecx
mov ecx, 0x5b9d6c
sub esp, 0xa4
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x52
mov dword [esp + 8], 0x239
mov dword [esp + 4], 0x3e
mov dword [esp], 6
call fcn.005479a0
mov ecx, 0x5b7ec0
sub esp, 0x18
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.Income_Item
mov dword [esp + 4], 0x42
mov dword [esp], 0xf
call fcn.00439fc0
mov ecx, 0x5b7ec0
sub esp, 0x14
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5a4ecc
mov dword [esp + 4], 0x42
mov dword [esp], 0x16d
call fcn.00439fc0
movsx eax, word [0x5b4674]
sub esp, 0x14
test eax, eax
jle 0x4c2417
cmp eax, dword [0x5b508c]
jg 0x4c2417
mov edx, eax
sub eax, 1
mov ecx, dword [0x5b5099]
mov esi, 7
imul eax, dword [0x5b5090]
mov ecx, dword [ecx + eax]
mov eax, 0x16d
sub eax, dword [0x5b4660]
mov dword [esp + 0x38], eax
fld dword [ecx + 0xda]
fstp dword [esp + 0x4c]
fild dword [esp + 0x38]
fstp dword [esp + 0x50]
fld dword [esp + 0x4c]
fmul dword [esp + 0x50]
fstp dword [esp + 0x54]
fld dword [0x5a5120]
fdivr dword [esp + 0x54]
fstp dword [esp + 0x58]
fld dword [ecx + 0xba]
fstp dword [esp + 0x5c]
fld dword [esp + 0x58]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x60]
fldz
fld dword [esp + 0x60]
fcompi st(1)
fstp st(0)
jbe 0x4c1da2
cmp byte [0x5b99e5], 0
mov esi, 8
je 0x4c2270
cmp dword [esp + 0xb0], 0xa
je 0x4c228f
mov ecx, 0x5bf700
call fcn.005422e0
movsx eax, word [ebx + 0x40]
mov dword [esp + 4], esi
mov ecx, 0x5bf700
mov dword [esp], eax
call fcn.00542a50
mov ecx, 0x5b9d6c
sub esp, 8
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x112
mov dword [esp + 8], 0x239
mov dword [esp + 4], 0xfe
mov dword [esp], 6
call fcn.005479a0
mov ecx, 0x5b7ec0
sub esp, 0x18
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.Expense_Item
mov dword [esp + 4], 0x102
mov dword [esp], 0xf
call fcn.00439fc0
mov ecx, 0x5b7ec0
sub esp, 0x14
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5a4ee7
mov dword [esp + 4], 0x102
mov dword [esp], 0x16d
call fcn.00439fc0
mov ecx, 0x5bf6a0
sub esp, 0x14
call fcn.005422e0
mov dword [esp + 4], 0x10
movsx eax, word [ebx + 0x42]
mov ecx, 0x5bf6a0
mov dword [esp], eax
call fcn.00542a50
movsx eax, word [0x5b4674]
sub esp, 8
test eax, eax
jle 0x4c2410
cmp eax, dword [0x5b508c]
jg 0x4c2410
sub eax, 1
imul eax, dword [0x5b5090]
mov edx, dword [0x5b5099]
mov edx, dword [edx + eax]
mov eax, 0x16d
sub eax, dword [0x5b4660]
mov dword [esp + 0x7c], 0
lea ecx, [edx + 0xbe]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
lea eax, [edx + 0x9e]
fstp dword [esp + 0x68]
lea esi, [esi]
fld dword [eax + 0x20]
add eax, 4
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x68]
fstp dword [esp + 0x6c]
fld dword [0x5a5120]
fdivr dword [esp + 0x6c]
fstp dword [esp + 0x70]
fld dword [eax - 4]
fstp dword [esp + 0x74]
fld dword [esp + 0x70]
fadd dword [esp + 0x74]
fstp dword [esp + 0x78]
fld dword [esp + 0x7c]
fadd dword [esp + 0x78]
fstp dword [esp + 0x7c]
cmp ecx, eax
jne 0x4c1ef8
mov dword [esp + 0x98], 0
fld dword [esp + 0x68]
lea eax, [edx + 0xe6]
add edx, 0x126
lea esi, [esi]
fld dword [eax + 0x40]
add eax, 4
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fmul st(1)
fstp dword [esp + 0x88]
fld dword [0x5a5120]
fdivr dword [esp + 0x88]
fstp dword [esp + 0x8c]
fld dword [eax - 4]
fstp dword [esp + 0x90]
fld dword [esp + 0x8c]
fadd dword [esp + 0x90]
fstp dword [esp + 0x94]
fld dword [esp + 0x98]
fadd dword [esp + 0x94]
fstp dword [esp + 0x98]
cmp edx, eax
jne 0x4c1f60
fstp st(0)
mov dword [esp + 0x14], 1
mov ecx, 0x5b9d6c
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0xf8
mov dword [esp + 8], 0x239
mov dword [esp + 4], 0xe6
mov dword [esp], 6
call fcn.005479a0
mov ecx, 0x5b7ec0
sub esp, 0x18
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.Total_Yearly_Income
mov dword [esp + 4], 0xe8
mov dword [esp], 0xf
call fcn.00439fc0
mov ecx, 0x5ba360
sub esp, 0x14
fnstcw word [esp + 0x3e]
fld dword [esp + 0x7c]
mov dword [esp + 4], 2
movzx eax, word [esp + 0x3e]
or ah, 0xc
mov word [esp + 0x3c], ax
fldcw word [esp + 0x3c]
fistp dword [esp]
fldcw word [esp + 0x3e]
call fcn.00499860
mov ecx, 0x5b7ec0
sub esp, 8
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0xe8
mov dword [esp], 0x181
call fcn.00439fc0
mov ecx, 0x5b9d6c
sub esp, 0x14
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x239
mov dword [esp + 8], 0x239
mov dword [esp + 4], 0x227
mov dword [esp], 6
call fcn.005479a0
mov ecx, 0x5b7ec0
sub esp, 0x18
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.Total_Yearly_Expenses
mov dword [esp + 4], 0x229
mov dword [esp], 0xf
call fcn.00439fc0
mov ecx, 0x5ba360
sub esp, 0x14
fnstcw word [esp + 0x3e]
fld dword [esp + 0x98]
mov dword [esp + 4], 2
movzx eax, word [esp + 0x3e]
or ah, 0xc
mov word [esp + 0x3c], ax
fldcw word [esp + 0x3c]
fistp dword [esp]
fldcw word [esp + 0x3e]
call fcn.00499860
mov ecx, 0x5b7ec0
sub esp, 8
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x229
mov dword [esp], 0x181
call fcn.00439fc0
mov ecx, 0x5b9d6c
sub esp, 0x14
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x251
mov dword [esp + 8], 0x239
mov dword [esp + 4], 0x23d
mov dword [esp], 6
call fcn.005479a0
mov ecx, 0x5b7ec0
sub esp, 0x18
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.Yearly_Balance
mov dword [esp + 4], 0x240
mov dword [esp], 0xf
call fcn.00439fc0
mov ecx, 0x5ba360
sub esp, 0x14
fnstcw word [esp + 0x3e]
fld dword [esp + 0x7c]
fsub dword [esp + 0x98]
mov dword [esp + 4], 2
movzx eax, word [esp + 0x3e]
or ah, 0xc
mov word [esp + 0x3c], ax
fstp dword [esp + 0x9c]
fld dword [esp + 0x9c]
fldcw word [esp + 0x3c]
fistp dword [esp]
fldcw word [esp + 0x3e]
call fcn.00499860
mov ecx, 0x5b7ec0
sub esp, 8
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x240
mov dword [esp], 0x181
call fcn.00439fc0
sub esp, 0x14
add esp, 0xa4
pop ebx
pop esi
ret 4
xor eax, eax
cmp dx, word [0x5b511d]
sete al
mov esi, eax
add esi, 7
cmp dword [esp + 0xb0], 0xa
jne 0x4c1db0
mov dword [esp + 0x24], 3
mov ecx, 0x5bf700
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x4c1ae0
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xe4
mov dword [esp + 8], 0x239
mov dword [esp + 4], 0x54
mov dword [esp], 6
call fcn.00542920
movsx eax, word [ebx + 0x40]
mov ecx, 0x5bf700
sub esp, 0x28
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00542a50
mov ecx, 0x5b9d6c
sub esp, 8
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x112
mov dword [esp + 8], 0x239
mov dword [esp + 4], 0xfe
mov dword [esp], 6
call fcn.005479a0
mov ecx, 0x5b7ec0
sub esp, 0x18
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.Expense_Item
mov dword [esp + 4], 0x102
mov dword [esp], 0xf
call fcn.00439fc0
mov ecx, 0x5b7ec0
sub esp, 0x14
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5a4ee7
mov dword [esp + 4], 0x102
mov dword [esp], 0x16d
call fcn.00439fc0
mov ecx, 0x5bf6a0
sub esp, 0x14
mov dword [esp + 0x24], 3
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x4c1970
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x225
mov dword [esp + 8], 0x239
mov dword [esp + 4], 0x114
mov dword [esp], 6
call fcn.00542920
sub esp, 0x28
mov dword [esp + 4], 0xffffffff
jmp 0x4c1e88
xor edx, edx
jmp 0x4c1eca
fld dword [0xda]
fstp st(0)
ud2