Function at 0x549621
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, 0x6d40f8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x5496ba
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 0x5496f2
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 0x54971a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54972a
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x54973e
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_union_yj__as_yj_FROM_claim_order_WHERE__my_user
push dword [0x84b794]
push str.SELECT_round_sum_yj__2__FROM___SELECT_sum_union_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 0x54984c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x54985c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x54986c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x54987c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x54988c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x54989c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x5498ac
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x5498bc
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x5498cc
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x5498dc
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5498ec
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x5498fc
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x54990c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x54991c
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_union_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_union_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 0x549986
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 0x5499df
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5499ef
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 0x549a1b
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 0x549a48
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 0x549a83
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 0x549ab3
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 0x549ae0
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 0x549b0c
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.commission_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 0x549b42
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x549b52
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.commission_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 0x549b88
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x549b98
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.commission_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 0x549bce
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x549bde
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.commission_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 0x549c14
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x549c24
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.commission_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 0x549c5a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x549c6a
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.commission_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 0x549ca0
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x549cb0
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.commission_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 0x549ce6
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x549cf6
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 0x54a658
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x549d39
push 0x650
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x549d5b
push 0x650
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x549d78
push 0x650
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x549d89
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x549d5d
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 0x549e63
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x549dd7
push 0x67d
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x549df9
push 0x67d
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x549e16
push 0x67d
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x549e27
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x549dfb
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.commission_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 0x549e5e
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54a650
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x549e8c
push 0x6cf
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x549eae
push 0x6cf
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x549ecb
push 0x6cf
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x549edc
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x549eb0
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 0x549fb6
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x549f2a
push 0x6fc
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x549f4c
push 0x6fc
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x549f69
push 0x6fc
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x549f7a
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x549f4e
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.commission_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 0x549fb1
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54a650
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x549fdf
push 0x74f
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54a001
push 0x74f
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54a01e
push 0x74f
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54a02f
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54a003
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 0x54a109
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54a07d
push 0x77c
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54a09f
push 0x77c
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54a0bc
push 0x77c
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54a0cd
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54a0a1
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.commission_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 0x54a104
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54a650
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54a132
push 0x7ce
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54a154
push 0x7ce
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54a171
push 0x7ce
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54a182
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54a156
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 0x54a25c
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54a1d0
push 0x7fb
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54a1f2
push 0x7fb
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54a20f
push 0x7fb
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54a220
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54a1f4
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.commission_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 0x54a257
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54a650
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54a285
push 0x84e
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54a2a7
push 0x84e
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54a2c4
push 0x84e
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54a2d5
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54a2a9
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 0x54a3af
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54a323
push 0x87b
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54a345
push 0x87b
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54a362
push 0x87b
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54a373
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54a347
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.commission_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 0x54a3aa
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54a650
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54a3d8
push 0x8ce
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54a3fa
push 0x8ce
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54a417
push 0x8ce
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54a428
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54a3fc
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 0x54a502
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54a476
push 0x8fb
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54a498
push 0x8fb
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54a4b5
push 0x8fb
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54a4c6
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54a49a
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.commission_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 0x54a4fd
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54a650
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54a52b
push 0x94d
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54a54d
push 0x94d
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54a56a
push 0x94d
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54a57b
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x2c]
jmp 0x54a54f
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 0x54a650
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x54a5c9
push 0x97a
push 0x4093621
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x54a5eb
push 0x97a
push 0x4093621
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x54a608
push 0x97a
push 0x4093621
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x54a619
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x54a5ed
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, str.commission_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 0x54a650
push ebx
call fcn.005dc820
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x549d02
add esp, 0xc
lea eax, [ebp - 8]
push eax
mov eax, str.commission_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 0x54a689
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 0x54a6c3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x54a6bf
imul eax, dword [ebx]
jmp 0x54a6b4
mov ecx, eax
test ecx, ecx
je 0x54a6e2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x54a6db
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x54a6c9
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 0x54a72f
push ebx
call fcn.005dc820
add esp, 4
jmp 0x54a734
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x54a744
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x54a754
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 0x54a772
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x54a76e
imul eax, dword [ebx]
jmp 0x54a763
mov ecx, eax
test ecx, ecx
je 0x54a791
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x54a78a
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x54a778
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