Function at 0x4bae63
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
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
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_sum_UserMoney__as_MoneySum_FROM__mall_Db_._dbo_._D_UserMoney_Order_Log__WHERE_UserID_
mov ecx, 2
call fcn.00401080
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0xc27c90]
test ebx, ebx
je 0x4baf41
push ebx
call fcn.00542385
add esp, 4
pop eax
mov dword [0xc27c90], 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 0xc27c90
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov dword [ebp - 0x1c], eax
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
mov eax, dword [ebp - 0x1c]
and eax, 1
xor eax, 1
test eax, eax
je 0x4baffc
mov eax, 0x8cb1c1
jmp 0x4bb0bb
mov eax, str.MoneySum
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 0x4bb02c
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 - 8]
test ebx, ebx
je 0x4bb088
push ebx
call fcn.00542385
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x70]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4bb0b6
push eax
mov ebx, eax
call fcn.00401015
inc eax
push eax
call fcn.0054237f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4bb0bb
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00542385
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4bb0dc
push ebx
call fcn.00542385
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4