Function at 0x43ec30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401b66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401890
xor ebx, ebx
mov edi, 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xa0], ebx
xor esi, esi
mov eax, 0xea60
cmp esi, eax
jg 0x43ecd4
cmp esi, 0xea61
jb 0x43ecb5
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
xor ecx, ecx
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov ecx, dword [0x452058]
mov edx, edi
add edx, esi
mov byte [ecx + esi], al
jo 0x43f172
mov esi, edx
jmp 0x43ec9e
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x420500
lea ecx, [ebp - 0x28]
call esi
mov edx, 0x4204d0
lea ecx, [ebp - 0x24]
call esi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x4c]
push edi
push edx
call fcn.0043bec0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
mov ecx, edi
call esi
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x4c]
push eax
push ecx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x5c]
push edx
push eax
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x8c], 0x8002
call dword [sym.imp.MSVBVM60.DLL___vbaLenVar]
lea ecx, [ebp - 0x8c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x4c]
mov word [ebp - 0xa4], ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp word [ebp - 0xa4], bx
jne 0x43f103
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0x4205e0
mov ecx, dword [eax]
cmp word [edx], bx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push ecx
jne 0x43edfc
call ebx
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x420674
call ebx
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov edx, dword [edi]
push eax
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
push 0x42062c
call ebx
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x24]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
jmp 0x43ee6e
call ebx
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x420674
call ebx
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov edx, dword [edi]
push eax
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
push 0x420634
call ebx
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
mov eax, dword [ebp + 0xc]
mov cx, word [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x24]
push edx
push eax
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x18
lea ebx, [ebp - 0x38]
mov ecx, 0xa
push ebx
mov eax, 0x80020004
sub esp, 0x10
mov esi, 3
mov ebx, esp
sub esp, 0x10
mov edx, 4
mov edi, dword [0x4521d8]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x74], edx
mov dword [ebx + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [ebp - 0x8c], esi
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], esi
mov edi, dword [edi]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, esp
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x80]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x78]
mov ecx, esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x74]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [0x4521d8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x18]
push eax
push ecx
call dword [edi + 0xbc]
xor edi, edi
cmp eax, edi
fnclex
jge 0x43ef25
mov edx, dword [0x4521d8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x41e5e8
push edx
push eax
call esi
jmp 0x43ef2b
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], edi
push eax
push 0x45218c
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x14], edi
jmp 0x43ef48
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x45218c]
lea edx, [ebp - 0xa0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x43ef71
mov ecx, dword [0x45218c]
push 0x34
push 0x41e5f8
push ecx
push eax
call esi
cmp word [ebp - 0xa0], 0
jne 0x43f103
mov eax, dword [0x45218c]
lea ecx, [ebp - 0x38]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x43efab
mov edx, dword [0x45218c]
push 0xb4
push 0x41e5f8
push edx
push eax
call esi
lea ebx, [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x7c], edx
mov ebx, esp
mov ecx, 0x420654
mov dword [ebp - 0x74], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x78]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x30]
test eax, eax
fnclex
jge 0x43eff5
push 0x30
push 0x41e628
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x44]
test eax, eax
fnclex
jge 0x43f019
push 0x44
push 0x41e644
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov edi, eax
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x38]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
cdq
and edx, 7
add eax, edx
mov esi, eax
sar esi, 3
cmp esi, 0xea61
jb 0x43f084
call ebx
and edi, 0x80000007
jns 0x43f091
dec edi
or edi, 0xfffffff8
inc edi
add edi, 1
jo 0x43f172
cmp edi, 9
jb 0x43f0a1
call ebx
cmp esi, 0xea61
jb 0x43f0ab
call ebx
mov ecx, dword [0x4521ac]
mov eax, dword [0x452058]
mov dl, byte [ecx + edi]
mov bl, byte [eax + esi]
or dl, bl
mov byte [eax + esi], dl
mov eax, dword [0x45218c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xec]
test eax, eax
fnclex
jge 0x43f0ed
mov edx, dword [0x45218c]
push 0xec
push 0x41e5f8
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
add eax, 1
jo 0x43f172
cmp eax, 0x7530
mov dword [ebp - 0x14], eax
jle 0x43ef42
push 0x43f15f
jmp 0x43f14e
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x20]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop