Function at 0x4567b5
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6b45a4
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x6b9746
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x45684f
push ebx
call fcn.005dc820
add esp, 4
push dword [ebp + 8]
call fcn.00404742
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45686e
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
call fcn.004571e8
mov dword [ebp - 0x28], eax
push 1
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4568a3
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x6b9761
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b51b8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4568e8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4568f8
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x456965
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, 0x6b7e10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, 0x6b53de
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x456947
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x456957
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x48], 0
je 0x456965
xor eax, eax
jmp 0x45696a
mov eax, 1
test eax, eax
je 0x456977
jmp 0x4571a2
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x6b976a
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b53de
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4569bc
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4569cc
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x4569e1
jmp 0x4571a2
push 0
mov ebx, 0x5df7e0
call fcn.005dc82c
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fchs
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.004019f6
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 3
mov ebx, 0x5dee90
call fcn.005dc82c
add esp, 0x28
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov eax, str._HH:mm:ss
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov eax, str.yyyy_MM_dd
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 1
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.00403385
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x456a7e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x456a8e
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x456aa2
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x6b9777
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b53de
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x456aeb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x456afb
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
jle 0x456c82
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
push dword [ebp - 4]
push str._AND_order_state__AND_wxid_
push dword [ebp - 0x10]
push str.settling_time_
mov ecx, 7
call fcn.0040108c
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 1
lea eax, [ebp - 0x28]
push eax
mov eax, str.Invalid_order
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x456b7e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x456b8e
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
jle 0x456c82
lea eax, [ebp - 4]
push eax
call fcn.004572ad
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x6b97aa
push dword [ebp - 0x2c]
push 0x6b97be
push dword [ebp - 0x28]
push 0x6b97d2
push dword [ebp - 4]
push 0x6b97d8
mov ecx, 7
call fcn.0040108c
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x456c33
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x456c43
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6b97e6
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x456c6d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x456c7d
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4571a2
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x6b97ef
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b53de
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x456cc7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x456cd7
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x456e42
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push str._AND_user_yj_
push dword [ebp - 4]
push 0x6b7ac1
push dword [0x84b794]
push str._AND_order_state_AND_my_user
push dword [ebp - 0x10]
push str.settling_time_
mov ecx, 8
call fcn.0040108c
add esp, 0x20
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x456d49
push ebx
call fcn.005dc820
add esp, 4
push 1
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Invalid_order
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x456d7d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x456d8d
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x34], 0
jle 0x456e42
lea eax, [ebp - 4]
push eax
call fcn.004572ad
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x6b9833
push dword [ebp - 0x28]
push 0x6b9847
push dword [ebp - 4]
push 0x6b97d8
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x456e03
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b97e6
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x456e2d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x456e3d
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4571a2
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x6b9859
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b53de
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x456e87
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x456e97
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x45718e
push 0x6b4d58
push dword [ebp - 4]
push 0x6b7ac1
push dword [0x84b794]
push str._AND_order_state_AND_my_user
push dword [ebp - 0x10]
push str.SELECT_SUM_user_yj__FROM_Invalid_order_WHERE_settling_time_
mov ecx, 7
call fcn.0040108c
add esp, 0x1c
mov dword [ebp - 0x28], 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
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x456fa7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x456fb7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x456fc7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x456fd7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x456fe7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x456ff7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x457007
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x457017
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x457027
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x457037
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x457047
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x457057
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x457067
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x457077
push ebx
call fcn.005dc820
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x45708a
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dd7a0
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
fild dword [ebp - 0x20]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x34]
fsub qword [ebp - 0x3c]
fcomp qword [0x6b5816]
fnstsw ax
test ah, 0x41
jne 0x45718e
lea eax, [ebp - 4]
push eax
call fcn.004572ad
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4570eb
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dd7a0
call fcn.005dc82c
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x6b9833
push dword [ebp - 0x30]
push 0x6b98a3
push dword [ebp - 4]
push 0x6b97d8
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x45714f
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6b97e6
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x457179
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x457189
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4571a2
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
jmp 0x4571a2
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4571b2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4571d2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4571e2
push ebx
call fcn.005dc820
add esp, 4
mov esp, ebp
pop ebp
ret 4