Function at 0x54d7af
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, 0x6d4966
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54d848
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 0x54d880
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 0x54d8a8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54d8b8
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x54d8cc
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_income__as_yg_FROM_claim_order_WHERE__my_user
push dword [0x84b794]
push str.SELECT_round_sum_yg__2__FROM___SELECT_sum_income__as_yg_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 0x54d9da
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x54d9ea
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x54d9fa
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x54da0a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x54da1a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x54da2a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x54da3a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x54da4a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x54da5a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x54da6a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x54da7a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x54da8a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54da9a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54daaa
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_income__as_yg_FROM_claim_order_WHERE
push dword [0x84b794]
push 0x6d4a88
push dword [ebp - 4]
push str.SELECT_pt___round_SUM_yg__2__FROM___SELECT_platform_as_pt__SUM_income__as_yg_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 0x54db14
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 0x54db6d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54db7d
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 0x54dba9
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 0x54dbd6
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 0x54dc11
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 0x54dc41
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 0x54dc6e
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 0x54dc9a
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.estimate_money_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 0x54dcd0
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54dce0
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.estimate_money_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 0x54dd16
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54dd26
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.estimate_money_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 0x54dd5c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54dd6c
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.estimate_money_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 0x54dda2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54ddb2
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.estimate_money_cps
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 0x54dde8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54ddf8
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.estimate_money_dy
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 0x54de2e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54de3e
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.estimate_money_sn
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 0x54de74
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x54de84
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 0x54e7e6
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54dec7
push 0x661
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54dee9
push 0x661
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54df06
push 0x661
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54df17
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54deeb
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 0x54dff1
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54df65
push 0x68e
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54df87
push 0x68e
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54dfa4
push 0x68e
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54dfb5
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54df89
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.estimate_money_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 0x54dfec
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54e7de
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e01a
push 0x6e4
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e03c
push 0x6e4
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e059
push 0x6e4
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e06a
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54e03e
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 0x54e144
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e0b8
push 0x711
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e0da
push 0x711
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e0f7
push 0x711
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e108
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54e0dc
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.estimate_money_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 0x54e13f
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54e7de
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e16d
push 0x767
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e18f
push 0x767
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e1ac
push 0x767
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e1bd
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54e191
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 0x54e297
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e20b
push 0x794
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e22d
push 0x794
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e24a
push 0x794
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e25b
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54e22f
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.estimate_money_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 0x54e292
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54e7de
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e2c0
push 0x7eb
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e2e2
push 0x7eb
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e2ff
push 0x7eb
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e310
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54e2e4
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 0x54e3ea
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e35e
push 0x818
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e380
push 0x818
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e39d
push 0x818
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e3ae
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54e382
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.estimate_money_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 0x54e3e5
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54e7de
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e413
push 0x86f
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e435
push 0x86f
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e452
push 0x86f
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e463
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54e437
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 0x54e53d
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e4b1
push 0x89c
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e4d3
push 0x89c
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e4f0
push 0x89c
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e501
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54e4d5
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.estimate_money_cps
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 0x54e538
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54e7de
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e566
push 0x8f3
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e588
push 0x8f3
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e5a5
push 0x8f3
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e5b6
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54e58a
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 0x54e690
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e604
push 0x920
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e626
push 0x920
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e643
push 0x920
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e654
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54e628
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.estimate_money_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 0x54e68b
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54e7de
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e6b9
push 0x976
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e6db
push 0x976
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e6f8
push 0x976
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e709
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54e6dd
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 0x54e7de
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54e757
push 0x9a3
push 0x4093625
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54e779
push 0x9a3
push 0x4093625
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54e796
push 0x9a3
push 0x4093625
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54e7a7
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54e77b
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.estimate_money_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 0x54e7de
push ebx
call fcn.005dc820
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x54de90
add esp, 0xc
lea eax, [ebp - 8]
push eax
mov eax, str.estimate_total_money
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 0x54e817
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 0x54e851
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x54e84d
imul eax, dword [ebx]
jmp 0x54e842
mov ecx, eax
test ecx, ecx
je 0x54e870
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x54e869
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x54e857
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 0x54e8bd
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54e8c2
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x54e8d2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x54e8e2
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 0x54e900
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x54e8fc
imul eax, dword [ebx]
jmp 0x54e8f1
mov ecx, eax
test ecx, ecx
je 0x54e91f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x54e918
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x54e906
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