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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x403656
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403318
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edx, esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x50], 0x415878
mov dword [ebp - 0x58], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x46d14b
lea edx, [ebp - 0x58]
mov ecx, esi
mov dword [ebp - 0x50], 0x415888
mov dword [ebp - 0x58], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarCopy]
cmp dword [ebp - 0x18], ebx
jne 0x46d15f
lea ecx, [ebp - 0x18]
push ecx
push 0x40413c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x478238]
mov edi, dword [ebp - 0x18]
cmp eax, ebx
jne 0x46d17b
push 0x478238
push 0x40e1d4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x478238]
lea eax, [ebp - 0x28]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x14]
cmp eax, ebx
fnclex
jge 0x46d1a0
push 0x14
push 0x40e1c4
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x50]
cmp eax, ebx
fnclex
jge 0x46d1c4
push 0x50
push 0x40e1f4
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x1c]
mov esi, dword [edi]
push eax
push 0x415834
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call ebx
push eax
push edi
call dword [esi + 0x20]
test eax, eax
fnclex
jge 0x46d1fc
push 0x20
push 0x40f478
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x47717c
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 0x88], eax
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x88]
jg 0x46d3f5
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x14]
push ecx
push edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], 0x4003
call dword [sym.imp.MSVBVM60.DLL_rtcVarStrFromVar]
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x48]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x46d281
lea edx, [ebp - 0x18]
push edx
push 0x40413c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [ebp - 0x18]
xor edx, edx
lea ecx, [ebp - 0x20]
call esi
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call ebx
mov ecx, dword [edi]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
push edx
push eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
push eax
push edi
call dword [ecx + 0x2c]
test eax, eax
fnclex
jge 0x46d2c7
push 0x2c
push 0x40f478
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edi, dword [ebp - 0x14]
cmp edi, 0xbf
jb 0x46d2d8
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x477188]
mov edx, dword [ebp - 0x24]
lea ecx, [ecx + edi*4]
call esi
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x38]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [ebp - 0x14]
add esp, 0x1c
cmp eax, 0xbf
mov edi, eax
jb 0x46d322
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x14]
cmp eax, 0xbf
mov ebx, eax
jb 0x46d331
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x477188]
push 0
push 0xffffffffffffffff
push 1
mov edx, dword [ecx + edi*4]
push 0x40f37c
push 0x410824
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
mov eax, dword [0x477188]
lea ecx, [eax + ebx*4]
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call ebx
mov eax, dword [ebp - 0x14]
cmp eax, 0xbf
mov edi, eax
jb 0x46d388
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x14]
cmp eax, 0xbf
mov dword [ebp - 0x6c], eax
jb 0x46d398
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x477188]
push 0
push 0xffffffffffffffff
push 1
mov edx, dword [ecx + edi*4]
push 0x40f4c4
push 0x4155a4
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x6c]
mov edx, eax
mov eax, dword [0x477188]
lea ecx, [eax + ecx*4]
call esi
lea ecx, [ebp - 0x1c]
call ebx
mov ecx, dword [ebp - 0x14]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov eax, 1
add eax, ecx
jo 0x46d530
mov dword [ebp - 0x14], eax
jmp 0x46d236
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x46d40e
lea edx, [ebp - 0x18]
push edx
push 0x40413c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x18]
mov edx, dword [0x477054]
mov ecx, dword [eax]
push edx
push eax
mov edi, eax
call dword [ecx + 0x20]
test eax, eax
fnclex
jge 0x46d432
push 0x20
push 0x40f478
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x46d448
lea eax, [ebp - 0x18]
push eax
push 0x40413c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarStrFromVar]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call ebx
mov edx, 0x415818
lea ecx, [ebp - 0x1c]
call esi
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], 0x410354
mov dword [ebp - 0x58], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov ecx, dword [edi]
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x48]
push eax
push edx
push edi
call dword [ecx + 0x30]
test eax, eax
fnclex
jge 0x46d4b5
push 0x30
push 0x40f478
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x48]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
push 0x46d51d
jmp 0x46d513
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop