Function at 0x54be7f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x6b42b5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6b44a3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x6d4643
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54bf18
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str._data_data_type
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54bf50
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x24]
push eax
mov eax, str.settling_time
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0054a7af
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x54bf78
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54bf88
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x54bf9c
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x6d4127
push dword [0x84b794]
push str._UNION_SELECT__sum_user_yj__as_yj_FROM_claim_order_WHERE___my_user
push dword [0x84b794]
push str.SELECT_round_sum_yj__2__FROM___SELECT__sum_user_yj__as_yj_FROM_register_order__WHERE__my_user
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c0aa
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x54c0ba
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x54c0ca
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x54c0da
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x54c0ea
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x54c0fa
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x54c10a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x54c11a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x54c12a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x54c13a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x54c14a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x54c15a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54c16a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54c17a
push ebx
call fcn.005dc820
add esp, 4
push str._GROUP_BY_platform_GROUP_BY_pt
push dword [0x84b794]
push 0x6d41f1
push dword [ebp - 4]
push str._GROUP_BY_platform_UNION_ALL_SELECT_platform_as_pt___sum_user_yj__as_yj_FROM_claim_order_WHERE
push dword [0x84b794]
push str.__AND__my_user
push dword [ebp - 4]
push str.SELECT_pt___round_sum_yj__2__FROM___SELECT_platform_as_pt___sum_user_yj__as_yj_FROM_register_order_WHERE
mov ecx, 9
call fcn.0040108c
add esp, 0x24
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c1e4
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov eax, 0x6b739d
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x6b73a5
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54c23d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c24d
push ebx
call fcn.005dc820
add esp, 4
push 1
mov eax, 0x6b5b62
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c279
push ebx
call fcn.005dc820
add esp, 4
push dword [ebp + 0x10]
mov eax, str.to_user
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c2a6
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str._data_request_id
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54c2e1
push ebx
call fcn.005dc820
add esp, 4
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, str.request_id
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x54c311
push ebx
call fcn.005dc820
add esp, 4
push dword [ebp + 0xc]
mov eax, str.msg_type
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c33e
push ebx
call fcn.005dc820
add esp, 4
push 1
mov eax, 0x6b5b62
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c36a
push ebx
call fcn.005dc820
add esp, 4
mov eax, 0x6b5621
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.rebate_tb
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54c3a0
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c3b0
push ebx
call fcn.005dc820
add esp, 4
mov eax, 0x6b5621
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.rebate_pdd
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54c3e6
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c3f6
push ebx
call fcn.005dc820
add esp, 4
mov eax, 0x6b5621
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.rebate_jd
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54c42c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c43c
push ebx
call fcn.005dc820
add esp, 4
mov eax, 0x6b5621
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.rebate_wph
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54c472
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54c482
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x54cde4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54c4c5
push 0x5a6
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54c4e7
push 0x5a6
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54c504
push 0x5a6
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54c515
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54c4e9
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x6b4543
mov ebx, dword [ebp - 0x20]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x54c5ef
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54c563
push 0x5d3
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54c585
push 0x5d3
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54c5a2
push 0x5d3
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54c5b3
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54c587
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.rebate_tb
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54c5ea
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54cddc
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54c618
push 0x621
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54c63a
push 0x621
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54c657
push 0x621
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54c668
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54c63c
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x6b5b19
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x54c742
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54c6b6
push 0x64e
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54c6d8
push 0x64e
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54c6f5
push 0x64e
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54c706
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54c6da
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.rebate_pdd
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54c73d
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54cddc
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54c76b
push 0x69d
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54c78d
push 0x69d
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54c7aa
push 0x69d
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54c7bb
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54c78f
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x6b5b29
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x54c895
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54c809
push 0x6ca
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54c82b
push 0x6ca
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54c848
push 0x6ca
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54c859
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54c82d
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.rebate_jd
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54c890
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54cddc
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54c8be
push 0x718
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54c8e0
push 0x718
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54c8fd
push 0x718
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54c90e
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54c8e2
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x6b663b
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x54c9e8
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54c95c
push 0x745
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54c97e
push 0x745
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54c99b
push 0x745
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54c9ac
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54c980
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.rebate_wph
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54c9e3
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54cddc
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54ca11
push 0x794
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54ca33
push 0x794
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54ca50
push 0x794
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54ca61
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54ca35
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x6b62ad
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x54cb3b
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54caaf
push 0x7c1
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54cad1
push 0x7c1
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54caee
push 0x7c1
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54caff
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54cad3
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.rebate_cpsh
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54cb36
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54cddc
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54cb64
push 0x811
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54cb86
push 0x811
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54cba3
push 0x811
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54cbb4
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54cb88
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x6b64ca
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x54cc8e
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54cc02
push 0x83e
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54cc24
push 0x83e
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54cc41
push 0x83e
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54cc52
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54cc26
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.rebate_dy
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54cc89
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54cddc
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54ccb7
push 0x88c
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54ccd9
push 0x88c
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54ccf6
push 0x88c
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54cd07
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54ccdb
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x6b64cf
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x54cddc
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54cd55
push 0x8b9
push 0x4093623
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54cd77
push 0x8b9
push 0x4093623
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54cd94
push 0x8b9
push 0x4093623
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54cda5
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54cd79
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.rebate_sn
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54cddc
push ebx
call fcn.005dc820
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x54c48e
add esp, 0xc
lea eax, [ebp - 8]
push eax
mov eax, str.rebate_total
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54ce15
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x54ce4f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x54ce4b
imul eax, dword [ebx]
jmp 0x54ce40
mov ecx, eax
test ecx, ecx
je 0x54ce6e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x54ce67
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x54ce55
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042c10d
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54cebb
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54cec0
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x54ced0
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x54cee0
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x54cefe
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x54cefa
imul eax, dword [ebx]
jmp 0x54ceef
mov ecx, eax
test ecx, ecx
je 0x54cf1d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x54cf16
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x54cf04
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov esp, ebp
pop ebp
ret 0xc