Function at 0x1001f8cb
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 8
call fcn.1015e6ad
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x102d8bab
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 8
call fcn.1015e6ad
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x102d8bab
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.1015e6ad
add esp, 4
mov dword [ebp - 0x20], eax
mov edi, eax
mov esi, 0x102d8bab
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x24], 0
push 0xffffffffffffffff
push 8
push 0x16017159
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.10020e88
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001f984
push ebx
call fcn.1015e6b3
add esp, 4
push 0x102d8baa
push dword [ebp - 0x2c]
call fcn.10001d83
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001f9b2
push ebx
call fcn.1015e6b3
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x1001f9e7
push 0x10005
push 0x16017159
push 0x5201587f
push 1
mov ebx, 0x10161690
call fcn.1015e6c5
add esp, 0x10
jmp 0x10020d85
push 0
mov ebx, 0x10161500
call fcn.1015e6c5
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16017159
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x102d8fd5
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1001013e
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001fa52
push ebx
call fcn.1015e6b3
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1001fa62
push ebx
call fcn.1015e6b3
add esp, 4
cmp dword [ebp - 0x38], 1
jne 0x1001fe39
push 0xffffffffffffffff
push 8
push 0x16017159
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x102d8ba8
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1001faaa
mov eax, 0x102d8baa
push eax
push 3
mov ebx, 0x10160000
call fcn.1015e6c5
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001fad0
push ebx
call fcn.1015e6b3
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1001faf2
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1001faee
imul eax, dword [ebx]
jmp 0x1001fae3
mov ecx, eax
test ecx, ecx
je 0x1001fb11
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1001fb0a
push ebx
push eax
call fcn.1015e6b3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1001faf8
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
call fcn.10001921
mov eax, 2
cmp eax, ecx
jl 0x1001fb45
push 0x1ea
push 0x401695a
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
je 0x1001fb6b
push eax
mov ebx, eax
call fcn.10001004
inc eax
push eax
call fcn.1015e6ad
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001fb7c
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
call fcn.10001921
mov eax, 1
cmp eax, ecx
jl 0x1001fba8
push 0x233
push 0x401695a
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
je 0x1001fbce
push eax
mov ebx, eax
call fcn.10001004
inc eax
push eax
call fcn.1015e6ad
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001fbdf
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
call fcn.10001921
mov eax, 0
cmp eax, ecx
jl 0x1001fc0b
push 0x29a
push 0x401695a
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push 0x102d8fd5
mov ebx, dword [ebp - 0x28]
push dword [ebx]
call fcn.10001d83
add esp, 8
cmp eax, 0
jne 0x1001fc4a
mov ebx, dword [ebp - 4]
call fcn.100020bf
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jne 0x1001fc4a
mov eax, 1
jmp 0x1001fc4f
mov eax, 0
test eax, eax
je 0x1001fe34
mov ebx, dword [ebp - 4]
call fcn.10001921
mov eax, 1
cmp eax, ecx
jl 0x1001fc7f
push 0x312
push 0x401695a
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push 0x102d8c17
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push str.SELECT__FROM_MAIN_kehuming_WHERE_kehu_S_
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001fcba
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x104ff838
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 0x104ff838
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf0]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jne 0x1001fe2f
push 1
mov eax, str.kehu
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0x104ff838
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001fd20
push ebx
call fcn.1015e6b3
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001fd34
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
call fcn.10001921
mov eax, 2
cmp eax, ecx
jl 0x1001fd60
push 0x426
push 0x401695a
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.1000106f
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001fd94
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0xffffffffffffffff
push 0x12
push 0x1601b355
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1001fdf5
push 0x103b20c5
push dword [ebp - 8]
push 0x103b20f6
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001fdec
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x1001fe2a
push 0x103b20c5
push dword [ebp - 8]
push 0x103b215c
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001fe26
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x1001fe2f
jmp 0x1001fe34
jmp 0x1001ff1d
push 0xffffffffffffffff
push 0x12
push 0x1601b355
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1001febf
push 0xffffffffffffffff
push 8
push 0x16017159
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x28], eax
push str.__GROUP_BY
push dword [ebp - 0x28]
push 0x103b2211
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001fea2
push ebx
call fcn.1015e6b3
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001feb6
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x1001ff1d
push 0xffffffffffffffff
push 8
push 0x16017159
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x28], eax
push str.__GROUP_BY
push dword [ebp - 0x28]
push 0x103b2299
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001ff05
push ebx
call fcn.1015e6b3
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001ff19
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x40001
push 0x16017158
push 0x5201587f
push 1
mov eax, 3
mov ebx, 0x101d9c50
call fcn.1015e6d1
add esp, 0x10
push 0
push 1
push 0xffffffffffffffff
push 0x11
push 0x16017155
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
push 0x40001
push 0x16017158
push 0x5201587f
push 1
mov ebx, 0x101616b0
call fcn.1015e6c5
add esp, 0x10
push 0
push 3
push 0xffffffffffffffff
push 0x12
push 0x16017158
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16017158
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
push 0x80000301
push 0
push 0x1e
push 0x80000301
push 0
push 0
push 0x40001
push 0x16017158
push 0x5201587f
push 3
mov eax, 3
mov ebx, 0x101d99b0
call fcn.1015e6d1
add esp, 0x28
push 0x80000301
push 0
push 0x55
push 0x80000301
push 0
push 1
push 0x40001
push 0x16017158
push 0x5201587f
push 3
mov eax, 3
mov ebx, 0x101d99b0
call fcn.1015e6d1
add esp, 0x28
push 0x80000301
push 0
push 0xe6
push 0x80000301
push 0
push 2
push 0x40001
push 0x16017158
push 0x5201587f
push 3
mov eax, 3
mov ebx, 0x101d99b0
call fcn.1015e6d1
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
push 0x102d8f3f
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 0
push 0x40001
push 0x16017158
push 0x5201587f
push 5
mov eax, 3
mov ebx, 0x101d8df0
call fcn.1015e6d1
add esp, 0x40
push reloc.WS2_32.dll_connect
push 0
push 0x102d8f4b
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0
push 0x40001