Function at 0x445ccb
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 8
call fcn.0054237f
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x8a7142
push ebx
add ebx, 4
push ebx
push 8
call fcn.0054237f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.00403c02
pop ebx
mov dword [ebp - 8], 0
push 0xc27c24
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x549430
call fcn.00542379
add esp, 0x10
call fcn.00542385
add esp, 4
push 0x8a7326
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT__UserID__CustomerName__UserMoney__UserDate__FROM__mall_Db_._dbo_.C_UserMoner_Change_WHERE__WarehouseID__
mov ecx, 3
call fcn.00401080
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0xc27ed4]
test ebx, ebx
je 0x445dae
push ebx
call fcn.00542385
add esp, 4
pop eax
mov dword [0xc27ed4], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 0x10
call fcn.0054237f
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0xc27ed4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov ebx, dword [ebp - 0x18]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x5482b0
call fcn.00542379
add esp, 0x10
call fcn.00542385
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x5c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4460ab
mov eax, str.UserID
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x134]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x445e96
push ebx
call fcn.00542385
add esp, 4
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x5482d0
call fcn.00542379
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x5482b0
call fcn.00542379
add esp, 0x10
call fcn.00542385
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x445ef4
push ebx
call fcn.00542385
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, str.CustomerName
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x134]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x445f2a
push ebx
call fcn.00542385
add esp, 4
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x5482d0
call fcn.00542379
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x5482b0
call fcn.00542379
add esp, 0x10
call fcn.00542385
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x445f88
push ebx
call fcn.00542385
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, str.UserDate
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x134]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x445fbe
push ebx
call fcn.00542385
add esp, 4
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x5482d0
call fcn.00542379
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x5482b0
call fcn.00542379
add esp, 0x10
call fcn.00542385
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x44601c
push ebx
call fcn.00542385
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov eax, str.UserMoney
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x134]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x446052
push ebx
call fcn.00542385
add esp, 4
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x5482f0
call fcn.00542379
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x5482b0
call fcn.00542379
add esp, 0x10
call fcn.00542385
add esp, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x70]
cmp dword [ebp - 8], 0
jle 0x4460d2
mov eax, 1
jmp 0x4460dc
mov eax, 0
jmp 0x4460dc
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00542385
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14