Function at 0x10025c30
Capabilities:
Reference absolute stream path on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2145
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4e8
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x28], ebx
call fcn.10025ad0
mov esi, dword [ebx]
mov ecx, esi
call fcn.10025070
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.ODBC32.dll_SQLNumResultCols]
movzx eax, ax
test ax, ax
je 0x10025c82
cmp ax, 1
jne 0x10026118
mov ax, word [ebp - 0x14]
cmp ax, 1
jl 0x100260cd
movsx esi, ax
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x30], esi
mov edx, 0x38
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.1005cf5a
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10025ce5
push 0x10024670
push 0x10024640
push esi
lea edi, [eax + 4]
mov dword [eax], esi
push 0x38
push edi
call fcn.1005d0ed
jmp 0x10025ce7
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx]
mov dword [ebx + 0x10], edi
mov di, word [ebp - 0x14]
mov word [ebx + 0x14], di
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x1c], 0
call fcn.10025070
xor eax, eax
xor esi, esi
cmp ax, di
jge 0x1002601e
mov eax, dword [ebx]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x38]
push edx
push 0x400
lea edx, [ebp - 0x4f0]
lea ecx, [esi + 1]
push edx
push ecx
push dword [eax]
mov dword [ebp - 0x30], ecx
call dword [sym.imp.ODBC32.dll_SQLDescribeCol]
movzx eax, ax
test ax, ax
je 0x10025d73
cmp ax, 1
je 0x10025d73
xor al, al
jmp 0x10025d75
mov al, 1
test al, al
je 0x10025ff7
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 0xd], 0
jne 0x10025da4
movsx eax, word [ebp - 0x18]
cmp eax, 0xffffff68
je 0x10025da0
cmp eax, 0xfffffff7
je 0x10025da0
mov byte [ebp - 0xd], 0
cmp eax, 0xc
jne 0x10025da4
mov byte [ebp - 0xd], 1
movsx eax, si
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + 0x10]
lea edi, [eax + ecx*8]
lea ecx, [ebp - 0x4f0]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025dc0
sub ecx, edx
lea eax, [ebp - 0x4f0]
push ecx
push eax
mov ecx, edi
call fcn.10011b50
mov word [edi + 0x18], si
add ebx, 0x1c
movzx eax, word [ebp - 0x18]
mov ecx, ebx
mov word [edi + 0x1a], ax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x1c], eax
movzx eax, word [ebp - 0x24]
push edi
mov word [edi + 0x20], ax
mov dword [ebp - 0x20], ebx
call fcn.1002af20
mov esi, eax
cmp esi, dword [ebx]
je 0x10025e9d
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10025e16
mov edx, dword [esi + 0x10]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10025e20
mov ecx, dword [edi]
mov ebx, dword [edi + 0x10]
cmp dword [esi + 0x20], ebx
cmovb ebx, dword [esi + 0x20]
sub ebx, 4
jb 0x10025e41
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10025e46
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x10025e30
cmp ebx, 0xfffffffc
je 0x10025e7a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10025e73
cmp ebx, 0xfffffffd
je 0x10025e7a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10025e73
cmp ebx, 0xfffffffe
je 0x10025e7a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10025e73
cmp ebx, 0xffffffff
je 0x10025e7a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10025e7a
sbb eax, eax
or eax, 1
jmp 0x10025e7c
xor eax, eax
test eax, eax
jne 0x10025e93
mov eax, dword [esi + 0x20]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jbe 0x10025e8f
or eax, 0xffffffff
jmp 0x10025e93
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x10025ec1
mov ebx, dword [ebp - 0x20]
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], edi
push eax
push ecx
mov ecx, ebx
call fcn.1002ced0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.1002cf50
mov esi, dword [ebp - 0x2c]
mov dword [esi + 0x28], edi
movsx eax, word [edi + 0x1a]
add eax, 0x9b
cmp eax, 0xf8
ja case.0x10025edf.153
movzx eax, byte [eax + 0x10026180]
jmp dword [eax*4 + 0x10026150]
mov eax, 0xffffffe7
mov dword [edi + 0x24], 8
jmp 0x10025fdb
mov eax, 8
mov dword [edi + 0x24], eax
jmp 0x10025fdb
mov eax, 1
mov word [edi + 0x22], ax
mov eax, dword [edi + 0x1c]
add eax, 3
mov dword [edi + 0x24], eax
jmp 0x10025fdf
mov eax, 9
mov dword [edi + 0x24], 6
jmp 0x10025fdb
mov eax, 0xa
mov dword [edi + 0x24], 6
jmp 0x10025fdb
mov eax, 0xb
mov dword [edi + 0x24], 0x10
jmp 0x10025fdb
mov eax, 1
mov word [edi + 0x22], ax
mov eax, dword [edi + 0x1c]
inc eax
cmp byte [ebp - 0xd], 0
mov dword [edi + 0x24], eax
je 0x10025fdf
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 1
jmp 0x10025fdf
cmp byte [ebp - 0xd], 0
mov eax, 0xfffffff8
mov word [edi + 0x22], ax
mov eax, dword [edi + 0x1c]
lea eax, [eax*2 + 2]
mov dword [edi + 0x24], eax
je 0x10025fdf
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 1
jmp 0x10025fdf
mov eax, 1
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], al
jmp 0x10025fdb
mov eax, 0xfffffff8
mov byte [edi + 0x28], 1
mov dword [edi + 0x24], 0
jmp 0x10025fdb
mov eax, 0xfffffffe
mov byte [edi + 0x28], 1
mov dword [edi + 0x24], 0
jmp 0x10025fdb
mov eax, 1
mov dword [edi + 0x24], 0x80
mov word [edi + 0x22], ax
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
movzx esi, ax
mov ax, word [ebp - 0x14]
cmp si, ax
jl 0x10025d30
jmp 0x10026022
push str.c:users_sarko_pc_source_repos_sr_gameserver_dll_sr_gameserver_dll_sr_gameserver_dll_nanodbc_nanodbc.cpp:3616:
lea ecx, [ebp - 0x54]
call fcn.10010960
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 2
push eax
push 3
mov ecx, ebx
call fcn.10026880
push eax
jmp 0x10026134
mov ax, word [ebp - 0x14]
xor ecx, ecx
xor edi, edi
cmp cx, ax
jge 0x100260cd
lea edx, [edi + 4]
movsx eax, di
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + 0x10]
lea esi, [eax + ecx*8]
mov eax, dword [ebx + 8]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1005cf5a
add esp, 4
mov dword [esi + 0x2c], eax
cmp byte [esi + 0x28], 0
je 0x1002606e
push esi
mov ecx, ebx
call fcn.10026280
jmp 0x100260bd
mov eax, dword [esi + 0x24]
imul eax, dword [ebx + 8]
push eax
call fcn.1005cf5a
add esp, 4
mov dword [esi + 0x30], eax
mov ecx, dword [ebx]
push dword [esi + 0x2c]
push dword [esi + 0x24]
push eax
movzx eax, word [esi + 0x22]
push eax
mov ax, word [esi + 0x18]
inc ax
movzx eax, ax
push eax
push dword [ecx]
call dword [sym.imp.ODBC32.dll_SQLBindCol]
movzx eax, ax
test ax, ax
je 0x100260b3
cmp ax, 1
je 0x100260b3
xor al, al
jmp 0x100260b5
mov al, 1
test al, al
je 0x100260de
mov byte [esi + 0x34], 1
inc edi
mov edx, 4
cmp di, word [ebp - 0x14]
jl 0x10026032
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push str.c:users_sarko_pc_source_repos_sr_gameserver_dll_sr_gameserver_dll_sr_gameserver_dll_nanodbc_nanodbc.cpp:3767:
lea ecx, [ebp - 0x6c]
call fcn.10010960
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 3
push eax
push 3
mov ecx, ebx
call fcn.10026880
push eax
lea ecx, [ebp - 0xec]
call fcn.10024290
push 0x100e1aec
lea eax, [ebp - 0xec]
jmp 0x1002614a
push str.c:users_sarko_pc_source_repos_sr_gameserver_dll_sr_gameserver_dll_sr_gameserver_dll_nanodbc_nanodbc.cpp:1858:
lea ecx, [ebp - 0x54]
call fcn.10010960
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
push 3
push dword [esi]
lea ecx, [ebp - 0xac]
call fcn.10024290
push 0x100e1aec
lea eax, [ebp - 0xac]
push eax
call fcn.10075837
jno 0x100261b1
add dl, byte [eax]
sub al, 0x5f
add dl, byte [eax]
mov ebp, 0xab10025f
pop edi
add dl, byte [eax]
out 0x5e, al
add dl, byte [eax]
lcall 0x25f, 0x4e10025f
adc byte [edi + ebx*2], al
add dl, byte [eax]
neg dword [esi + 2]
adc byte [ebx], bl
pop edi
add dl, byte [eax]
cmp eax, 0xcf10025f
pop edi
add dl, byte [eax]
add byte [ecx], al
or eax, dword [eax]
add cl, byte [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or eax, dword [ebx]
add byte [eax], al
add al, 4
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
add eax, dword [eax]
add byte [esp + eax], al
add al, 2
add al, byte [edx]
add eax, 117900811
add al, 4
or byte [eax], cl
or byte [ecx], cl
add dword [edx], ecx
push es
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or ecx, dword [ebx]
or dword [ecx], eax
or cl, ah
int3