Function at 0x10025310
Capabilities:
Encode data using xor
Hash data using fnv
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c1d72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [0x100fe0ec]
push esi
push edi
cmp byte [ecx + 8], bl
jne 0x10025366
sub esp, 8
push 0x100f9b68
call fcn.1002f3c0
mov ecx, dword [0x100fe0ec]
cmp byte [ecx + 8], bl
jne 0x10025366
push str.Cannot_connect_to_SQL_Server__Please_check_your_configuration__n
call fcn.1000eb40
add esp, 4
push 0x76
push str.SELECT_COUNT___as_TableCount_FROM_sys.objects_WHERE_object_id__OBJECT_ID_N_RefCustomPowderRate__AND_type_in__NU_
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], bl
call fcn.1000a420
mov dword [ebp - 4], 0
lea edx, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 0x10
mov dword [ebp - 0x88], 0
cmovae edx, dword [ebp - 0xb0]
mov ecx, edx
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100253d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.1000a420
sub esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x98]
mov edx, 0x100fe0ec
lea ecx, [ebp - 0x74]
push eax
call fcn.10030e20
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x10025442
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025438
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025a51
push edx
push ecx
call fcn.1006cd71
add esp, 8
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp dword [ecx + 0xc], 0
je 0x10025471
inc dword [ecx + 0x18]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 8]
jl 0x10025480
sub esp, 0xc
mov dword [ecx + 0x18], 0
call fcn.100305b0
push 0xa
push str.TableCount
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1000a420
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100367b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100254ed
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100254e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025a56
push edx
push ecx
call fcn.1006cd71
add esp, 8
or edi, 0xffffffff
cmp dword [ebp - 0x14], 0
jle 0x100259e1
push 0x2f
push str.SELECT__FROM__RefCustomPowderRate_with_nolock_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1000a420
sub esp, 8
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
mov edx, 0x100fe0ec
lea ecx, [ebp - 0x64]
push eax
call fcn.10030e20
add esp, 0xc
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1002556e
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025564
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025a5b
push edx
push ecx
call fcn.1006cd71
add esp, 8
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10028750
xor esi, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x58], esi
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x100255b1
mov eax, dword [ecx + 0x18]
inc eax
mov dword [ecx + 0x18], eax
cmp eax, dword [ecx + 8]
jge 0x100255b1
cmp eax, edx
setl al
jmp 0x100255c0
sub esp, 0xc
mov dword [ecx + 0x18], 0
call fcn.100305b0
test al, al
je 0x10025900
push 0xe
push str.PowderCodename
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.1000a420
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x64]
or ebx, 2
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x14], ebx
call fcn.100368f0
and ebx, 0xfffffffd
mov dword [ebp - 4], 9
or ebx, 1
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1002565d
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025653
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025a51
push edx
push ecx
call fcn.1006cd71
add esp, 8
push 9
push str.PlusLevel
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.1000a420
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100367b0
mov al, byte [ebp - 0x68]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0xd], al
cmp edx, 0x10
jb 0x100256d0
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100256c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025a51
push edx
push ecx
call fcn.1006cd71
add esp, 8
push 0xb
push str.SuccessRate
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.1000a420
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100367b0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1002573d
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025733
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025a51
push edx
push ecx
call fcn.1006cd71
add esp, 8
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x2c]
xor ecx, ecx
test ebx, ebx
je 0x10025767
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10025756
and edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xc4]
mov edi, dword [ebp - 0xcc]
lea ecx, [edx + edx]
mov esi, dword [eax + edx*8]
mov dword [ebp - 0x6c], ecx
cmp dword [eax + ecx*4], edi
jne 0x1002578b
mov eax, edi
jmp 0x10025791
mov eax, dword [eax + ecx*4 + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x100257fe
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov ebx, dword [esi + 0x1c]
lea ecx, [esi + 8]
cmovae edx, dword [ebp - 0x2c]
cmp ebx, 0x10
jb 0x100257ae
mov ecx, dword [esi + 8]
push dword [ebp - 0x1c]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 0x5c], eax
call fcn.1000ba70
add esp, 8
test al, al
jne 0x100257d3
mov esi, dword [esi]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x6c]
jmp 0x10025782
lea eax, [esi + 8]
cmp ebx, 0x10
jb 0x100257dd
mov eax, dword [eax]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push eax
call fcn.1000ba70
add esp, 8
test al, al
cmove esi, edi
jmp 0x10025800
mov esi, edi
cmp esi, edi
jne 0x1002588b
push 0
push 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.1000ea50
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x4c]
push 8
mov dword [ebp - 0x4c], 0x3f800000
call fcn.1000d020
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.1002b110
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0x4c]
push eax
add ecx, 0x20
call fcn.100288a0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.10021bc0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xd0]
call fcn.1002b110
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0xd]
push eax
add ecx, 0x20
call fcn.100287e0
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x58]
mov byte [ebp - 4], 8
inc esi
mov ebx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x58], esi
cmp edx, 0x10
jb 0x10025594
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100258ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025a51
push edx
push ecx
call fcn.1006cd71
mov ebx, dword [ebp - 0x14]
add esp, 8
jmp 0x10025594
push 0
push 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.1001e830
mov dword [ebp - 0x54], eax
push eax
mov byte [ebp - 4], 0x12
mov ecx, 0x100fe3e4
push dword [eax]
call fcn.1002a680
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0x13
mov ecx, 0x100fe3ec
push dword [ebp - 0x50]
push 0
push 0
call fcn.1001d670
lea eax, [ebp - 0xd0]
mov ecx, 0x100fe3e0
push eax
call fcn.10029660
lea ecx, [ebp - 0x80]
call fcn.1000e0c0
lea ecx, [ebp - 0x54]
call fcn.10029620
push 0x40
push dword [ebp - 0x54]
call fcn.1006cd71
push esi
push str.Loaded__RefCustomPowderRate_successfully.___d__n
call fcn.1000eb40
add esp, 0x10
lea ecx, [ebp - 0xc4]
call fcn.1000e0c0
lea ecx, [ebp - 0xcc]
call fcn.10029620
push 0x40
push dword [ebp - 0xcc]
call fcn.1006cd71
add esp, 8
mov byte [ebp - 4], 0x14
or edi, 0xffffffff
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x100259e1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100259e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100259e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x70]
test esi, esi
je 0x10025a0a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10025a0a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10025a0a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x9c]
pop edi
pop esi
pop ebx
cmp edx, 0x10
jb 0x10025a43
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025a39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025a60
push edx
push ecx
call fcn.1006cd71
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.10087f1c
call fcn.10087f1c
call fcn.10087f1c
call fcn.10087f1c
int3