Function at 0x439470
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x402696
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401b70
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call edi
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov edx, 0x4116b0
lea ecx, [ebp - 0x38]
call edi
cmp dword [0x45b858], esi
jne 0x43952a
push 0x45b858
push 0x4118d0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x45b858]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
push edi
call dword [eax + 0x3c]
fnclex
cmp eax, esi
jge 0x43954f
push 0x3c
push 0x4118c0
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xd0], eax
xor ecx, ecx
mov edx, 2
mov edi, dword [eax]
lea ebx, [ebp - 0x48]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x8c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x84]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x30]
fnclex
cmp eax, esi
jge 0x4395a0
push 0x30
push 0x41192c
mov edx, dword [ebp - 0xd0]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xd8], eax
mov ecx, 0x4148fc
mov edx, 8
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa0], 0xb
mov edi, dword [eax]
lea ebx, [ebp - 0x4c]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0xbc]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xb4]
mov dword [ebx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov ecx, 0xb
mov dword [edx], ecx
mov ecx, dword [ebp - 0xac]
mov dword [edx + 4], ecx
mov dword [edx + 8], esi
mov ecx, dword [ebp - 0xa4]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov ecx, dword [ebp - 0xa0]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x9c]
mov dword [edx + 4], ecx
mov ecx, esi
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x94]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x34]
push edx
push eax
call dword [edi + 0x58]
fnclex
test eax, eax
jge 0x43964d
push 0x58
push 0x41193c
mov ecx, dword [ebp - 0xd8]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
mov eax, 0x80020004
mov ecx, 0xa
mov edx, eax
mov dword [ebp - 0x98], edx
mov esi, ecx
mov dword [ebp - 0xa0], esi
mov edi, dword [ebp - 0x2c]
mov edi, dword [edi]
lea ebx, [ebp - 0x44]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xac]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x94]
mov dword [ecx + 0xc], edx
sub esp, 0x10
mov ecx, esp
mov eax, esi
mov dword [ecx], eax
mov edx, dword [ebp - 0x8c]
mov dword [ecx + 4], edx
mov eax, 0x80020004
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [ecx + 0xc], eax
push 0x414918
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [edi + 0xbc]
fnclex
test eax, eax
jge 0x439721
push 0xbc
push 0x41197c
mov edx, dword [ebp - 0x2c]
push edx
push eax
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call esi
jmp 0x439727
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0xc4]
push edx
push eax
call dword [ecx + 0x34]
fnclex
test eax, eax
jge 0x439760
push 0x34
push 0x4119a0
mov ecx, dword [ebp - 0x28]
push ecx
push eax
call esi
cmp word [ebp - 0xc4], 0
jne 0x439b5b
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [edx + 0xb4]
fnclex
test eax, eax
jge 0x439795
push 0xb4
push 0x4119a0
mov edx, dword [ebp - 0x28]
push edx
push eax
call esi
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xcc], eax
mov ecx, 0x4149dc
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x48]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x8c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x84]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x30]
fnclex
test eax, eax
jge 0x4397e5
push 0x30
push 0x4119b0
mov edx, dword [ebp - 0xcc]
push edx
push eax
call esi
mov eax, dword [ebp - 0x48]
mov edi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x60]
push edx
push eax
call dword [ecx + 0x44]
fnclex
test eax, eax
jge 0x439805
push 0x44
push 0x4119c0
push edi
push eax
call esi
mov dword [ebp - 0x98], 0x4116b0
mov dword [ebp - 0xa0], 8
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x60]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x1c
mov ecx, dword [ebp - 0x30]
push ecx
push 0x4116b0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x439b5b
mov edx, 0x80020004
mov eax, edx
mov esi, 0xa
mov ecx, esi
mov dword [ebp - 0x98], edx
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x90], esi
mov edi, dword [ebp - 0x2c]
mov ebx, dword [edi]
lea edi, [ebp - 0x44]
push edi
sub esp, 0x10
mov edi, esp
mov dword [edi], ecx
mov ecx, dword [ebp - 0xac]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [edi + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x94]
mov dword [ecx + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, esi
mov dword [eax], ecx
mov edx, dword [ebp - 0x8c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x88]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x84]
mov dword [eax + 0xc], edx
push 0x4149f8
mov eax, dword [ebp - 0x30]
push eax
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call esi
mov edx, eax
lea ecx, [ebp - 0x3c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call edi
push eax
push 0x414a3c
call esi
mov edx, eax
lea ecx, [ebp - 0x40]
call edi
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [ebx + 0xbc]
fnclex
test eax, eax
jge 0x43996e
push 0xbc
push 0x41197c
mov edx, dword [ebp - 0x2c]
push edx
push eax
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call esi
jmp 0x439974
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 2
call dword [fcn.004011e8]
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0xc4]
push edx
push eax
call dword [ecx + 0x34]
fnclex
test eax, eax
jge 0x4399c0
push 0x34
push 0x4119a0
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call esi
cmp word [ebp - 0xc4], 0
jne 0x439b5b
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [edx + 0xb4]
fnclex
test eax, eax
jge 0x4399f5
push 0xb4
push 0x4119a0
mov edx, dword [ebp - 0x20]
push edx
push eax
call esi
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xcc], eax
mov ecx, 0x414a44
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x48]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x8c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x84]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x30]
fnclex
test eax, eax
jge 0x439a45
push 0x30
push 0x4119b0
mov edx, dword [ebp - 0xcc]
push edx
push eax
call esi
mov eax, dword [ebp - 0x48]
mov edi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
push eax
call dword [ecx + 0x44]
fnclex
test eax, eax
jge 0x439a65
push 0x44
push 0x4119c0
push edi
push eax
call esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push eax
call dword [ecx + 0xb4]
fnclex
test eax, eax
jge 0x439a8c
push 0xb4
push 0x4119a0
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call esi
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xe0], eax
mov ecx, 0x414a5c
mov dword [ebp - 0x98], ecx
mov edx, 8
mov dword [ebp - 0xa0], edx
mov edi, dword [eax]
lea ebx, [ebp - 0x50]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x9c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x30]
fnclex
test eax, eax
jge 0x439ae8
push 0x30
push 0x4119b0
mov edx, dword [ebp - 0xe0]
push edx
push eax
call esi
mov eax, dword [ebp - 0x50]
mov edi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x60]
push edx
push eax
call dword [ecx + 0x44]
fnclex
test eax, eax
jge 0x439b08
push 0x44
push 0x4119c0
push edi
push eax
call esi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x44]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x70]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x24
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc4]
fnclex
test eax, eax
jge 0x439b7e
push 0xc4
push 0x4119a0
mov edx, dword [ebp - 0x28]
push edx
push eax
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
fnclex
test eax, eax
jge 0x439b9b
push 0x58
push 0x41197c
mov edx, dword [ebp - 0x2c]
push edx
push eax
call esi
mov edx, dword [ebp - 0x38]
jmp 0x439ba5
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x439c35
jmp 0x439c0a
lea ecx, [ebp - 0x20]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
call esi
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x30]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
call esi
lea ecx, [ebp - 0x34]
call esi
lea ecx, [ebp - 0x38]
call esi
ret