Function at 0x5d8a80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x408f06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xec
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x403e50
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
call fcn.005dcea0
mov dword [ebp - 4], 3
mov eax, dword [0x67e5b4]
push eax
push 0x45a0d4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x5d8af2
jmp 0x5d98f1
mov dword [ebp - 4], 6
call fcn.005d7780
mov dword [ebp - 4], 7
mov word [ebp - 0x34], 0
mov dword [ebp - 4], 8
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 9
push 0x45fe2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x67e550
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0xa
push 0x461af4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x67e558
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0xb
push 0x45fe2c
push 0x45fe4c
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
push eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x67e550
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0xc
lea edx, [ebp - 0x44]
push edx
mov eax, dword [0x67e550]
mov ecx, dword [eax]
mov edx, dword [0x67e550]
push edx
call dword [ecx + 0x38]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d8bde
push 0x38
push 0x45fe2c
mov eax, dword [0x67e550]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xc8], eax
jmp 0x5d8be8
mov dword [ebp - 0xc8], 0
push 0x461ae4
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x67e584
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0xd
mov eax, dword [0x67e5c8]
mov word [eax + 2], 0
mov dword [ebp - 4], 0xe
mov word [ebp - 0x28], 1
mov dword [ebp - 4], 0xf
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 0x10
mov ecx, dword [0x67e584]
push ecx
push 0x67e598
lea edx, [ebp - 0x70]
push edx
push 0x45fe5c
call dword [sym.imp.MSVBVM60.DLL___vbaForEachCollObj]
mov dword [ebp - 0xac], eax
jmp 0x5d8e92
mov dword [ebp - 4], 0x11
push 0x67e598
call fcn.005d7de0
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x461cd0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x64]
test eax, eax
je 0x5d8e71
mov dword [ebp - 4], 0x12
mov ecx, dword [0x67e560]
push ecx
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [0x67e598]
mov edx, dword [ecx]
mov eax, dword [0x67e598]
push eax
call dword [edx + 0x20]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d8d10
push 0x20
push 0x45fe5c
mov ecx, dword [0x67e598]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xcc], eax
jmp 0x5d8d1a
mov dword [ebp - 0xcc], 0
push 0x45fe6c
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x67e560
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x13
push 0x461cfc
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
push eax
push 0x67e558
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0x14
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x64], eax
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x64]
push edx
call dword [ecx + 0x1c]
fnclex
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jge 0x5d8daf
push 0x1c
push 0x45e82c
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xd0], eax
jmp 0x5d8db9
mov dword [ebp - 0xd0], 0
xor edx, edx
cmp dword [ebp - 0x60], 0
sete dl
neg edx
mov word [ebp - 0x6c], dx
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
movsx eax, word [ebp - 0x6c]
test eax, eax
je 0x5d8e65
mov dword [ebp - 4], 0x15
mov ecx, dword [0x67e560]
push ecx
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
push eax
mov eax, dword [0x67e558]
mov ecx, dword [eax]
mov edx, dword [0x67e558]
push edx
call dword [ecx + 0x20]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d8e31
push 0x20
push 0x461af4
mov eax, dword [0x67e558]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xd4], eax
jmp 0x5d8e3b
mov dword [ebp - 0xd4], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x16
mov edx, dword [0x67e5c8]
mov word [edx + 2], 0xffff
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaExitEachColl]
jmp 0x5d8e9f
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaExitEachColl]
jmp 0x5d8e9f
mov dword [ebp - 4], 0x1d
push 0x67e598
lea edx, [ebp - 0x70]
push edx
push 0x45fe5c
call dword [sym.imp.MSVBVM60.DLL___vbaNextEachCollObj]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x5d8c67
mov dword [ebp - 4], 0x1e
mov word [ebp - 0x28], 0
mov dword [ebp - 4], 0x1f
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 0x20
mov eax, dword [0x67e5c8]
movsx ecx, word [eax + 2]
test ecx, ecx
jne 0x5d8ed4
jmp 0x5d98f1
mov dword [ebp - 4], 0x23
mov edx, 0x45a0d4
mov ecx, 0x67e54c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 0x24
push 0x67e55c
push 0x67e5b4
call fcn.005d79b0
mov edx, dword [0x67e5c8]
mov word [edx + 2], ax
mov dword [ebp - 4], 0x25
mov eax, dword [0x67e5c8]
movsx ecx, word [eax + 2]
test ecx, ecx
jne 0x5d8f98
mov dword [ebp - 4], 0x26
mov ecx, 0x10
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [ebp - 0x5c], ax
mov word [ebp - 0x58], 0xffff
push 0x461d10
push 0x4619a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [0x67e5b4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00631ae0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
jmp 0x5d98f1
mov dword [ebp - 4], 0x29
mov edx, dword [0x67e5b4]
mov ecx, 0x67e54c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 0x2a
mov dword [0x67e5b0], 0
mov dword [ebp - 4], 0x2b
mov edx, dword [0x67e5b8]
push edx
push 0x45a0d4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x5d924e
mov dword [ebp - 4], 0x2c
mov eax, dword [0x67e5c8]
mov word [eax + 2], 0
mov dword [ebp - 4], 0x2d
push 0x45fe9c
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
push eax
push 0x67e5ac
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0x2e
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 0x2f
mov ecx, dword [0x67e55c]
push ecx
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
push eax
mov eax, dword [0x67e5ac]
mov ecx, dword [eax]
mov edx, dword [0x67e5ac]
push edx
call dword [ecx + 0x2c]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d9075
push 0x2c
push 0x45fe8c
mov eax, dword [0x67e5ac]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xd8], eax
jmp 0x5d907f
mov dword [ebp - 0xd8], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x30
lea edx, [ebp - 0x60]
push edx
mov eax, dword [0x67e5ac]
mov ecx, dword [eax]
mov edx, dword [0x67e5ac]
push edx
call dword [ecx + 0x20]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d90ce
push 0x20
push 0x45fe8c
mov eax, dword [0x67e5ac]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xdc], eax
jmp 0x5d90d8
mov dword [ebp - 0xdc], 0
mov edx, dword [ebp - 0x60]
sub edx, 1
jo 0x5d9a93
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], 1
mov dword [0x67e5b0], 0
jmp 0x5d9116
mov eax, dword [0x67e5b0]
add eax, dword [ebp - 0x90]
jo 0x5d9a93
mov dword [0x67e5b0], eax
mov ecx, dword [0x67e5b0]
cmp ecx, dword [ebp - 0x94]
jg 0x5d923f
mov dword [ebp - 4], 0x31
lea edx, [ebp - 0x38]
push edx
mov eax, dword [0x67e5b0]
push eax
push 0xffffffffffffffff
mov ecx, dword [0x67e5ac]
mov edx, dword [ecx]
mov eax, dword [0x67e5ac]
push eax
call dword [edx + 0x24]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d9177
push 0x24
push 0x45fe8c
mov ecx, dword [0x67e5ac]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xe0], eax
jmp 0x5d9181
mov dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [0x67e5b8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x68], ax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx edx, word [ebp - 0x68]
test edx, edx
je 0x5d9233
mov dword [ebp - 4], 0x32
mov edx, dword [0x67e5b8]
mov ecx, 0x67e5c4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 0x33
push 0
mov eax, dword [0x67e5b0]
push eax
mov ecx, dword [0x67e5ac]
mov edx, dword [ecx]
mov eax, dword [0x67e5ac]
push eax
call dword [edx + 0x28]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d9215
push 0x28
push 0x45fe8c
mov ecx, dword [0x67e5ac]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xe4], eax
jmp 0x5d921f
mov dword [ebp - 0xe4], 0
mov dword [ebp - 4], 0x34
mov eax, dword [0x67e5c8]
mov word [eax + 2], 0xffff
jmp 0x5d923f
mov dword [ebp - 4], 0x37
jmp 0x5d9100
mov dword [ebp - 4], 0x39
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 0x3b
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [0x67e55c]
mov eax, dword [edx]
mov ecx, dword [0x67e55c]
push ecx
call dword [eax + 0x2c]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d9296
push 0x2c
push 0x45fe6c
mov edx, dword [0x67e55c]
push edx
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xe8], eax
jmp 0x5d92a0
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0xb4]
push edx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
push 0x67e59c
lea ecx, [ebp - 0x78]
push ecx
push 0x461c40
call dword [sym.imp.MSVBVM60.DLL___vbaForEachCollObj]
mov dword [ebp - 0xb0], eax
jmp 0x5d9364
mov dword [ebp - 4], 0x3c
lea edx, [ebp - 0x60]
push edx
mov eax, dword [0x67e59c]
mov ecx, dword [eax]
mov edx, dword [0x67e59c]
push edx
call dword [ecx + 0x30]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d9327
push 0x30
push 0x461c40
mov eax, dword [0x67e59c]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xec], eax
jmp 0x5d9331
mov dword [ebp - 0xec], 0
cmp dword [ebp - 0x60], 1
jne 0x5d9343
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaExitEachColl]
jmp 0x5d9371
mov dword [ebp - 4], 0x3f
push 0x67e59c
lea eax, [ebp - 0x78]
push eax
push 0x461c40
call dword [sym.imp.MSVBVM60.DLL___vbaNextEachCollObj]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x5d92e1
mov dword [ebp - 4], 0x40
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 0x41
mov ecx, dword [0x67e5b4]
push ecx
mov edx, dword [0x67e5b0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x461c84
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov eax, dword [ebp + 0xc]
mov cx, word [eax]
push ecx
lea edx, [ebp - 0x40]
push edx
push 0x67e59c
call fcn.005db970
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
mov dword [ebp - 4], 0x42
mov eax, dword [0x67e5c8]
mov word [eax + 2], 0
mov dword [ebp - 4], 0x43
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [0x67e560]
mov eax, dword [edx]
mov ecx, dword [0x67e560]
push ecx
call dword [eax + 0x2c]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d9459
push 0x2c
push 0x45fe6c
mov edx, dword [0x67e560]
push edx
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xf0], eax
jmp 0x5d9463
mov dword [ebp - 0xf0], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0xbc]
push edx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
push 0x67e5a0
lea ecx, [ebp - 0x80]
push ecx
push 0x461c40
call dword [sym.imp.MSVBVM60.DLL___vbaForEachCollObj]
mov dword [ebp - 0xb8], eax
jmp 0x5d95a5
mov dword [ebp - 4], 0x44
lea edx, [ebp - 0x60]
push edx
mov eax, dword [0x67e5a0]
mov ecx, dword [eax]
mov edx, dword [0x67e5a0]
push edx
call dword [ecx + 0x30]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d94ea
push 0x30
push 0x461c40
mov eax, dword [0x67e5a0]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xf4], eax
jmp 0x5d94f4
mov dword [ebp - 0xf4], 0
cmp dword [ebp - 0x60], 0
jne 0x5d9584
mov dword [ebp - 4], 0x45
mov edx, dword [0x67e5a0]
push edx
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
push eax
mov ecx, dword [0x67e59c]
mov edx, dword [ecx]
mov eax, dword [0x67e59c]
push eax
call dword [edx + 0x3c]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d9553
push 0x3c
push 0x461c40
mov ecx, dword [0x67e59c]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xf8], eax
jmp 0x5d955d
mov dword [ebp - 0xf8], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x46
mov eax, dword [0x67e5c8]
mov word [eax + 2], 0xffff
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaExitEachColl]
jmp 0x5d95b2
mov dword [ebp - 4], 0x49
push 0x67e5a0
lea edx, [ebp - 0x80]
push edx
push 0x461c40
call dword [sym.imp.MSVBVM60.DLL___vbaNextEachCollObj]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x5d94a4
mov dword [ebp - 4], 0x4a
mov edx, 0x45fcc0
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x45fd18
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x45fc40
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.0062eb30
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
mov dword [ebp - 4], 0x4b
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseBstr]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x461d38
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
neg esi
sbb esi, esi
neg esi
neg esi
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x45a0d4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
neg eax
neg eax
and si, ax
mov word [ebp - 0x64], si
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx edx, word [ebp - 0x64]
test edx, edx
je 0x5d96b8
mov dword [ebp - 4], 0x4c
push 0x67e580
lea eax, [ebp - 0x2c]
push eax
call fcn.005d7ef0
mov dword [ebp - 4], 0x4d
mov edx, 0x461d5c
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x67e580
lea ecx, [ebp - 0x38]
push ecx
call fcn.005d7ef0
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x4f
mov edx, dword [0x67e5c8]
mov word [edx + 2], 0
mov dword [ebp - 4], 0x50
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [0x67e560]
mov edx, dword [ecx]
mov eax, dword [0x67e560]
push eax
call dword [edx + 0x2c]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d9712
push 0x2c
push 0x45fe6c
mov ecx, dword [0x67e560]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xfc], eax
jmp 0x5d971c
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0xc4]
push ecx
lea edx, [ebp - 0x84]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
push 0x67e59c
lea eax, [ebp - 0x88]
push eax
push 0x461c40
call dword [sym.imp.MSVBVM60.DLL___vbaForEachCollObj]
mov dword [ebp - 0xc0], eax
jmp 0x5d984d
mov dword [ebp - 4], 0x51
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [0x67e59c]
mov eax, dword [edx]
mov ecx, dword [0x67e59c]
push ecx
call dword [eax + 0x30]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d97ab
push 0x30
push 0x461c40
mov edx, dword [0x67e59c]
push edx
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x100], eax
jmp 0x5d97b5
mov dword [ebp - 0x100], 0
cmp dword [ebp - 0x60], 1
jne 0x5d9829
mov dword [ebp - 4], 0x52
mov ecx, dword [0x67e59c]
mov edx, dword [ecx]
mov eax, dword [0x67e59c]
push eax
call dword [edx + 0x4c]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d97fe
push 0x4c
push 0x461c40
mov ecx, dword [0x67e59c]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x104], eax
jmp 0x5d9808
mov dword [ebp - 0x104], 0
mov dword [ebp - 4], 0x53
mov eax, dword [0x67e5c8]
mov word [eax + 2], 0xffff
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaExitEachColl]
jmp 0x5d985a
mov dword [ebp - 4], 0x56
push 0x67e59c
lea edx, [ebp - 0x88]
push edx
push 0x461c40
call dword [sym.imp.MSVBVM60.DLL___vbaNextEachCollObj]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x5d9763
mov dword [ebp - 4], 0x58
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 0x59
mov eax, dword [ebp + 8]
push eax
call fcn.005dc0c0
mov dword [ebp - 4], 0x5a
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjIs]
movsx eax, ax
test eax, eax
jne 0x5d98e2
mov dword [ebp - 4], 0x5b
mov ecx, dword [0x67e550]
mov edx, dword [ecx]
mov eax, dword [0x67e550]
push eax
call dword [edx + 0x1c]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x5d98d8
push 0x1c
push 0x45fe2c
mov ecx, dword [0x67e550]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x108], eax
jmp 0x5d98e2
mov dword [ebp - 0x108], 0
mov dword [ebp - 4], 0x5e
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaResume]
mov dword [ebp - 4], 0x60
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 0x61
mov eax, dword [0x67e5c8]
mov cx, word [eax + 2]
mov word [0x67e5c0], cx
mov dword [ebp - 4], 0x62
mov edx, dword [0x67e5c8]
mov ax, word [edx + 2]
mov word [ebp - 0x24], ax
mov dword [ebp - 4], 0x63
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjIs]
movsx eax, ax
test eax, eax
jne 0x5d99a2
mov dword [ebp - 4], 0x64
push 0
push 0x461b20
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx ecx, word [ebp - 0x64]
test ecx, ecx
je 0x5d99a2
mov dword [ebp - 4], 0x65
push 0
push 0x461d88
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0xc
jmp 0x5d9a05
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x5d9a7c
jmp 0x5d9a3c
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x70]
push eax
push 7
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0x20
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3