Function at 0x404386
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
push 8
call fcn.00405b39
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4add3a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0xffffffffffffffff
push 8
push 0x160101a3
push 0x520101a1
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x4adceb
push dword [ebp - 0xc]
call fcn.004014f1
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 0x4043f8
push ebx
call fcn.00405b2d
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x40447d
push 0x10001
push 0x60101a2
push 0x520101a1
push 1
mov ebx, 0x405ca0
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0x40
push 0x4adf2a
push 0x4adf33
push dword [ebp - 0xc]
mov eax, 3
call fcn.00405b5d
cmp dword [ebp - 0x10], esp
je 0x404457
push 6
call fcn.00405b57
add esp, 4
push 0x10005
push 0x160101a3
push 0x520101a1
push 1
mov ebx, 0x406dc0
call fcn.00405b33
add esp, 0x10
jmp 0x404c67
push 0xffffffffffffffff
push 8
push 0x160101a3
push 0x520101a1
call fcn.00405b45
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 0x4044a9
mov eax, 0x4adceb
push eax
push 1
mov ebx, 0x406490
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4044cf
push ebx
call fcn.00405b2d
add esp, 4
push 0x4adcec
push dword [ebp - 0x10]
push str.SELECT_ygmc_ygmm_kybz_FROM_BASE_yuangong_WHERE_ygdm
mov ecx, 3
call fcn.00401315
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4044fc
push ebx
call fcn.00405b2d
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404510
push ebx
call fcn.00405b2d
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004015d5
test eax, eax
je 0x404b20
mov ebx, dword [ebp - 8]
call fcn.004015b5
mov eax, 0
cmp eax, ecx
jl 0x404547
push 1
call fcn.00405b57
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0x4ade31
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.004014f1
add esp, 8
cmp eax, 0
jne 0x4045ca
inc dword [0x50d7ec]
push 0x10001
push 0x60101a2
push 0x520101a1
push 1
mov ebx, 0x405ca0
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0x10
push 0x4adf78
push 0x4adf81
push dword [ebp - 0xc]
mov eax, 3
call fcn.00405b5d
cmp dword [ebp - 0x10], esp
je 0x4045c5
push 6
call fcn.00405b57
add esp, 4
jmp 0x404c67
mov ebx, dword [ebp - 8]
call fcn.004015b5
mov eax, 4
cmp eax, ecx
jl 0x4045e8
push 1
call fcn.00405b57
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0x4add42
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.004014f1
add esp, 8
cmp eax, 0
jne 0x404a32
mov ebx, dword [ebp - 8]
call fcn.004015b5
mov eax, 3
cmp eax, ecx
jl 0x404629
push 1
call fcn.00405b57
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0xffffffffffffffff
push 8
push 0x160101a4
push 0x520101a1
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0x10], eax
push str.w7w9WWww
push dword [ebp - 0x10]
mov ecx, 2
call fcn.00401315
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404672
push ebx
call fcn.00405b2d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x404685
mov eax, 0x4adceb
push eax
push 1
mov ebx, 0x406640
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4046ab
push ebx
call fcn.00405b2d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4046be
mov eax, 0x4add3a
push eax
push 1
mov eax, 1
mov ebx, 0x450ac0
call fcn.00405b3f
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4046e9
push ebx
call fcn.00405b2d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4046fc
mov eax, 0x4adceb
push eax
push 1
mov ebx, 0x406010
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x404722
push ebx
call fcn.00405b2d
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.004014f1
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404751
push ebx
call fcn.00405b2d
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x404994
push 0xffffffffffffffff
push 8
push 0x160101a3
push 0x520101a1
call fcn.00405b45
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 0x404787
mov eax, 0x4adceb
push eax
push 1
mov ebx, 0x406490
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4047ad
push ebx
call fcn.00405b2d
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x50d7dc]
test ebx, ebx
je 0x4047c4
push ebx
call fcn.00405b2d
add esp, 4
pop eax
mov dword [0x50d7dc], eax
mov ebx, dword [ebp - 8]
call fcn.004015b5
mov eax, 2
cmp eax, ecx
jl 0x4047e8
push 1
call fcn.00405b57
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x40480e
push eax
mov ebx, eax
call fcn.004010e1
inc eax
push eax
call fcn.00405b39
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x50d7e8]
test ebx, ebx
je 0x404822
push ebx
call fcn.00405b2d
add esp, 4
pop eax
mov dword [0x50d7e8], eax
push 0xffffffffffffffff
push 8
push 0x160101a4
push 0x520101a1
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x50d7f0]
test ebx, ebx
je 0x404858
push ebx
call fcn.00405b2d
add esp, 4
pop eax
mov dword [0x50d7f0], eax
push 0x10006
push 0x160107d7
push 0x52010001
push 1
mov ebx, 0x405ca0
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 0
push 0x160107d7
push 0x52010001
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fchs
fstp qword [ebp - 0x20]
push 0xffffffffffffffff
push 2
push 0x160107d7
push 0x52010001
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
push 3
push 0x160107d7
push 0x52010001
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0xffffffffffffffff
push 1
push 0x160107d7
push 0x52010001
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push dword [0x50d7e0]
push dword [0x50d7e4]
push dword [0x50d7dc]
push dword [ebp - 0x2c]
fld qword [ebp - 0x20]
call fcn.0040158e
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0xc]
mov eax, 7
call fcn.00405b5d
cmp dword [ebp - 0x30], esp
je 0x40493a
push 6
call fcn.00405b57
add esp, 4
mov dword [ebp - 0xc], esp
push 0x4adce1
push 0x4adf9e
push 0x4adce1
mov eax, 0
call fcn.00405b5d
cmp dword [ebp - 0xc], esp
je 0x404968
push 6
call fcn.00405b57
add esp, 4
push 0
push 0
push 0
push 0x10001
push 0x60101a2
push 0x520101a1
push 2
mov ebx, 0x406c40
call fcn.00405b33
add esp, 0x1c
jmp 0x404a2d
push 0x10001
push 0x60101a2
push 0x520101a1
push 1
mov ebx, 0x405ca0
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0x10
push 0x4adfa3
push 0x4adfac
push dword [ebp - 0xc]
mov eax, 3
call fcn.00405b5d
cmp dword [ebp - 0x10], esp
je 0x4049e9
push 6
call fcn.00405b57
add esp, 4
inc dword [0x50d7ec]
push 0
push 0x4adceb
push 0xffffffffffffffff
push 8
push 0x160101a4
push 0x520101a1
call fcn.00405b51
add esp, 0x18
push 0x10005
push 0x160101a4
push 0x520101a1
push 1
mov ebx, 0x406dc0
call fcn.00405b33
add esp, 0x10
jmp 0x404b1b
push 0x10001
push 0x60101a2
push 0x520101a1
push 1
mov ebx, 0x405ca0
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0x40
push 0x4adfc5
push 0x4adfce
push dword [ebp - 0xc]
mov eax, 3
call fcn.00405b5d
cmp dword [ebp - 0x10], esp
je 0x404a87
push 6
call fcn.00405b57
add esp, 4
inc dword [0x50d7ec]
push 0xffffffffffffffff
push 8
push 0x160101a3
push 0x520101a1
call fcn.00405b45
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 0x404ab9
mov eax, 0x4adceb
push eax
push 1
mov ebx, 0x405d40
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404adf
push ebx
call fcn.00405b2d
add esp, 4
push 0
push dword [ebp - 0x10]
push 0xffffffffffffffff
push 0x19
push 0x160101a3
push 0x520101a1
call fcn.00405b51
add esp, 0x18
push 0x10005
push 0x160101a3
push 0x520101a1
push 1
mov ebx, 0x406dc0
call fcn.00405b33
add esp, 0x10
jmp 0x404b20
cmp dword [0x50d7ec], 3
jl 0x404c67
push 0x10006
push 0x160107d7
push 0x52010001
push 1
mov ebx, 0x405ca0
call fcn.00405b33
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 0
push 0x160107d7
push 0x52010001
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fchs
fstp qword [ebp - 0x20]
push 0xffffffffffffffff
push 2
push 0x160107d7
push 0x52010001
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
push 3
push 0x160107d7
push 0x52010001
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0xffffffffffffffff
push 1
push 0x160107d7
push 0x52010001
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
push 8
push 0x160101a3
push 0x520101a1
call fcn.00405b45
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [0x50d7e0]
push dword [0x50d7e4]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
fld qword [ebp - 0x20]
call fcn.0040158e
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0xc]
mov eax, 7
call fcn.00405b5d
cmp dword [ebp - 0x34], esp
je 0x404c1f
push 6
call fcn.00405b57
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404c2f
push ebx
call fcn.00405b2d
add esp, 4
mov dword [ebp - 0xc], esp
push 0x4adce1
push 0x4adfe5
push 0x4adce1
mov eax, 0
call fcn.00405b5d
cmp dword [ebp - 0xc], esp
je 0x404c5d
push 6
call fcn.00405b57
add esp, 4
push 0
call fcn.00405b4b
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404c77
push ebx
call fcn.00405b2d
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404c95
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404c91
imul eax, dword [ebx]
jmp 0x404c86
mov ecx, eax
test ecx, ecx
je 0x404cb4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404cad
push ebx
push eax
call fcn.00405b2d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404c9b
call fcn.00405b2d
add esp, 4
mov esp, ebp
pop ebp
ret