Function at 0x452330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4032c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402898
mov eax, dword [0x48415c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x3c], edi
jne 0x452386
push 0x48415c
push 0x403fe4
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov esi, dword [0x48415c]
mov edx, 0x41083c
lea ecx, [ebp - 0x18]
call dword [sym.imp.msvbvm60.dll___vbaStrCopy]
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x18]
push edx
push ecx
push esi
call dword [eax + 0x20]
fnclex
cmp eax, edi
jge 0x4523c1
push 0x20
push 0x40dfe0
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.msvbvm60.dll___vbaI4Str]
mov dword [0x48405c], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 2
call dword [sym.imp.msvbvm60.dll___vbaFreeStrList]
mov edx, dword [0x48405c]
push edi
push edx
push 1
push edi
push 0x484064
push 0x1c
push edi
call dword [sym.imp.msvbvm60.dll___vbaRedim]
mov eax, dword [0x48405c]
mov ebx, dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov edi, dword [sym.imp.msvbvm60.dll___vbaStrMove]
add esp, 0x28
xor esi, esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x48]
jg 0x452983
mov ecx, dword [0x484064]
push ecx
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.msvbvm60.dll___vbaAryLock]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x45245b
cmp word [ecx], 1
jne 0x45245b
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub esi, edx
cmp esi, eax
jb 0x45244d
call ebx
mov ecx, dword [ebp - 0x3c]
lea eax, [esi*8]
sub eax, esi
shl eax, 2
jmp 0x452460
call ebx
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ecx + 0xc]
add ebx, eax
mov eax, dword [0x48415c]
test eax, eax
jne 0x45247e
push 0x48415c
push 0x403fe4
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov eax, dword [ebp - 0x14]
mov esi, dword [0x48415c]
push 0x4108bc
push eax
call dword [sym.imp.msvbvm60.dll___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x18]
call edi
push eax
call dword [sym.imp.msvbvm60.dll___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x1c]
call edi
mov ecx, dword [esi]
lea edx, [ebp - 0x20]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push edx
push esi
call dword [ecx + 0x20]
fnclex
test eax, eax
jge 0x4524cf
push 0x20
push 0x40dfe0
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.msvbvm60.dll___vbaI4Str]
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
mov dword [ebx], eax
push edx
lea eax, [ebp - 0x18]
push eax
push 3
call dword [sym.imp.msvbvm60.dll___vbaFreeStrList]
mov eax, dword [0x48415c]
add esp, 0x10
test eax, eax
jne 0x45250b
push 0x48415c
push 0x403fe4
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov ecx, dword [ebp - 0x14]
mov esi, dword [0x48415c]
push 0x4108bc
push ecx
call dword [sym.imp.msvbvm60.dll___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x18]
call edi
push eax
call dword [sym.imp.msvbvm60.dll___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x1c]
call edi
push eax
push 0x4108d0
call dword [sym.imp.msvbvm60.dll___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x20]
call edi
mov edx, dword [esi]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
push eax
push esi
call dword [edx + 0x20]
fnclex
test eax, eax
jge 0x45256f
push 0x20
push 0x40dfe0
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.msvbvm60.dll___vbaI4Str]
lea edx, [ebp - 0x24]
push edx
mov dword [ebx + 4], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
push 4
call dword [sym.imp.msvbvm60.dll___vbaFreeStrList]
mov eax, dword [0x48415c]
add esp, 0x14
test eax, eax
jne 0x4525b0
push 0x48415c
push 0x403fe4
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov eax, dword [ebp - 0x14]
mov esi, dword [0x48415c]
push 0x4108bc
push eax
call dword [sym.imp.msvbvm60.dll___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x18]
call edi
push eax
call dword [sym.imp.msvbvm60.dll___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x1c]
call edi
push eax
push 0x4108dc
call dword [sym.imp.msvbvm60.dll___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x20]
call edi
mov ecx, dword [esi]
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
push edx
push esi
call dword [ecx + 0x20]
fnclex
test eax, eax
jge 0x452614
push 0x20
push 0x40dfe0
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.msvbvm60.dll___vbaI4Str]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 4
call dword [sym.imp.msvbvm60.dll___vbaFreeStrList]
mov ecx, dword [0x484050]
add esp, 0x14
test ecx, ecx
je 0x45268b
cmp word [ecx], 2
jne 0x45268b
mov esi, dword [ebx]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
sub esi, edx
cmp esi, eax
jb 0x452666
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg edi
cmp edi, eax
jb 0x45267e
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov eax, dword [ecx + 0x18]
imul eax, edi
add eax, esi
shl eax, 2
jmp 0x452697
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov edx, dword [ecx + 0xc]
cmp dword [edx + eax], 0
jne 0x452738
test ecx, ecx
je 0x4526f3
cmp word [ecx], 2
jne 0x4526f3
mov esi, dword [ebx]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
sub esi, edx
cmp esi, eax
jb 0x4526c8
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg edi
cmp edi, eax
jb 0x4526e0
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov eax, dword [ecx + 0x18]
imul eax, edi
mov edi, dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
add eax, esi
shl eax, 2
jmp 0x452701
mov edi, dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
call edi
mov ecx, dword [0x484050]
mov ecx, dword [ecx + 0xc]
add ecx, eax
push ecx
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov ecx, dword [0x484050]
test ecx, ecx
je 0x452734
cmp word [ecx], 2
jne 0x452734
mov esi, dword [ebx]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
sub esi, edx
cmp esi, eax
jb 0x45275c
call edi
jmp 0x452756
call edi
jmp 0x452787
test ecx, ecx
je 0x452781
cmp word [ecx], 2
jne 0x452781
mov esi, dword [ebx]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
sub esi, edx
cmp esi, eax
jb 0x45275c
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg edi
cmp edi, eax
jb 0x452774
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov eax, dword [ecx + 0x18]
imul eax, edi
add eax, esi
shl eax, 2
jmp 0x45278d
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax]
mov edx, dword [esi]
add ecx, eax
lea eax, [ebp - 0x28]
push eax
push esi
call dword [edx + 0x24]
fnclex
test eax, eax
jge 0x4527b4
push 0x24
push 0x40a894
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
movsx ecx, word [ebp - 0x28]
add ecx, dword [ebx + 4]
jo 0x4529c4
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x484050]
test ecx, ecx
je 0x452813
cmp word [ecx], 2
jne 0x452813
mov esi, dword [ebx]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
sub esi, edx
cmp esi, eax
jb 0x4527ee
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg edi
cmp edi, eax
jb 0x452806
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov eax, dword [ecx + 0x18]
imul eax, edi
add eax, esi
shl eax, 2
jmp 0x45281f
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov edx, dword [ecx + 0xc]
cmp dword [edx + eax], 0
jne 0x4528c0
test ecx, ecx
je 0x45287b
cmp word [ecx], 2
jne 0x45287b
mov esi, dword [ebx]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
sub esi, edx
cmp esi, eax
jb 0x452850
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg edi
cmp edi, eax
jb 0x452868
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov eax, dword [ecx + 0x18]
imul eax, edi
mov edi, dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
add eax, esi
shl eax, 2
jmp 0x452889
mov edi, dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
call edi
mov ecx, dword [0x484050]
mov ecx, dword [ecx + 0xc]
add ecx, eax
push ecx
push 0x406810
call dword [sym.imp.msvbvm60.dll___vbaNew2]
mov ecx, dword [0x484050]
test ecx, ecx
je 0x4528bc
cmp word [ecx], 2
jne 0x4528bc
mov esi, dword [ebx]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
sub esi, edx
cmp esi, eax
jb 0x4528e4
call edi
jmp 0x4528de
call edi
jmp 0x45290f
test ecx, ecx
je 0x452909
cmp word [ecx], 2
jne 0x452909
mov esi, dword [ebx]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
sub esi, edx
cmp esi, eax
jb 0x4528e4
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg edi
cmp edi, eax
jb 0x4528fc
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov eax, dword [ecx + 0x18]
imul eax, edi
add eax, esi
shl eax, 2
jmp 0x452915
call dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov ecx, dword [0x484050]
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax]
mov edx, dword [esi]
add ecx, eax
lea eax, [ebp - 0x28]
push eax
push esi
call dword [edx + 0x28]
fnclex
test eax, eax
jge 0x45293c
push 0x28
push 0x40a894
push esi
push eax
call dword [sym.imp.msvbvm60.dll___vbaHresultCheckObj]
movsx ecx, word [ebp - 0x28]
add ecx, dword [ebx + 0x10]
jo 0x4529c4
mov dword [ebx + 0x14], ecx
mov edx, dword [0x484060]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebx + 8], edx
mov word [ebx + 0x18], 0xffff
call dword [sym.imp.msvbvm60.dll___vbaAryUnlock]
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.msvbvm60.dll___vbaStrMove]
mov ebx, dword [sym.imp.msvbvm60.dll___vbaGenerateBoundsError]
mov eax, 1
add eax, ecx
jo 0x4529c4
mov dword [ebp - 0x14], eax
mov esi, eax
jmp 0x452415
push 0x4529b1
jmp 0x4529a6
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.msvbvm60.dll___vbaAryUnlock]
ret
call dword [sym.imp.msvbvm60.dll___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop