Function at 0x401fc7
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x16010009
push 0x52010003
call fcn.00405225
add esp, 0x18
push 0xffffffffffffffff
push 8
push 0x1601000a
push 0x52010003
call fcn.0040522b
add esp, 0x10
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x402027
mov eax, 0x49248a
push eax
push 1
mov ebx, 0x405990
call fcn.0040520d
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40204d
push ebx
call fcn.00405207
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402060
mov eax, 0x49248a
push eax
push 1
mov ebx, 0x4053e0
call fcn.0040520d
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402086
push ebx
call fcn.00405207
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 8
push 0x1601000a
push 0x52010003
call fcn.0040522b
add esp, 0x10
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4020b8
mov eax, 0x49248a
push eax
push 1
mov ebx, 0x405990
call fcn.0040520d
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4020de
push ebx
call fcn.00405207
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4020f1
mov eax, 0x49248a
push eax
push 1
mov ebx, 0x405670
call fcn.0040520d
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402117
push ebx
call fcn.00405207
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40212a
mov eax, 0x49248a
push eax
push 1
mov ebx, 0x4053e0
call fcn.0040520d
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402150
push ebx
call fcn.00405207
add esp, 4
fild dword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fdiv qword [0x499e15]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401f03
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x499e15]
fstp qword [ebp - 0x18]
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x18]
ftst
fnstsw ax
test ah, 1
je 0x402196
fchs
fcomp qword [0x499e1d]
fnstsw ax
test ah, 0x41
je 0x40221c
push 0
push 0x49248a
push 0xffffffffffffffff
push 8
push 0x1601000a
push 0x52010003
call fcn.00405225
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010009
push 0x52010003
call fcn.00405225
add esp, 0x18
push reloc.WS2_32.dll_connect
push 0
push 0x499e25
push 0x80000301
push 0
push 0x40
push reloc.WS2_32.dll_connect
push 0
push 0x499e2e
push 3
mov ebx, 0x405fc0
call fcn.0040520d
add esp, 0x28
jmp 0x402662
cmp dword [ebp - 4], 0
je 0x402273
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
je 0x402273
fild dword [ebp - 8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x499e15]
fstp qword [ebp - 0x20]
fild dword [ebp - 4]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [ebp - 0x20]
ftst
fnstsw ax
test ah, 1
je 0x40225b
fchs
fcomp qword [0x499e1d]
fnstsw ax
test ah, 0x41
jne 0x402273
mov eax, 1
jmp 0x402275
xor eax, eax
test eax, eax
je 0x4022f2
push 0
push 0x49248a
push 0xffffffffffffffff
push 8
push 0x1601000a
push 0x52010003
call fcn.00405225
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010009
push 0x52010003
call fcn.00405225
add esp, 0x18
push reloc.WS2_32.dll_connect
push 0
push 0x499e25
push 0x80000301
push 0
push 0x40
push reloc.WS2_32.dll_connect
push 0
push 0x499e2e
push 3
mov ebx, 0x405fc0
call fcn.0040520d
add esp, 0x28
jmp 0x402662
push 0xffffffffffffffff
push 8
push 0x1601000a
push 0x52010003
call fcn.0040522b
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x499cf3
push dword [ebp - 0xc]
push str.SELECT__FROM_h_hqrjacc_WHERE_name
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402338
push ebx
call fcn.00405207
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x5953b0]
test ebx, ebx
je 0x40234f
push ebx
call fcn.00405207
add esp, 4
pop eax
mov dword [0x5953b0], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x5953b0]
test eax, eax
jne 0x40236a
mov eax, 0x49248a
push eax
push 0x80000301
push 0
push dword [0x5953b8]
push 2
mov eax, 2
mov ebx, 0x451a50
call fcn.0040521f
add esp, 0x1c
push 0x80000301
push 0
push dword [0x5953b8]
push 1
mov eax, 2
mov ebx, 0x451b10
call fcn.0040521f
add esp, 0x10
mov dword [0x5953bc], eax
push reloc.WS2_32.dll_connect
push 0
push 0x5953c0
push reloc.WS2_32.dll_connect
push 0
push str.name
push 0x80000301
push 0
push dword [0x5953bc]
push 3
mov eax, 2
mov ebx, 0x451ba0
call fcn.0040521f
add esp, 0x28
push 0xffffffffffffffff
push 8
push 0x1601000a
push 0x52010003
call fcn.0040522b
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [0x5953c0]
push eax
push dword [ebp - 0xc]
call fcn.00401f2a
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40243c
push ebx
call fcn.00405207
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x40260f
push 0
push dword [0x5953c0]
push 0xffffffffffffffff
push 8
push 0x16010014
push 0x52010003
call fcn.00405225
add esp, 0x18
push reloc.WS2_32.dll_connect
push 0
push 0x5953c0
push reloc.WS2_32.dll_connect
push 0
push str.huaqiacid
push 0x80000301
push 0
push dword [0x5953bc]
push 3
mov eax, 2
mov ebx, 0x451ba0
call fcn.0040521f
add esp, 0x28
mov eax, dword [0x5953c0]
test eax, eax
je 0x4024be
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.00405201
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x5953b4]
test ebx, ebx
je 0x4024d2
push ebx
call fcn.00405207
add esp, 4
pop eax
mov dword [0x5953b4], eax
push reloc.WS2_32.dll_connect
push 0
push 0x5953c0
push reloc.WS2_32.dll_connect
push 0
push 0x499e79
push 0x80000301
push 0
push dword [0x5953bc]
push 3
mov eax, 2
mov ebx, 0x451ba0
call fcn.0040521f
add esp, 0x28
push 0
push dword [0x5953c0]
push 0xffffffffffffffff
push 8
push 0x16010018
push 0x52010003
call fcn.00405225
add esp, 0x18
push reloc.WS2_32.dll_connect
push 0
push 0x5953c0
push reloc.WS2_32.dll_connect
push 0
push 0x499e7c
push 0x80000301
push 0
push dword [0x5953bc]
push 3
mov eax, 2
mov ebx, 0x451ba0
call fcn.0040521f
add esp, 0x28
push 0
push dword [0x5953c0]
push 0xffffffffffffffff
push 8
push 0x16010017
push 0x52010003
call fcn.00405225
add esp, 0x18
push reloc.WS2_32.dll_connect
push 0
push 0x5953c0
push reloc.WS2_32.dll_connect
push 0
push 0x499e7f
push 0x80000301
push 0
push dword [0x5953bc]
push 3
mov eax, 2
mov ebx, 0x451ba0
call fcn.0040521f
add esp, 0x28
push 0
push dword [0x5953c0]
push 0xffffffffffffffff
push 8
push 0x16010016
push 0x52010003
call fcn.00405225
add esp, 0x18
push 0x80000301
push 0
push dword [0x5953bc]
push 1
mov eax, 2
mov ebx, 0x451b60
call fcn.0040521f
add esp, 0x10
jmp 0x402662
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010009
push 0x52010003
call fcn.00405225
add esp, 0x18
push reloc.WS2_32.dll_connect
push 0
push 0x499e83
push 0x80000301
push 0
push 0x40
push reloc.WS2_32.dll_connect
push 0
push 0x499e8c
push 3
mov ebx, 0x405fc0
call fcn.0040520d
add esp, 0x28
mov esp, ebp
pop ebp
ret