Function at 0x4ae84d
Capabilities:
Reference sql statements

Disassembly:
push dword [0x9af76c]
call fcn.00544413
push 0
push 0
mov eax, str.Updating_borrower_histories...
push eax
call fcn.004ee8a9
mov dword [0x9ac5a0], 0
push dword [0x9b3e20]
push 0x6fb198
mov eax, str.31_12_2099
push eax
call fcn.0051b5b2
lea eax, [0x9ac28c]
push eax
call fcn.00559740
mov edx, str.SELECT_BORROWERKEY_BORROWERLOANHISTORY_FROM_Borrowers_WHERE_BORROWERLOANHISTORY_0
lea ecx, [0x9ac12c]
call fcn.0051f008
push 0x6fb198
push 1
push 0
call fcn.004f09d9
push 1
push dword [0x9ac12c]
call fcn.004f685a
and eax, eax
je 0x4ae988
push 1
call fcn.004f4ac4
and eax, eax
je 0x4ae97e
push dword [0x9b3e20]
push 1
push 0
call fcn.004e0dff
lea eax, [0x9ae4b0]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push 1
call fcn.004e0dff
lea eax, [0x9ad928]
push eax
call fcn.00559740
mov edx, dword [0x9ad928]
push dword [0x9b3e20]
push edx
call fcn.005597c0
push dword [0x9ae4b0]
push dword [0x9af76c]
call fcn.0054436f
mov ebp, eax
lea eax, [ebp]
push eax
call fcn.00559740
mov ebx, dword [0x9ac5a0]
inc ebx
mov dword [0x9ac5a0], ebx
push 1
push dword [0x9ac5a0]
call fcn.004ce3f8
call fcn.0054102b
jmp 0x4ae8d5
push 1
call fcn.004be154
push 1
call fcn.004d3586
call fcn.00505b4e
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.Histories
push eax
call fcn.004cba7a
and eax, eax
je 0x4ae9ca
push 1
mov eax, str.DROP_TABLE_Histories
push eax
call fcn.004bc2f7
call fcn.004708b7
push 1
call fcn.004d3586
push 0
push dword [0x9ac5a0]
push 0
mov eax, str.Fillilng_borrower_history_list...
push eax
mov eax, str.Update
push eax
call fcn.004df840
mov dword [0x9ac574], 0
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push dword [0x9af76c]
call fcn.00544391
push dword [0x9af76c]
call fcn.005443cc
or eax, eax
je 0x4aec76
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9af76c]
call fcn.0054449f
lea eax, [0x9ade7c]
push eax
call fcn.00559740
mov ebp, dword [0x9af76c]
mov ebp, dword [ebp]
mov edx, dword [ebp + 8]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ad5b8]
push eax
call fcn.00559740
push dword [0x9ad5b8]
call fcn.0050acd1
mov dword [0x9ad97c], eax
mov dword [0x9ac534], 1
jmp 0x4aea99
mov eax, dword [0x9ad97c]
cmp eax, dword [0x9ac534]
jl 0x4aec28
mov ebx, dword [0x9ada1c]
mov ebp, dword [0x9af008]
shl ebx, 2
mov edx, dword [ebp + ebx]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ad928]
push eax
call fcn.00559740
push dword [0x9ac534]
call fcn.004cf268
push dword [0x9b3e20]
push 0x6fb198
push dword [0x9acaec]
call fcn.0051b5b2
lea eax, [0x9aca40]
push eax
call fcn.00559740
mov ebx, dword [0x9abaf4]
and ebx, ebx
jle 0x4aec1c
mov edx, str.INSERT_INTO_History_VALUES__
lea ecx, [0x9ac12c]
call fcn.0051f008
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, dword [0x9ade7c]
push edx
call fcn.005597c0
mov edx, 0x6fe984
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9abaf4]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, 0x6fe984
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9abe38]
call fcn.004e98e0
pop eax
mov edx, 0x6fe984
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9aca40]
call fcn.004e98e0
pop eax
mov edx, 0x6fe984
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9acb74]
call fcn.004e98e0
pop eax
mov edx, 0x6fe984
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9ab81c]
call fcn.004e98e0
pop eax
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x6fba9c
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 1
push dword [0x9ac12c]
call fcn.004bc2f7
inc dword [0x9ac534]
jno 0x4aea99
mov ebx, dword [0x9ac574]
inc ebx
mov dword [0x9ac574], ebx
push dword [0x9ac5a0]
push dword [0x9ac574]
mov eax, str.Update
push eax
call fcn.004f52db
push 0
push 1
push dword [0x9ac574]
call fcn.004d6e11
push dword [0x9ac574]
call fcn.0050e089
call fcn.0054102b
jmp 0x4aea23
push dword [0x9ac5a0]
call fcn.0050e089
push 1
call fcn.004d3586
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 1
mov eax, str.UPDATE_Borrowers_SET_BORROWERLOANHISTORY
push eax
call fcn.004bc2f7
push 1
call fcn.004d3586
push 0x3e8
push 0
call fcn.0050bdc3
push 1
call fcn.004d3586
push 0x3e8
push 0
call fcn.0050bdc3
ret