Function at 0x507445
Capabilities:
Parse pe header

Disassembly:
or al, 0x88
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1d0], 0x4008
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x304], edx
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x10c], 8
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x1d0]
push eax
push 0x30
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x2a
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x134], 0x80020004
mov dword [ebp - 0x13c], 0xa
mov dword [ebp - 0x124], 0x80020004
mov dword [ebp - 0x12c], 0xa
mov dword [ebp - 0x114], 0x80020004
mov dword [ebp - 0x11c], 0xa
mov dword [ebp - 0x104], 0x80020004
mov dword [ebp - 0x10c], 0xa
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 0x7ff3
mov edx, dword [ebp - 0x248]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x248]
push ecx
call dword [eax + 0x44]
fnclex
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jge 0x5075b8
push 0x44
push 0x42753c
mov edx, dword [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3a8], eax
jmp 0x5075c2
mov dword [ebp - 0x3a8], 0
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
mov dword [ebp - 4], 0x2d
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x5ae52c]
push ecx
call 0x5e2a03
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x5ae52c]
push ecx
call 0x5e2a1a
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x5ae52c]
push ecx
call 0x5e2a31
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x5ae52c]
push ecx
call 0x5e2a48
mov edx, dword [ebp - 0xb8]
push edx
push 0x42cb6c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrComp]
mov si, ax
neg si
sbb esi, esi
inc esi
neg esi
or si, word [ebp + 0xc]
mov eax, dword [ebp - 0xbc]
push eax
push 0x42cb78
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrComp]
neg ax
sbb eax, eax
inc eax
neg eax
or si, ax
neg si
mov ecx, dword [ebp - 0xc0]
push ecx
push 0x42c6ec
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrComp]
neg ax
sbb eax, eax
inc eax
neg eax
shl ax, 1
sub si, ax
mov edx, dword [ebp - 0xc4]
push edx
push 0x42c6f8
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrComp]
neg ax
sbb eax, eax
inc eax
neg eax
imul ax, ax, 3
sub si, ax
mov word [0x5ae47c], si
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xc0]
push ecx
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0xb8]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
mov dword [ebp - 4], 0x2e
push 0x428528
call 0x6abda1
movsx ecx, ax
test ecx, ecx
je 0x5077c6
mov dword [ebp - 4], 0x2f
cmp dword [0x5aed08], 0
jne 0x507758
push 0x5aed08
push 0x4125a8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x3ac], 0x5aed08
jmp 0x507762
mov dword [ebp - 0x3ac], 0x5aed08
mov edx, dword [ebp - 0x3ac]
mov eax, dword [edx]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x248]
push eax
call dword [edx + 0x2b4]
fnclex
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jge 0x5077bc
push 0x2b4
push 0x42853c
mov ecx, dword [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3b0], eax
jmp 0x5077c6
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 4], 0x31
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
call dword [ecx + 0xa2c]
mov dword [ebp - 4], 0x32
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0xc0]
test ecx, ecx
je 0x50780b
mov dword [ebp - 4], 0x33
mov edx, dword [ebp + 8]
mov word [edx + 0xc0], 0
jmp 0x614103
mov dword [ebp - 4], 0x36
push 0x40d024
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0x37
mov dword [ebp - 0x238], 0xb
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.005a59e9
mov dword [ebp - 4], 0x38
mov eax, dword [0x5aea60]
mov ecx, 0xf
sub ecx, dword [eax + 0x14]
mov edx, dword [0x5aea60]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + ecx*4]
push ecx
mov edx, dword [ebp + 8]
push edx
call 0x60d293
mov dword [ebp - 4], 0x39
movsx eax, word [ebp + 0xc]
test eax, eax
je 0x5084c8
mov dword [ebp - 4], 0x3a
cmp dword [0x5b0c30], 0
jne 0x5078b2
push 0x5b0c30
push 0x4255e0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x3b4], 0x5b0c30
jmp 0x5078bc
mov dword [ebp - 0x3b4], 0x5b0c30
mov ecx, dword [ebp - 0x3b4]
mov edx, dword [ecx]
mov dword [ebp - 0x248], edx
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x248]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jge 0x507917
push 0x14
push 0x4255d0
mov ecx, dword [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3b8], eax
jmp 0x507921
mov dword [ebp - 0x3b8], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x250]
push ecx
call dword [eax + 0x60]
fnclex
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
jge 0x50797a
push 0x60
push 0x4274d0
mov edx, dword [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3bc], eax
jmp 0x507984
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1d0], 2
mov eax, 0x10
call fcn.00513ad2
mov ecx, esp
mov edx, dword [ebp - 0x1d0]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1cc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1c8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x1c4]
mov dword [ecx + 0xc], eax
push 1
push 0x42cb88
push 0x42c4c4
mov ecx, dword [ebp - 0xb8]
push ecx
push 0x4230f0
push 0x80000001
lea edx, [ebp - 0x10c]
push edx
call 0x5b0510
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
mov word [ebp - 0x258], ax
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x10c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx ecx, word [ebp - 0x258]
test ecx, ecx
je 0x507a38
jmp 0x60f731
mov dword [ebp - 4], 0x3c
mov dword [ebp - 0x238], 0
mov edx, 0x427924
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x422eac
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, dword [0x5aea60]
mov eax, 0x32e
sub eax, dword [edx + 0x14]
mov ecx, dword [0x5aea60]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax*4]
push eax
mov ecx, dword [0x5aea60]
mov edx, 0x194
sub edx, dword [ecx + 0x14]
mov eax, dword [0x5aea60]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + edx*4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x238]
push ecx
push 0x7fffffff
push 1
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov edx, dword [0x5ae51c]
push edx
call 0x5c0e8a
mov dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x308], eax
mov dword [ebp - 0xc4], 0
mov edx, dword [ebp - 0x308]
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0x23c]
push edx
push 0
push 0x3c
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [0x5ae520]
push ecx
call 0x5c18b1
mov dword [ebp - 0x124], 0x80020004
mov dword [ebp - 0x12c], 0xa
mov dword [ebp - 0x114], 0x80020004
mov dword [ebp - 0x11c], 0xa
mov edx, dword [0x5aea60]
push edx
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0xb0]
mov edx, 0xe
sub edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0xc]
lea edx, [ecx + edx*4]
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x1d0], 0x4008
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0x30c]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x10c], 8
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1d0]
push ecx
push 0x33
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x280], ecx
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xb8]
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x3c0], eax
cmp dword [ebp - 0x3c0], 2
je 0x507c7f
cmp dword [ebp - 0x3c0], 7
je 0x507c86
jmp 0x507cf9
jmp 0x61457c
mov dword [ebp - 4], 0x40
mov dword [ebp - 0x1c8], 1
mov dword [ebp - 0x1d0], 2
mov dword [ebp - 0x238], 0x80000001
push 1
mov eax, 0x10
call fcn.00513de7
mov ecx, esp
mov edx, dword [ebp - 0x1d0]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1cc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1c8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x1c4]
mov dword [ecx + 0xc], eax
push 0x42cb88
push 0x42c4c4
mov ecx, dword [0x5ae434]
push ecx
lea edx, [ebp - 0x238]
push edx
call 0x5b0f39
mov dword [ebp - 4], 0x43
cmp dword [0x5aeb98], 0
jne 0x507d25
push 0x5aeb98
push 0x410624
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x3c4], 0x5aeb98
jmp 0x507d2f
mov dword [ebp - 0x3c4], 0x5aeb98
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x260]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x44
call 0x6b2491
mov dword [ebp - 4], 0x45
mov dword [ebp - 0x1d8], 0x80020004
mov dword [ebp - 0x1e0], 0xa
mov dword [ebp - 0x1c8], 0x80020004
mov dword [ebp - 0x1d0], 0xa
mov eax, 0x10
call fcn.00513eba
mov eax, esp
mov ecx, dword [ebp - 0x1e0]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1dc]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1d8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x1d4]
mov dword [eax + 0xc], edx
mov eax, 0x10
call fcn.00513ee9
mov eax, esp
mov ecx, dword [ebp - 0x1d0]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1cc]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1c8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x1c4]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x260]
push edx
call dword [ecx + 0x2b0]
fnclex
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jge 0x507e2a
push 0x2b0
push 0x427694
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3c8], eax
jmp 0x507e34
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 4], 0x46
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x260]
push edx
call dword [ecx + 0x1b8]
fnclex
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jge 0x507e8e
push 0x1b8
push 0x427694
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3cc], eax
jmp 0x507e98
mov dword [ebp - 0x3cc], 0
movsx edx, word [ebp - 0x234]
test edx, edx
je 0x507f73
mov dword [ebp - 4], 0x47
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x260]
push eax
call dword [edx + 0x90]
fnclex
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jge 0x507f01
push 0x90
push 0x427694
mov ecx, dword [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3d0], eax
jmp 0x507f0b
mov dword [ebp - 0x3d0], 0
movsx eax, word [ebp - 0x234]
test eax, eax
je 0x507f73
mov dword [ebp - 4], 0x48
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x260]
push eax
call dword [edx + 0x2a8]
fnclex
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jge 0x507f69
push 0x2a8
push 0x427694
mov ecx, dword [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3d4], eax
jmp 0x507f73
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 4], 0x4b
mov dword [ebp - 0x1c8], 0x42e60000
mov dword [ebp - 0x1d0], 4
mov dword [ebp - 0x1e8], 0x42b40000
mov dword [ebp - 0x1f0], 4
mov eax, 0x10
call fcn.005140dc
mov eax, esp
mov ecx, dword [ebp - 0x1d0]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1cc]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1c8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x1c4]
mov dword [eax + 0xc], edx
mov eax, 0x10
call fcn.0051410b
mov eax, esp
mov ecx, dword [ebp - 0x1f0]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1ec]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1e8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x1e4]
mov dword [eax + 0xc], edx
push 2
push 0x80011002
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x260]
push edx
call dword [ecx + 0x30c]
push eax
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
add esp, 0x2c
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x4c
mov dword [ebp - 0x238], 0x6f
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x260]
push edx
call 0x5e16d4
mov dword [ebp - 4], 0x4d
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x260]
push edx
call dword [ecx + 0x2a0]
fnclex
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jge 0x5080b7
push 0x2a0
push 0x427694
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3d8], eax
jmp 0x5080c1
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 4], 0x4e
push 0
lea edx, [ebp - 0x260]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x4f
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x74
push edx
mov eax, dword [ebp + 8]
add eax, 0x1b4
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
call dword [edx + 0x8ac]
mov cx, word [ebp - 0x234]
mov word [ebp - 0x6c], cx
mov dword [ebp - 4], 0x50
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstrB]
test eax, eax
je 0x508239
mov dword [ebp - 4], 0x51
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x124], 0x80020004
mov dword [ebp - 0x12c], 0xa
mov dword [ebp - 0x114], 0x80020004
mov dword [ebp - 0x11c], 0xa
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1e0], 0x4008
mov dword [ebp - 0x104], 0x80020004
mov dword [ebp - 0x10c], 0xa
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1e0]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 0xffde
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x248]
push edx
call dword [ecx + 0x44]
fnclex
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jge 0x508203
push 0x44
push 0x42753c
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3dc], eax
jmp 0x50820d
mov dword [ebp - 0x3dc], 0
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x53
movsx edx, word [ebp - 0x6c]
test edx, edx
jne 0x50832c
invalid
mov dword [ebp - 4], 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
call dword [ecx + 0x4f0]
push eax
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0xf4]
push ecx
push 0
mov edx, dword [ebp - 0x248]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x248]
push ecx
call dword [eax + 0x40]
fnclex
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jge 0x5082c5
push 0x40
push 0x4274f4
mov edx, dword [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3e0], eax
jmp 0x5082cf
mov dword [ebp - 0x3e0], 0
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x310], ecx
mov dword [ebp - 0xf4], 0
mov edx, dword [ebp - 0x310]
push edx
lea eax, [ebp - 0xf8]
push eax
mov dword [ebp - 4], 0x5f
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1b4]
push ecx
mov edx, dword [0x5ae528]
push edx
call 0x5e2e9c
movsx eax, word [ebp - 0x234]
test eax, eax
jne 0x50860d
mov dword [ebp - 4], 0x60
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea ecx, [ebp - 0xf0]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x134], 0x80020004
mov dword [ebp - 0x13c], 0xa
mov dword [ebp - 0x124], 0x80020004
mov dword [ebp - 0x12c], 0xa
mov dword [ebp - 0x114], 0x80020004
mov dword [ebp - 0x11c], 0xa
mov dword [ebp - 0x104], 0x80020004
mov dword [ebp - 0x10c], 0xa
lea edx, [ebp - 0x13c]
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 0x35
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x248]
push edx
call dword [ecx + 0x44]
fnclex
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jge 0x5085d0
push 0x44
push 0x42753c
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x3e8], eax
jmp 0x5085da
mov dword [ebp - 0x3e8], 0
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea edx, [ebp - 0x13c]
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
mov dword [ebp - 4], 0x62
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1b4]
push ecx
call 0x6ac8f3
mov word [ebp - 0xa4], ax
mov dword [ebp - 4], 0x63
mov dword [ebp - 0x104], 0x80020004
mov dword [ebp - 0x10c], 0xa
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x10c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x64
movsx eax, word [ebp - 0xa4]
test eax, eax
je 0x508a2b
mov dword [ebp - 4], 0x65
mov edx, 0x42c924
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0xb8]
push ecx
call 0x5afa9c
mov edx, eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x66
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x1b4]
mov ecx, dword [ebp + 8]
add ecx, 0x3c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 0x67
push 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcSetFileAttr]
mov dword [ebp - 4], 0x68
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
add eax, 0x1b4
push eax
call 0x5af8de
mov dword [ebp - 4], 0x69
mov ecx, dword [ebp - 0x48]
push ecx
mov dx, word [ebp - 0x38]
push edx
push 0xffffffffffffffff
push 0x120
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0x6a
mov ax, word [ebp - 0x38]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaGet3]
mov dword [ebp - 4], 0x6b
lea edx, [ebp - 0x8c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
mov word [ebp - 0x7c], ax
mov dword [ebp - 4], 0x6c
mov ax, word [ebp - 0x38]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaGet3]
mov dword [ebp - 4], 0x6d
lea edx, [ebp - 0x8c]
push edx
push 0x2008
call dword [sym.imp.MSVBVM60.DLL___vbaAryVar]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryCopy]
mov dword [ebp - 4], 0x6e
mov dx, word [ebp - 0x38]
push edx
lea eax, [ebp - 0x8c]
push eax
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaGet3]
mov dword [ebp - 4], 0x6f
lea ecx, [ebp - 0x8c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcIsEmpty]
movsx edx, ax
test edx, edx
jne 0x508810
mov dword [ebp - 4], 0x70
lea eax, [ebp - 0x8c]
push eax
push 0x2008
call dword [sym.imp.MSVBVM60.DLL___vbaAryVar]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x238]
push ecx
push 0x5ae450
call dword [sym.imp.MSVBVM60.DLL___vbaAryCopy]
mov dword [ebp - 4], 0x71
mov word [0x5ae44e], 0xffff
mov dword [ebp - 4], 0x73
movsx edx, word [0x5ae44e]
test edx, edx
je 0x50891b
mov dword [ebp - 4], 0x74
mov eax, dword [0x5ae450]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], 1
mov ecx, dword [0x5ae450]
push ecx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaLbound]
mov dword [ebp - 0x68], eax
jmp 0x50886b
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x288]
jg 0x50891b
mov dword [ebp - 4], 0x75
mov dword [ebp - 0x238], 0x2fd
mov ecx, dword [0x5ae450]
push ecx
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x68]
sub edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0xc]
lea edx, [ecx + edx*4]
push edx
call 0x6b3f44
mov edx, eax
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [0x5ae450]
mov eax, dword [ebp - 0x68]
sub eax, dword [ecx + 0x14]
mov ecx, dword [0x5ae450]
mov ecx, dword [ecx + 0xc]
lea ecx, [ecx + eax*4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x76
jmp 0x61117a
mov dword [ebp - 4], 0x78
mov edx, dword [ebp - 0x64]
push edx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], 1
mov eax, dword [ebp - 0x64]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaLbound]
mov dword [ebp - 0x68], eax
jmp 0x50895b
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x290]
jg 0x508a02
mov dword [ebp - 4], 0x79
mov dword [ebp - 0x238], 0x2fd
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x68]
sub ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0xc]
lea ecx, [eax + ecx*4]
push ecx
call 0x6b4031
mov edx, eax
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
sub ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
lea ecx, [eax + ecx*4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x7a
jmp 0x611351
mov dword [ebp - 4], 0x7b
mov cx, word [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x7c
push 0
mov edx, dword [ebp - 0x48]
push edx
call 0x5afd26
jmp 0x61167a
mov dword [ebp - 4], 0x7e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1b4]
push ecx
mov dx, word [ebp - 0x38]
push edx
push 0xffffffffffffffff
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0x7f
mov ax, word [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcFileLength]
mov dword [ebp - 0x238], eax
mov cx, word [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcInputCharCount]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x80
add byte [eax], 0
add byte [esi - 0x75], ah
inc ebp
enter 0xffffffffffffff50, 0x15
aam 0x11
inc eax
add bh, al
inc ebp
cld
add dword [eax], 0x6a0000
push 0xffffffffffffffff
mov ecx, dword [0x5aea60]
mov edx, 0x93
sub edx, dword [ecx + 0x14]
mov eax, dword [0x5aea60]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + edx*4]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcInStrRev]
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 0x82
cmp dword [ebp - 0xac], 0
je 0x508beb
mov dword [ebp - 4], 0x83
mov dword [ebp - 0x104], 0x80020004
mov dword [ebp - 0x10c], 0xa
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [0x5aea60]
mov eax, 0x93
sub eax, dword [edx + 0x14]
mov ecx, dword [0x5aea60]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax*4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, dword [ebp - 0xac]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [fcn.004011b0]
mov edx, eax
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x10c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x84
mov dword [ebp - 0x238], 0
mov edx, 0x422ebc
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0xb8]
push edx
push 0x5ae450
lea eax, [ebp - 0x9c]
push eax
call 0x6083ee
mov edx, eax
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xb8]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 0x85
mov word [0x5ae44e], 0xffff
mov dword [ebp - 4], 0x86
mov eax, dword [ebp - 0xac]
sub eax, 2
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x88
mov dword [ebp - 0x238], 0
mov edx, 0x422ebc
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x24]
push edx
call 0x608488
mov edx, eax
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb8]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 0x8a
mov edx, dword [ebp + 8]
add edx, 0x1b4
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
call dword [ecx + 0x720]
mov dword [ebp - 4], 0x8b
mov eax, dword [ebp + 8]
inc ebp
or byte [ebx + 0x8558b08], cl