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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2785
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.10030500
mov esi, dword [ebx]
mov ecx, esi
call fcn.1002f9f0
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.ODBC32.dll_SQLNumResultCols]
movzx eax, ax
test ax, ax
je 0x100306b2
cmp ax, 1
jne 0x10030b48
mov ax, word [ebp - 0x14]
cmp ax, 1
jl 0x10030afd
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.1006d10a
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10030715
push 0x1002eff0
push 0x1002efc0
push esi
lea edi, [eax + 4]
mov dword [eax], esi
push 0x38
push edi
call fcn.1006d29d
jmp 0x10030717
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.1002f9f0
xor eax, eax
xor esi, esi
cmp ax, di
jge 0x10030a4e
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 0x100307a3
cmp ax, 1
je 0x100307a3
xor al, al
jmp 0x100307a5
mov al, 1
test al, al
je 0x10030a27
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 0xd], 0
jne 0x100307d4
movsx eax, word [ebp - 0x18]
cmp eax, 0xffffff68
je 0x100307d0
cmp eax, 0xfffffff7
je 0x100307d0
mov byte [ebp - 0xd], 0
cmp eax, 0xc
jne 0x100307d4
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 0x100307f0
sub ecx, edx
lea eax, [ebp - 0x4f0]
push ecx
push eax
mov ecx, edi
call fcn.1000a420
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.10035950
mov esi, eax
cmp esi, dword [ebx]
je 0x100308cd
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x10030846
mov edx, dword [esi + 0x10]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10030850
mov ecx, dword [edi]
mov ebx, dword [edi + 0x10]
cmp dword [esi + 0x20], ebx
cmovb ebx, dword [esi + 0x20]
sub ebx, 4
jb 0x10030871
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10030876
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x10030860
cmp ebx, 0xfffffffc
je 0x100308aa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100308a3
cmp ebx, 0xfffffffd
je 0x100308aa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100308a3
cmp ebx, 0xfffffffe
je 0x100308aa
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100308a3
cmp ebx, 0xffffffff
je 0x100308aa
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100308aa
sbb eax, eax
or eax, 1
jmp 0x100308ac
xor eax, eax
test eax, eax
jne 0x100308c3
mov eax, dword [esi + 0x20]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jbe 0x100308bf
or eax, 0xffffffff
jmp 0x100308c3
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x100308f1
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.10037900
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.10037980
mov esi, dword [ebp - 0x2c]
mov dword [esi + 0x28], edi
movsx eax, word [edi + 0x1a]
add eax, 0x9b
cmp eax, 0xf8
ja case.0x1003090f.153
movzx eax, byte [eax + 0x10030bb0]
jmp dword [eax*4 + 0x10030b80]
mov eax, 0xffffffe7
mov dword [edi + 0x24], 8
jmp 0x10030a0b
mov eax, 8
mov dword [edi + 0x24], eax
jmp 0x10030a0b
mov eax, 1
mov word [edi + 0x22], ax
mov eax, dword [edi + 0x1c]
add eax, 3
mov dword [edi + 0x24], eax
jmp 0x10030a0f
mov eax, 9
mov dword [edi + 0x24], 6
jmp 0x10030a0b
mov eax, 0xa
mov dword [edi + 0x24], 6
jmp 0x10030a0b
mov eax, 0xb
mov dword [edi + 0x24], 0x10
jmp 0x10030a0b
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 0x10030a0f
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 1
jmp 0x10030a0f
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 0x10030a0f
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 1
jmp 0x10030a0f
mov eax, 1
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], al
jmp 0x10030a0b
mov eax, 0xfffffff8
mov byte [edi + 0x28], 1
mov dword [edi + 0x24], 0
jmp 0x10030a0b
mov eax, 0xfffffffe
mov byte [edi + 0x28], 1
mov dword [edi + 0x24], 0
jmp 0x10030a0b
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 0x10030760
jmp 0x10030a52
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.1000a100
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 2
push eax
push 3
mov ecx, ebx
call fcn.100312b0
push eax
jmp 0x10030b64
mov ax, word [ebp - 0x14]
xor ecx, ecx
xor edi, edi
cmp cx, ax
jge 0x10030afd
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.1006d10a
add esp, 4
mov dword [esi + 0x2c], eax
cmp byte [esi + 0x28], 0
je 0x10030a9e
push esi
mov ecx, ebx
call fcn.10030cb0
jmp 0x10030aed
mov eax, dword [esi + 0x24]
imul eax, dword [ebx + 8]
push eax
call fcn.1006d10a
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 0x10030ae3
cmp ax, 1
je 0x10030ae3
xor al, al
jmp 0x10030ae5
mov al, 1
test al, al
je 0x10030b0e
mov byte [esi + 0x34], 1
inc edi
mov edx, 4
cmp di, word [ebp - 0x14]
jl 0x10030a62
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.1000a100
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 3
push eax
push 3
mov ecx, ebx
call fcn.100312b0
push eax
lea ecx, [ebp - 0xec]
call fcn.1002ec10
push 0x100f7aa4
lea eax, [ebp - 0xec]
jmp 0x10030b7a
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.1000a100
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
push 3
push dword [esi]
lea ecx, [ebp - 0xac]
call fcn.1002ec10
push 0x100f7aa4
lea eax, [ebp - 0xac]
push eax
call fcn.10084947
mov eax, dword [0x5c100309]
or dword [ebx], eax
adc ch, ch
or dword [ebx], eax
adc bl, bl
or dword [ebx], eax
adc byte [esi], dl
or dword [ebx], eax
adc dl, cl
or dword [ebx], eax
adc byte [esi + 9], bh
add edx, dword [eax]
xor al, 9
add edx, dword [eax]
daa
or dword [ebx], eax
adc byte [ebx + 9], cl
add edx, dword [eax]
insd dword es:[edi], dx
or dword [ebx], eax
adc bh, bh
or dword [ebx], eax
adc byte [eax], al
add dword [ebx], ecx
add byte [edx], al
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 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