Function at 0x1008e4d1
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
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
push 8
call fcn.1015e6ad
add esp, 4
mov dword [ebp - 0x24], 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 - 0x28], 0
push 0
mov ebx, 0x10161500
call fcn.1015e6c5
add esp, 4
mov dword [0x104ff858], 0
push 0x40001
push 0x16019deb
push 0x5201587f
push 1
mov ebx, 0x101616b0
call fcn.1015e6c5
add esp, 0x10
push 0x40001
push 0x16019deb
push 0x5201587f
push 1
mov eax, 3
mov ebx, 0x101d9c50
call fcn.1015e6d1
add esp, 0x10
push 0xffffffffffffffff
push 8
push 0x16019dea
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10020e88
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1008e608
push ebx
call fcn.1015e6b3
add esp, 4
push 0x102d8baa
push dword [ebp - 0x30]
call fcn.10001d83
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1008e636
push ebx
call fcn.1015e6b3
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x1008e66b
push 0x10005
push 0x16019dea
push 0x5201587f
push 1
mov ebx, 0x10161690
call fcn.1015e6c5
add esp, 0x10
jmp 0x1008fa7c
push 0xffffffffffffffff
push 8
push 0x16019dea
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x102d8fd5
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1001013e
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1008e6c4
push ebx
call fcn.1015e6b3
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1008e6d4
push ebx
call fcn.1015e6b3
add esp, 4
cmp dword [ebp - 0x3c], 1
jne 0x1008eaab
push 0xffffffffffffffff
push 8
push 0x16019dea
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x2c], 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 - 0x2c]
test eax, eax
jne 0x1008e71c
mov eax, 0x102d8baa
push eax
push 3
mov ebx, 0x10160000
call fcn.1015e6c5
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1008e742
push ebx
call fcn.1015e6b3
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1008e764
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1008e760
imul eax, dword [ebx]
jmp 0x1008e755
mov ecx, eax
test ecx, ecx
je 0x1008e783
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1008e77c
push ebx
push eax
call fcn.1015e6b3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1008e76a
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 0x1008e7b7
push 0x1f1
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
je 0x1008e7dd
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 0x1008e7ee
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 0x1008e81a
push 0x227
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
je 0x1008e840
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 0x1008e851
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 0x1008e87d
push 0x27b
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x102d8fd5
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.10001d83
add esp, 8
cmp eax, 0
jne 0x1008e8bc
mov ebx, dword [ebp - 4]
call fcn.100020bf
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jne 0x1008e8bc
mov eax, 1
jmp 0x1008e8c1
mov eax, 0
test eax, eax
je 0x1008eaa6
mov ebx, dword [ebp - 4]
call fcn.10001921
mov eax, 1
cmp eax, ecx
jl 0x1008e8f1
push 0x2f3
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x102d8c17
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push str.SELECT__FROM_MAIN_kehuming_WHERE_kehu_S_
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1008e92c
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 - 0x30], eax
cmp dword [ebp - 0x30], 1
jne 0x1008eaa1
push 1
mov eax, str.kehu
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x104ff838
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1008e992
push ebx
call fcn.1015e6b3
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1008e9a6
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 0x1008e9d2
push 0x407
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.1000106f
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1008ea06
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0xffffffffffffffff
push 0x12
push 0x1601b322
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1008ea67
push str.___GROUP_BY
push dword [ebp - 8]
push 0x103b539e
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 0x1008ea5e
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x1008ea9c
push str.___GROUP_BY
push dword [ebp - 8]
push 0x103b541c
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 0x1008ea98
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x1008eaa1
jmp 0x1008eaa6
jmp 0x1008eb8f
push 0xffffffffffffffff
push 0x12
push 0x1601b322
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1008eb31
push 0xffffffffffffffff
push 8
push 0x16019dea
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x2c], eax
push str.____GROUP_BY
push dword [ebp - 0x2c]
push 0x103b54b7
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1008eb14
push ebx
call fcn.1015e6b3
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1008eb28
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x1008eb8f
push 0xffffffffffffffff
push 8
push 0x16019dea
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x2c], eax
push str.____GROUP_BY
push dword [ebp - 0x2c]
push 0x103b39a6
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1008eb77
push ebx
call fcn.1015e6b3
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1008eb8b
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 - 0x14], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov ebx, eax
mov ecx, 1
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x1008ed38
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x18]
cmp eax, 0
jge 0x1008ebf8
push 0xb39
push 0x4015920
push 0xa
call fcn.1015e6bf
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea ebx, [ebp - 0x30]
call fcn.10001921
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.1015e6ad
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x2c]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x1c]
call fcn.10001921
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x1008ec37
mov ecx, edx
sub eax, ecx
sub edx, ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ebx, esi
mov ecx, eax
test ecx, ecx
je 0x1008ec68
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1008ec5e
push ebx
call fcn.1015e6b3
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x1008ec4d
pop edx
pop edi
test edx, edx
je 0x1008ec76
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x1c]
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x1c]
call fcn.10001921
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1008ecac
push 0xb5d
push 0x4015920
push 4
call fcn.1015e6bf
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1008ecc9
push 0xb5d
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 1
mov eax, 0x103b1bf1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x104ff838
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1008ed01
push ebx
call fcn.1015e6b3
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1008ed17
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
push 0x104ff838
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x1008ebc5
add esp, 0xc
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.1004bb97
mov ebx, dword [ebp - 0x1c]
call fcn.100020bf
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
mov ecx, 1
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x1008f109
mov dword [ebp - 0x34], 2
mov eax, dword [ebp - 0x18]
cmp eax, 0
jg 0x1008ed9e
push 0xc7a
push 0x4015920
push 0xa
call fcn.1015e6bf
add esp, 0xc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
lea ebx, [ebp - 0x34]
call fcn.10001921
push ecx
shl ecx, 2
add ecx, 0xc
push ecx
call fcn.1015e6ad
add esp, 4
mov edi, eax
mov dword [edi], 2
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x30]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x20]
call fcn.10001921
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x1008ede6
mov ecx, edx
sub eax, ecx
sub edx, ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ebx, esi
mov ecx, eax
test ecx, ecx
je 0x1008ee17
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1008ee0d
push ebx
call fcn.1015e6b3
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x1008edfc
pop edx
pop edi
test edx, edx
je 0x1008ee25
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x20]
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
call fcn.10001921
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1008ee5b
push 0xcfc
push 0x4015920
push 4
call fcn.1015e6bf
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1008ee78
push 0xcfc
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
push 0x102d8ba4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x1008eead
mov eax, 0x102d8baa
push eax
push 3
mov ebx, 0x10160000
call fcn.1015e6c5
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1008eee5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1008eee1
imul eax, dword [ebx]
jmp 0x1008eed6
mov ecx, eax
test ecx, ecx
je 0x1008ef04
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1008eefd
push ebx
push eax
call fcn.1015e6b3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1008eeeb
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1008ef39
push 0xd2e
push 0x4015920
push 4
call fcn.1015e6bf
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x1008ef5b
push 0xd2e
push 0x4015920
push 3
call fcn.1015e6bf
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x1008ef78
push 0xd2e
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
add ebx, 4
dec ecx
je 0x1008ef89
call fcn.10003fd7
mov eax, dword [ebp + ecx*4 - 0x30]
jmp 0x1008ef5d
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.10001921
mov eax, 0
cmp eax, ecx
jl 0x1008efbb
push 0xd2e
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x1008efe1
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 - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1008eff4
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1008f023
push 0xd62
push 0x4015920
push 4
call fcn.1015e6bf
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x1008f045
push 0xd62
push 0x4015920
push 3
call fcn.1015e6bf
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x1008f062
push 0xd62
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
add ebx, 4
dec ecx
je 0x1008f073
call fcn.10003fd7
mov eax, dword [ebp + ecx*4 - 0x30]
jmp 0x1008f047
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.10001921
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1008f0a4
push 0xd62
push 0x4015920
push 4
call fcn.1015e6bf
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1008f0c1
push 0xd62
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x1008f0e7
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 - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1008f0fa
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x1008ed6b
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x1008f184
push 0x40001
push 0x16019deb
push 0x5201587f
push 1
mov eax, 3
mov ebx, 0x101d9c50
call fcn.1015e6d1
add esp, 0x10
push 0x40001
push 0x16019deb
push 0x5201587f
push 1
mov ebx, 0x101616d0
call fcn.1015e6c5
add esp, 0x10
push 0
push 2
push 0xffffffffffffffff
push 0x11
push 0x16019deb
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
jmp 0x1008fa7c
push 0x104ff838
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x102d8c59]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.1000222e
push 0
push eax
push 0xffffffffffffffff
push 0x11
push 0x16019deb
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
push 0
push 3
push 0xffffffffffffffff
push 0x12
push 0x16019deb
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 5
push 0x16019deb
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
push 0x80000301
push 0
push 0x1e
push 0x80000301
push 0
push 0
push 0x40001
push 0x16019deb
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 0x16019deb
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 0x16019deb
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 0x16019deb
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
push 0x16019deb
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 0x103b1bf1
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 0
push 0x40001
push 0x16019deb
push 0x5201587f
push 5
mov eax, 3
mov ebx, 0x101d8df0
call fcn.1015e6d1
add esp, 0x40
push 1
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.1003713a
mov ebx, dword [ebp - 0x20]
call fcn.100020bf
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fdiv qword [0x102d9655]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.1000222e
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
mov ecx, 1
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x1008f660
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x10160630
call fcn.1015e6c5
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x1008f43c
mov eax, 0x102d8baa
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x18]
push 0x40001
push 0x16019deb
push 0x5201587f
push 5
mov eax, 3
mov ebx, 0x101d8df0
call fcn.1015e6d1
add esp, 0x40
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1008f495
push ebx
call fcn.1015e6b3
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1008f4be
push 0x1293
push 0x4015920
push 4
call fcn.1015e6bf
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x1008f4e0
push 0x1293
push 0x4015920
push 3
call fcn.1015e6bf
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x1008f4fd
push 0x1293
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
add ebx, 4
dec ecx
je 0x1008f50e
call fcn.10003fd7
mov eax, dword [ebp + ecx*4 - 0x30]
jmp 0x1008f4e2
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x1008f52d
mov eax, 0x102d8baa
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x18]
push 0x40001
push 0x16019deb
push 0x5201587f
push 5
mov eax, 3
mov ebx, 0x101d8df0
call fcn.1015e6d1
add esp, 0x40
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
dec eax
jns 0x1008f59f
push 0x12d8
push 0x4015920
push 4
call fcn.1015e6bf
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x1008f5c1
push 0x12d8
push 0x4015920
push 3
call fcn.1015e6bf
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x1008f5de
push 0x12d8
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
add ebx, 4
dec ecx
je 0x1008f5ef
call fcn.10003fd7
mov eax, dword [ebp + ecx*4 - 0x30]
jmp 0x1008f5c3
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x1008f60e
mov eax, 0x102d8baa
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0x18]
push 0x40001
push 0x16019deb
push 0x5201587f
push 5
mov eax, 3
mov ebx, 0x101d8df0
call fcn.1015e6d1
add esp, 0x40
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x1008f3fd
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
push 0x15
push 0x16019deb
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
push 0x40001
push 0x16019deb
push 0x5201587f
push 1
mov ebx, 0x101616d0
call fcn.1015e6c5
add esp, 0x10
push 0
push 1
push 0xffffffffffffffff
push 5
push 0x16019deb
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
push 0xffffffffffffffff
push 8
push 0x16019dea
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x102d8fd5
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1001013e
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1008f717
push ebx
call fcn.1015e6b3
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1008f727
push ebx
call fcn.1015e6b3
add esp, 4
cmp dword [ebp - 0x3c], 1
jne 0x1008fa5f
push 0xffffffffffffffff
push 8
push 0x16019dea
push 0x5201587f
call fcn.1015e6dd
add esp, 0x10
mov dword [ebp - 0x2c], 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 - 0x2c]
test eax, eax
jne 0x1008f76f
mov eax, 0x102d8baa
push eax
push 3
mov ebx, 0x10160000
call fcn.1015e6c5
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1008f795
push ebx
call fcn.1015e6b3
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1008f7b7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1008f7b3
imul eax, dword [ebx]
jmp 0x1008f7a8
mov ecx, eax
test ecx, ecx
je 0x1008f7d6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1008f7cf
push ebx
push eax
call fcn.1015e6b3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1008f7bd
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
call fcn.10001921
mov eax, 0
cmp eax, ecx
jl 0x1008f80a
push 0x155c
push 0x4015920
push 1
call fcn.1015e6bf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x102d8fd5
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.10001d83
add esp, 8
cmp eax, 0
jne 0x1008f88b
mov ebx, dword [ebp - 4]
call fcn.100020bf
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jne 0x1008f88b
mov ebx, dword [ebp - 0x20]
call fcn.100020bf
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fdiv qword [0x102d9655]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [0x102d8c59]
ftst
fnstsw ax
test ah, 1
je 0x1008f873
fchs
fcomp qword [0x102d8c61]
fnstsw ax
test ah, 0x41
je 0x1008f88b
mov eax, 1
jmp 0x1008f890
mov eax, 0
test eax, eax
je 0x1008fa5a
push 0
push 1
push 0xffffffffffffffff
push 5
push 0x160159c0
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 0x12
push 0x160159b6
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push 0x40001
push 0x16019deb
push 0x5201587f
push 3
mov eax, 3
mov ebx, 0x101d8a80
call fcn.1015e6d1
add esp, 0x28
push 0x40001
push 0x16019deb
push 0x5201587f
push 1
mov eax, 3
mov ebx, 0x101d8c10
call fcn.1015e6d1
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x1008fa55
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0x28]
push 0x40001
push 0x16019deb
push 0x5201587f
push 3
mov eax, 3
mov ebx, 0x101d9430
call fcn.1015e6d1
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
cmp ecx, reloc.WS2_32.dll_connect
je 0x1008f9aa
push 0x1704
push 0x4015920
push 5
call fcn.1015e6bf
add esp, 0xc
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x104ff8b0]
test ebx, ebx
je 0x1008f9c1
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [0x104ff8b0], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x28]
push 0x40001
push 0x16017158
push 0x5201587f
push 3
mov eax, 3
mov ebx, 0x101d9430
call fcn.1015e6d1
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
cmp ecx, reloc.WS2_32.dll_connect
je 0x1008fa2e
push 0x1746
push 0x4015920
push 5
call fcn.1015e6bf
add esp, 0xc
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x104ff898]
test ebx, ebx
je 0x1008fa45
push ebx
call fcn.1015e6b3
add esp, 4
pop eax
mov dword [0x104ff898], eax
call fcn.1004de21
jmp 0x1008fa55
jmp 0x1008fa5a
jmp 0x1008fa5f
push 0
push 0x102d8baa
push 0xffffffffffffffff
push 8
push 0x16019dea
push 0x5201587f
call fcn.1015e6d7
add esp, 0x18
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1008fa9a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1008fa96
imul eax, dword [ebx]
jmp 0x1008fa8b
mov ecx, eax
test ecx, ecx
je 0x1008fab9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1008fab2
push ebx
push eax
call fcn.1015e6b3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1008faa0
call fcn.1015e6b3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1008fad1
push ebx
call fcn.1015e6b3
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1008fae1
push ebx
call fcn.1015e6b3
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1008faf1
push ebx
call fcn.1015e6b3
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1008fb0f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1008fb0b
imul eax, dword [ebx]
jmp 0x1008fb00
mov ecx, eax
test ecx, ecx
je 0x1008fb2e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1008fb27
push ebx
push eax
call fcn.1015e6b3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1008fb15
call fcn.1015e6b3
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1008fb54
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1008fb50
imul eax, dword [ebx]
jmp 0x1008fb45
mov ecx, eax
test ecx, ecx
je 0x1008fb73
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1008fb6c
push ebx
push eax
call fcn.1015e6b3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1008fb5a
call fcn.1015e6b3
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1008fb99
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1008fb95
imul eax, dword [ebx]
jmp 0x1008fb8a
mov ecx, eax
test ecx, ecx
je 0x1008fbb8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1008fbb1
push ebx
push eax
call fcn.1015e6b3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1008fb9f
call fcn.1015e6b3
add esp, 4
mov esp, ebp
pop ebp
ret