Function at 0x464ba0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x404066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x403c58
mov edx, dword [ebp + 8]
xor eax, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x110], eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimBstr]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x60]
push ecx
push 1
push edx
mov dword [ebp - 0x58], 0x28
mov dword [ebp - 0x60], 2
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push eax
call edi
test eax, eax
je 0x46501e
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
mov ecx, 1
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x118]
jg 0x464d85
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x60]
push edx
push ecx
push eax
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x60], 2
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcAnsiValueBstr]
imul ax, ax, 0x100
jo 0x4650a9
lea ecx, [ebp - 0x34]
movsx edi, ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x28]
mov edx, 1
mov ecx, edx
mov ebx, 8
cmp ecx, ebx
jg 0x464d6a
mov ebx, edi
xor ebx, eax
and ebx, 0x8000ffff
jns 0x464d2b
dec ebx
or ebx, 0xffff0000
inc ebx
test bh, 0x80
jne 0x464d40
and eax, 0xfffffff
imul eax, eax, 2
jo 0x4650a9
jmp 0x464d53
and eax, 0xfffffff
imul eax, eax, 2
jo 0x4650a9
xor eax, 0x1021
imul edi, edi, 2
mov ebx, edx
jo 0x4650a9
add ebx, ecx
jo 0x4650a9
mov ecx, ebx
jmp 0x464d0e
mov edx, dword [ebp - 0x18]
mov ecx, 1
add ecx, edx
mov dword [ebp - 0x28], eax
jo 0x4650a9
mov dword [ebp - 0x18], ecx
jmp 0x464cad
add eax, 0x63
jo 0x4650a9
and eax, 0x8000ffff
jns 0x464d9c
dec eax
or eax, 0xffff0000
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ebx, 1
mov dword [ebp - 0x128], eax
mov edi, ebx
cmp edi, dword [ebp - 0x128]
jg 0x464e2e
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x60]
push edx
push edi
push eax
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x60], 2
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcAnsiValueBstr]
mov edx, edi
movsx ecx, ax
sub edx, 1
jo 0x4650a9
imul ecx, edx
mov edx, dword [ebp - 0x2c]
jo 0x4650a9
add ecx, edx
jo 0x4650a9
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, ebx
add eax, edi
jo 0x4650a9
mov edi, eax
jmp 0x464db6
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcHexVarFromVar]
lea edx, [ebp - 0xc0]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x28]
mov ebx, 0x4003
push edx
push eax
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xc0], ebx
call edi
lea edx, [ebp - 0xf0]
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xf0], ebx
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xc8], 0x413428
mov dword [ebp - 0xd0], 8
call ebx
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x28]
push edx
push eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xe0], 0x4003
call edi
lea edx, [ebp - 0x100]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xf8], 0x413428
mov dword [ebp - 0x100], 8
call ebx
lea edx, [ebp - 0x110]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x110], 0x4003
call edi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrErrVarCopy]
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x60]
push ecx
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, 4
sub ecx, eax
jo 0x4650a9
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcStringBstr]
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
lea edx, [ebp - 0x80]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x3c]
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x90]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov edx, 4
sub edx, eax
jo 0x4650a9
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcStringBstr]
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x4c]
call esi
push eax
lea eax, [ebp - 0xb0]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x50]
call esi
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x44]
push eax
lea edx, [ebp - 0x40]
push ecx
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x38]
push eax
lea edx, [ebp - 0x34]
push ecx
push edx
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb0]
push eax
lea edx, [ebp - 0xa0]
push ecx
lea eax, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x90]
push eax
lea edx, [ebp - 0x80]
push ecx
lea eax, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x70]
push eax
lea edx, [ebp - 0x60]
push ecx
lea eax, [ebp - 0x60]
push edx
push eax
push 0xa
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x50
push 0x465093
jmp 0x465089
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop