Function at 0x3a1bb30
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x3a381a3
mov eax, dword fs:[0]
push eax
mov eax, 0x10564
call fcn.03a02390
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x10560], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x10578]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1058c]
mov ebp, dword [esp + 0x10588]
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x224]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
call fcn.039efdc0
mov dword [esp + 0x10580], edi
lea ecx, [esp + 0x2c8]
call fcn.039efdc0
mov byte [esp + 0x10580], 1
mov edx, dword [esi + 0x2e8]
mov eax, dword [esi + 0x2fc]
lea ecx, [esp + 0x14]
push ecx
push str.SELECT__File____FileName__FROM__File_
push edx
call eax
cmp eax, edi
jne 0x3a1c407
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x300]
push edi
push ecx
call edx
cmp eax, edi
jne 0x3a1c407
nop
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x304]
lea eax, [esp + 0x18]
push eax
push ecx
call edx
cmp eax, edi
jne 0x3a1bd89
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x318]
lea ecx, [esp + 0x370]
push ecx
push 1
push edx
mov dword [esp + 0x2c], 0x104
call eax
cmp eax, edi
jne 0x3a1c407
lea ecx, [esp + 0x36c]
push ecx
lea ecx, [esp + 0x184]
call fcn.039f0100
mov byte [esp + 0x10580], 2
lea edx, [esp + 0x180]
lea ecx, [esi + 0x2cc]
push edx
call fcn.03949b60
mov byte [esp + 0x10580], 1
lea ecx, [esp + 0x180]
call fcn.039ef660
lea ecx, [esp + 0x36c]
mov eax, str.F0000001
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x3a1bcab
cmp dx, di
je 0x3a1bca7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x3a1bcab
add eax, 4
add ecx, 4
cmp dx, di
jne 0x3a1bc85
xor eax, eax
jmp 0x3a1bcb0
sbb eax, eax
sbb eax, 0xffffffff
mov edx, dword [esp + 0x18]
cmp eax, edi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x318]
lea ecx, [esp + 0x370]
push ecx
push 2
push edx
sete bl
mov dword [esp + 0x2c], 0x104
call eax
cmp eax, edi
jne 0x3a1c407
lea ecx, [esp + 0x36c]
push 0x7c
push ecx
call fcn.03a00953
mov edi, eax
add esp, 8
test edi, edi
jne 0x3a1bd02
lea edi, [esp + 0x36c]
jmp 0x3a1bd05
add edi, 2
push edi
lea ecx, [esp + 0xe0]
call fcn.039f0100
mov byte [esp + 0x10580], 3
lea edx, [esp + 0xdc]
push edx
lea ecx, [esi + 0x2cc]
call fcn.03949b60
mov byte [esp + 0x10580], 1
lea ecx, [esp + 0xdc]
call fcn.039ef660
test bl, bl
je 0x3a1bd71
mov eax, dword [0x3a56b80]
mov ecx, edi
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
lea ecx, [esp + 0x2cc]
mov ebx, eax
call fcn.039efbb0
push ebx
push edi
lea ecx, [esp + 0x2d0]
call fcn.039efdd0
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x320]
push edx
call eax
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x3a1bbf0
cmp eax, 0x103
jne 0x3a1c407
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x320]
push ecx
call edx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x63e7063f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], edi
cmp eax, 1
jne 0x3a1be2b
push edi
push edi
mov ecx, ebp
call fcn.03a19b30
mov ecx, eax
call fcn.039ef290
cmp word [eax], 0x23
jne 0x3a1be2b
push 4
call fcn.0393d940
push 0x40
mov ebx, eax
call fcn.0393d940
add esp, 8
mov dword [esp + 0x1c], eax
mov byte [esp + 0x10580], 4
cmp eax, edi
je 0x3a1be1a
mov ecx, dword [esp + 0x20]
push 0x3a5d940
push ecx
mov ecx, eax
call fcn.03a10e20
mov byte [esp + 0x10580], 1
mov dword [ebx], eax
jmp 0x3a1bed7
xor eax, eax
mov byte [esp + 0x10580], 1
mov dword [ebx], eax
jmp 0x3a1bed7
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x63e7063f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0393d9d0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov ebx, eax
mov eax, 0x63e7063f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add esp, 4
xor edi, edi
add eax, edx
je 0x3a1bed7
push 0x28
call fcn.0393d940
mov ebp, eax
add esp, 4
mov dword [esp + 0x20], ebp
mov byte [esp + 0x10580], 5
test ebp, ebp
je 0x3a1beaa
mov ecx, dword [esp + 0x24]
push edi
call fcn.03a19b30
mov eax, dword [eax]
push eax
mov ecx, ebp
call fcn.039f2ef0
jmp 0x3a1beac
xor eax, eax
mov byte [esp + 0x10580], 1
mov dword [ebx + edi*4], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x63e7063f
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
inc edi
add ecx, edx
cmp edi, ecx
jb 0x3a1be78
push 0x10
call fcn.0393d940
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
mov byte [esp + 0x10580], 6
mov ebp, dword [esp + 0x24]
test ecx, ecx
je 0x3a1bf17
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
mov eax, 0x63e7063f
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebx
push eax
call fcn.03a11060
jmp 0x3a1bf19
xor eax, eax
mov byte [esp + 0x10580], 1
mov dword [esi + 0x2e4], eax
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esi + 0x2cc]
push ecx
mov ecx, eax
call edx
test al, al
je 0x3a1bfac
push 0x40
call fcn.0393d940
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x10580], 7
test eax, eax
je 0x3a1bf6d
mov ecx, dword [esp + 0x2c8]
mov edx, dword [esi + 0x2e4]
push ecx
push edx
mov ecx, eax
call fcn.03a11790
jmp 0x3a1bf6f
xor eax, eax
mov byte [esp + 0x10580], 1
mov edx, dword [esi + 0x1f4]
lea ecx, [esi + 0x1f4]
push eax
mov eax, dword [edx + 4]
call eax
test al, al
je 0x3a1bfac
lea ecx, [esp + 0x2c8]
push ecx
lea ecx, [esi + 4]
call fcn.039360d0
mov dword [esi + 0x1f0], 3
jmp 0x3a1c58b
mov ecx, dword [esi + 0x2e4]
test ecx, ecx
je 0x3a1bfbe
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [esi + 0x324], 0
mov dword [esi + 0x2e4], 0
jne 0x3a1c030
push 0
push 0
push str.cabinet.dll
call dword [0x3a5fd60]
mov dword [esi + 0x324], eax
test eax, eax
je 0x3a1c441
push str.FDICreate
push eax
call fcn.039971f0
mov ecx, dword [esi + 0x324]
push str.FDICopy
push ecx
mov dword [esi + 0x328], eax
call fcn.039971f0
mov edx, dword [esi + 0x324]
push str.FDIDestroy
push edx
mov dword [esi + 0x32c], eax
call fcn.039971f0
add esp, 0x18
mov dword [esi + 0x330], eax
cmp dword [esi + 0x328], 0
je 0x3a1c441
cmp dword [esi + 0x32c], 0
je 0x3a1c441
cmp dword [esi + 0x330], 0
je 0x3a1c441
lea ecx, [esp + 0xdc]
call fcn.039efdc0
mov byte [esp + 0x10580], 8
mov eax, dword [esi + 0x228]
mov ecx, dword [esi + 0x230]
mov ebx, dword [0x3a60728]
lea edi, [esi + 0x228]
push eax
push ecx
call ebx
test eax, eax
je 0x3a1c540
mov ecx, dword [esi + 0x230]
lea edx, [eax + 1]
cmp ecx, edx
jae 0x3a1c0c9
push eax
mov ecx, edi
call fcn.039efb00
mov eax, dword [edi]
mov ecx, dword [esi + 0x230]
push eax
push ecx
call ebx
test eax, eax
je 0x3a1c540
mov ecx, dword [esi + 0x230]
lea edx, [eax + 1]
cmp ecx, edx
jb 0x3a1c540
push eax
mov ecx, edi
call fcn.039efbb0
mov eax, dword [esi + 0x22c]
dec eax
push eax
mov ecx, edi
call fcn.039ef290
cmp word [eax], 0x5c
je 0x3a1c0f8
mov eax, dword [0x3a56b80]
push eax
push 0x3a3b984
mov ecx, edi
call fcn.039efdd0
lea ecx, [esp + 0x24]
push ecx
call dword [0x3a5ffac]
mov ebx, dword [0x3a5fe3c]
lea esp, [esp]
mov eax, dword [esp + 0x24]
dec eax
push eax
push str._x.cab_
push edi
mov dword [esp + 0x30], eax
call fcn.039f0800
mov eax, dword [edi]
add esp, 0xc
push 0
push eax
call ebx
test eax, eax
je 0x3a1c110
push 0
mov ecx, ebp
call fcn.03a19b30
mov eax, dword [eax]
mov edx, dword [0x3a56b80]
push edx
add eax, 2
push eax
lea ecx, [esp + 0xe4]
call fcn.03931210
push str.SELECT__Data__FROM___Streams__WHERE__Name___
lea ecx, [esp + 0x184]
call fcn.039f0100
mov byte [esp + 0x10580], 9
mov eax, dword [0x3a56b80]
push eax
push 0x3a5bbc0
push eax
push 0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x194]
call fcn.039eff20
mov ecx, eax
call fcn.039efdd0
mov edx, dword [esp + 0x180]
mov eax, dword [esi + 0x2e8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x2fc]
push edx
push eax
call ecx
test eax, eax
je 0x3a1c1e4
mov byte [esp + 0x10580], 8
lea ecx, [esp + 0x180]
call fcn.039ef660
mov byte [esp + 0x10580], 1
lea ecx, [esp + 0xdc]
call fcn.039ef660
jmp 0x3a1c407
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x300]
push 0
push edx
call eax
test eax, eax
jne 0x3a1c1b7
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x304]
lea ecx, [esp + 0x18]
push ecx
push edx
call eax
test eax, eax
jne 0x3a1c1b7
mov ecx, dword [0x3a56b80]
push ecx
push str..cab
lea ecx, [esp + 0xe4]
call fcn.039efdd0
mov eax, dword [0x3a56b80]
push eax
push 0
lea edx, [esp + 0xe4]
push edx
push eax
push 0
push edi
lea ecx, [esp + 0x23c]
call fcn.039321e0
mov ecx, eax
call fcn.039eff20
mov eax, dword [esp + 0x224]
push 0
push 0
push 1
push 0
push 0
push 2
push eax
call dword [0x3a5fdb0]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x3a1c1b7
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x31c]
lea edx, [esp + 0x578]
push edx
push 1
push eax
mov dword [esp + 0x2c], 0x10000
call ecx
mov ebx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x3a1c2d7
test ebx, ebx
jne 0x3a1c2cf
push ebx
lea edx, [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x580]
push eax
push ebp
call dword [0x3a5fe38]
test eax, eax
je 0x3a1c3d8
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x20], eax
jne 0x3a1c3d8
test eax, eax
jbe 0x3a1c2d7
test ebx, ebx
je 0x3a1c271
push ebp
call dword [0x3a5fd90]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x320]
push ecx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x320]
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call ecx
mov eax, dword [esi + 0x328]
lea edx, [esp + 0x2c]
push edx
push 1
push 0x3a12190
push fcn.03a12180
push 0x3a12170
push 0x3a12160
push fcn.03a12120
push 0x3a12110
push 0x3a12100
mov dword [esp + 0x38], ebx
call eax
mov ebp, eax
add esp, 0x24
cmp ebp, ebx
je 0x3a1c39e
mov ecx, dword [0x3a56b80]
push ecx
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.039f01a0
mov byte [esp + 0x10580], 0xa
push esi
push ebx
push 0x3a19260
push ebx
mov ecx, eax
call fcn.039ef680
push eax
lea ecx, [esp + 0xf0]
call fcn.039ef680
mov edx, dword [esi + 0x32c]
push eax
push ebp
call edx
add esp, 0x1c
test eax, eax
sete bl
mov byte [esp + 0x10580], 9
lea ecx, [esp + 0x38]
call fcn.039ef660
test bl, bl
je 0x3a1c498
mov byte [esp + 0x10580], 8
lea ecx, [esp + 0x180]
call fcn.039ef660
mov byte [esp + 0x10580], 1
lea ecx, [esp + 0xdc]
call fcn.039ef660
test ebp, ebp
je 0x3a1c407
mov eax, dword [esi + 0x330]
push ebp
call eax
add esp, 4
jmp 0x3a1c407
mov byte [esp + 0x10580], 8
lea ecx, [esp + 0x180]
call fcn.039ef660
mov byte [esp + 0x10580], 1
lea ecx, [esp + 0xdc]
call fcn.039ef660
push ebp
call dword [0x3a5fd90]
cmp dword [esp + 0x228], 0
je 0x3a1c41f
mov ecx, dword [esp + 0x224]
push ecx
call dword [0x3a5fd7c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x3a1c430
mov edx, dword [esi + 0x320]
push eax
call edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3a1c441
push eax
mov eax, dword [esi + 0x320]
call eax
mov byte [esp + 0x10580], 0
lea ecx, [esp + 0x2c8]
call fcn.039ef660
mov dword [esp + 0x10580], 0xffffffff
lea ecx, [esp + 0x224]
call fcn.039ef660
xor al, al
mov ecx, dword [esp + 0x10578]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10560]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x10570
ret 8
mov ecx, dword [esi + 0x330]
push ebp
call ecx
mov edx, dword [esp + 0x228]
add esp, 4
push edx
call dword [0x3a5fd7c]
push 0
lea ecx, [esp + 0x228]
call fcn.039efbb0
mov eax, dword [0x3a56b80]
push eax
push 0
lea ecx, [esp + 0x2d0]
push ecx
push eax
push 0
lea ebp, [esi + 4]
push edi
mov ecx, ebp
call fcn.039321e0
mov ecx, eax
call fcn.039eff20
push 0x28
call fcn.0393d940
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x10580], 0xb
test eax, eax
je 0x3a1c50c
mov ebp, dword [ebp]
push ebp
mov ecx, eax
call fcn.039f2ef0
jmp 0x3a1c50e
xor eax, eax
mov byte [esp + 0x10580], 9
mov edx, dword [esi + 0x1f4]
lea ecx, [esi + 0x1f4]
push eax
mov eax, dword [edx + 4]
call eax
test al, al
jne 0x3a1c559
mov byte [esp + 0x10580], 8
lea ecx, [esp + 0x180]
call fcn.039ef660
mov byte [esp + 0x10580], 1
lea ecx, [esp + 0xdc]
call fcn.039ef660
jmp 0x3a1c441
mov dword [esi + 0x1f0], 4
mov byte [esp + 0x10580], 8
lea ecx, [esp + 0x180]
call fcn.039ef660
mov byte [esp + 0x10580], 1
lea ecx, [esp + 0xdc]
call fcn.039ef660
mov byte [esp + 0x10580], 0
lea ecx, [esp + 0x2c8]
call fcn.039ef660
mov dword [esp + 0x10580], 0xffffffff
lea ecx, [esp + 0x224]
call fcn.039ef660
mov al, 1
jmp 0x3a1c46e