Function at 0x3a135d0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x3a37466
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x378]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x388]
mov esi, ecx
lea ecx, [esp + 0x20]
call fcn.039efdc0
xor ebx, ebx
mov dword [esp + 0x380], ebx
cmp dword [esi + 0x2e8], ebx
je 0x3a1389e
push str.SELECT__Target__FROM__CustomAction__WHERE__Action___
lea ecx, [esp + 0xc8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.039f0100
mov byte [esp + 0x380], 1
test byte [esp + 0x38c], 1
mov ecx, str.SetDefDir
jne 0x3a13667
mov ecx, 0x3a5bbc4
mov eax, dword [0x3a56b80]
push eax
push 0x3a5bbc0
push eax
push ecx
lea ecx, [esp + 0xd4]
call fcn.039efdd0
mov ecx, eax
call fcn.039efdd0
mov ecx, dword [esp + 0xc4]
mov edx, dword [esi + 0x2e8]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi + 0x2fc]
push ecx
push edx
call eax
cmp eax, ebx
jne 0x3a13869
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x300]
push ebx
push ecx
call edx
cmp eax, ebx
jne 0x3a13869
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x304]
lea eax, [esp + 0x18]
push eax
push ecx
call edx
cmp eax, ebx
jne 0x3a13869
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x318]
lea ecx, [esp + 0x16c]
push ecx
push 1
mov edi, 0x104
push edx
mov dword [esp + 0x2c], edi
call eax
cmp eax, ebx
jne 0x3a13869
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x320]
push ecx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x320]
push eax
mov dword [esp + 0x1c], ebx
call ecx
push 0x14
lea edx, [esp + 0x16c]
push str._ProgramFilesFolder_
push edx
mov dword [esp + 0x20], ebx
call fcn.03a0113b
add esp, 0xc
test eax, eax
jne 0x3a1376a
mov eax, dword [0x3a56b80]
push eax
push str._ProgramFilesDir__
lea ecx, [esp + 0x28]
call fcn.03931210
mov ecx, dword [0x3a56b80]
push ecx
lea edx, [esp + 0x194]
push edx
jmp 0x3a137a9
push 0xf
lea eax, [esp + 0x16c]
push str._AppDataFolder_
push eax
call fcn.03a0113b
add esp, 0xc
test eax, eax
jne 0x3a137b2
mov ecx, dword [0x3a56b80]
push ecx
push str._AppData__
lea ecx, [esp + 0x28]
call fcn.03931210
mov edx, dword [0x3a56b80]
push edx
lea eax, [esp + 0x18a]
push eax
lea ecx, [esp + 0x28]
call fcn.039efdd0
cmp dword [esp + 0x24], ebx
jne 0x3a137e6
mov ecx, dword [0x3a56b80]
push ecx
lea edx, [esp + 0x16c]
push edx
mov ecx, ebp
call fcn.03931210
mov byte [esp + 0x380], bl
lea ecx, [esp + 0xc4]
call fcn.039ef660
jmp 0x3a139ee
mov eax, dword [0x3a56b80]
push eax
push str.SELECT__DefaultDir__FROM__Directory__WHERE__Directory___INSTALLDIR
lea ecx, [esp + 0xcc]
call fcn.03931210
mov edx, dword [esp + 0xc4]
mov eax, dword [esi + 0x2e8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x2fc]
push edx
push eax
call ecx
cmp eax, ebx
jne 0x3a13869
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x300]
push ebx
push edx
call eax
cmp eax, ebx
jne 0x3a13869
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x304]
lea ecx, [esp + 0x18]
push ecx
push edx
call eax
cmp eax, ebx
jne 0x3a13869
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x318]
lea edx, [esp + 0x16c]
push edx
push 1
push eax
mov dword [esp + 0x2c], edi
call ecx
cmp eax, ebx
je 0x3a138cb
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x3a1387a
mov edx, dword [esi + 0x320]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x3a1388b
push eax
mov eax, dword [esi + 0x320]
call eax
mov byte [esp + 0x380], bl
lea ecx, [esp + 0xc4]
call fcn.039ef660
mov edi, dword [0x3a56b80]
push ebx
lea ecx, [esp + 0x24]
call fcn.039efbb0
test byte [esp + 0x38c], 1
push edi
lea ecx, [esp + 0x24]
jne 0x3a13992
push 0x3a5ba84
jmp 0x3a13997
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x320]
push ecx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x320]
push eax
mov dword [esp + 0x1c], ebx
call ecx
mov dword [esp + 0x14], ebx
mov ecx, 0x3a3af7c
lea eax, [esp + 0x168]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x3a13926
cmp dx, bx
je 0x3a13922
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x3a13926
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x3a13900
xor eax, eax
jmp 0x3a1392b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x3a13969
lea edx, [esp + 0x168]
push 0x7c
push edx
call fcn.03a00953
add esp, 8
cmp eax, ebx
jne 0x3a13955
mov eax, dword [0x3a56b80]
push eax
lea ecx, [esp + 0x16c]
push ecx
jmp 0x3a13960
mov edx, dword [0x3a56b80]
push edx
add eax, 2
push eax
lea ecx, [esp + 0x28]
call fcn.039efdd0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
push ebp
push eax
push ecx
call fcn.039f6d90
add esp, 0x10
mov byte [esp + 0x380], bl
lea ecx, [esp + 0xc4]
call fcn.039ef660
jmp 0x3a139ee
push str._AppData_
call fcn.039efdd0
mov ecx, dword [0x3a56b80]
mov eax, dword [esi + 4]
mov edx, dword [esi]
push ecx
push str.__VMware_ThinApp_
push ecx
push eax
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
mov ecx, dword [0x3a56b80]
push eax
push ecx
push 0x3a3b984
lea ecx, [esp + 0x38]
call fcn.039efdd0
mov ecx, eax
call fcn.039efdd0
mov ecx, eax
call fcn.039efdd0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ebx
push ebp
push edx
push eax
call fcn.039f6d90
add esp, 0x10
mov dword [esp + 0x380], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.039ef660
mov eax, 1
mov ecx, dword [esp + 0x378]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x370
ret 8