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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ad6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402478
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor edi, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x7c], edi
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call esi
mov edx, 0x40e3b0
lea ecx, [ebp - 0x20]
call esi
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x4c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x3c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
xor esi, esi
jmp 0x45d6ba
xor edi, edi
mov eax, dword [ebp - 0x2c]
push eax
push 0x40e3b0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x45d826
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push 1
push ecx
push edx
push edi
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
mov edi, eax
test edi, edi
jle 0x45d826
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
add esi, 1
lea eax, [ebp - 0x2c]
push ecx
push edx
jo 0x45d877
mov dword [ebp - 0x34], 0x80020004
mov dword [ebp - 0x3c], 0xa
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4008
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
add eax, edi
lea ecx, [ebp - 0x4c]
jo 0x45d877
push eax
lea eax, [ebp - 0x5c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea edx, [ebp - 0x4c]
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x3c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp esi, eax
jne 0x45d6b8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaInStr]
push 1
push edx
push eax
push 0
call edi
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push 1
push ecx
push edx
push 0
mov esi, eax
call edi
test eax, eax
jle 0x45d81a
mov ecx, esi
lea eax, [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x54], eax
jo 0x45d877
lea edx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x3c]
mov edi, 0x4008
push edx
push eax
mov dword [ebp - 0x5c], edi
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
xor edx, edx
lea ecx, [ebp - 0x2c]
test esi, esi
sete dl
neg edx
mov dword [ebp - 0x74], ecx
lea eax, [ebp - 0x3c]
mov word [ebp - 0x64], dx
lea ecx, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x4c]
push edx
push eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x6c], 0xb
call dword [sym.imp.MSVBVM60.DLL_rtcImmediateIf]
lea ecx, [ebp - 0x4c]
push ecx
call ebx
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
push 0x45d861
jmp 0x45d850
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x45d861
jmp 0x45d850
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x2c]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop