Function at 0x47f520
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401816
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401400
mov eax, dword [0x48c054]
xor esi, esi
lea edx, [ebp - 0x78]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x78], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x34]
cmp eax, esi
fnclex
jge 0x47f593
mov ecx, dword [0x48c054]
push 0x34
push 0x41eb04
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [ebp - 0x78], si
jne 0x47f5c5
mov eax, dword [0x48c054]
push eax
mov edx, dword [eax]
call dword [edx + 0xc4]
cmp eax, esi
fnclex
jge 0x47f5c5
mov ecx, dword [0x48c054]
push 0xc4
push 0x41eb04
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dx, word [0x48c0d0]
push 0x41eb18
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
mov ecx, 0x48c060
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
call fcn.0047fdf0
lea ebx, [ebp - 0x18]
mov esi, 0xa
push ebx
mov ecx, esi
sub esp, 0x10
mov edx, 0x80020004
mov ebx, esp
mov eax, edx
sub esp, 0x10
mov dword [ebp - 0x5c], edx
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x4c], edx
mov edi, dword [0x48c050]
mov dword [ebx + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [ebp - 0x64], esi
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x68]
mov edi, dword [edi]
mov dword [ebp - 0x54], esi
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, esp
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x58]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x50]
mov ecx, esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [0x48c050]
mov dword [eax + 0xc], edx
mov eax, dword [0x48c060]
push eax
push ecx
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x47f6a5
mov edx, dword [0x48c050]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x41eb5c
push edx
push eax
call esi
jmp 0x47f6ab
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x48c054
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov eax, dword [0x48c054]
lea edx, [ebp - 0x78]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x47f6e7
mov ecx, dword [0x48c054]
push 0x34
push 0x41eb04
push ecx
push eax
call esi
cmp word [ebp - 0x78], 0
je 0x47f718
mov edx, 0x41eb70
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea edx, [ebp - 0x14]
push edx
call fcn.0047fc10
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x47f943
jmp 0x47f942
mov eax, dword [0x48c054]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd0]
test eax, eax
fnclex
jge 0x47f740
mov edx, dword [0x48c054]
push 0xd0
push 0x41eb04
push edx
push eax
call esi
mov eax, dword [0x48c054]
lea edx, [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x47f76c
mov ecx, dword [0x48c054]
push 0xb4
push 0x41eb04
push ecx
push eax
call esi
lea ebx, [ebp - 0x24]
mov eax, dword [ebp - 0x20]
push ebx
mov edx, 8
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 0x41eb88
push eax
mov esi, eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x70]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x68]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x30]
test eax, eax
fnclex
jge 0x47f7b0
push 0x30
push 0x41eb9c
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x24]
mov eax, dword [0x48c054]
mov dword [ebp - 0x9c], edx
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x47f7e9
mov ecx, dword [0x48c054]
push 0xb4
push 0x41eb04
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push ebx
mov edx, 8
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 0x41eb88
push eax
mov esi, eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x50]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x30]
test eax, eax
fnclex
jge 0x47f831
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x41eb9c
push esi
push eax
call edi
jmp 0x47f837
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x44]
test eax, eax
fnclex
jge 0x47f857
push 0x44
push 0x41ebac
push esi
push eax
call edi
mov esi, dword [ebp - 0x9c]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x44]
push eax
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x64], 2
mov ebx, dword [esi]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
push esi
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
call dword [ebx + 0x48]
test eax, eax
fnclex
jge 0x47f8af
push 0x48
push 0x41ebac
push esi
push eax
call edi
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x34]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [0x48c054]
add esp, 0x20
mov ecx, dword [eax]
push 0
push 1
push eax
call dword [ecx + 0x164]
test eax, eax
fnclex
jge 0x47f906
mov edx, dword [0x48c054]
push 0x164
push 0x41eb04
push edx
push eax
call edi
push 0x47f943
jmp 0x47f942
ret