Function at 0x52ffb0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x406366
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4036d0
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.msvbvm60.dll___vbaStrCopy]
xor edi, edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], edi
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
call esi
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x3c]
call esi
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp - 0x1c]
call esi
mov edx, dword [ebp + 0x20]
lea ecx, [ebp - 0x24]
call esi
mov edx, dword [ebp + 0x24]
lea ecx, [ebp - 0x38]
call esi
mov edx, dword [ebp + 0x28]
lea ecx, [ebp - 0x28]
call esi
mov eax, dword [0x5d32e4]
mov dword [ebp - 0x14], edi
push eax
push edi
push 0x1f0fff
call fcn.00429150
mov dword [ebp - 0x58], eax
call dword [sym.imp.msvbvm60.dll___vbaSetSystemError]
mov eax, dword [ebp - 0x58]
cmp eax, edi
mov dword [ebp - 0x44], eax
jle 0x53036d
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
push 0x6c39ec
push ecx
call fcn.004d0160
movsx eax, ax
cmp eax, edi
jle 0x53036d
mov ebx, dword [sym.imp.msvbvm60.dll___vbaStrCmp]
sub eax, 1
jo 0x5303dd
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x64]
jg 0x53036d
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x58]
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
or esi, 0xffffffff
mov dword [ebp - 0x5c], 0x6715fc
mov dword [ebp - 0x58], 0x6c39c4
call fcn.004d02d0
mov edi, eax
mov eax, dword [ebp - 0x48]
push eax
push 0x428668
call ebx
test eax, eax
je 0x53010d
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
push edi
push ecx
call fcn.00534100
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.msvbvm60.dll___vbaStrMove]
mov edx, dword [ebp - 0x48]
push eax
push edx
call ebx
mov esi, eax
lea ecx, [ebp - 0x4c]
neg esi
sbb esi, esi
inc esi
neg esi
call dword [sym.imp.msvbvm60.dll___vbaFreeStr]
mov eax, dword [ebp - 0x40]
push eax
push 0x428668
call ebx
test eax, eax
je 0x53015c
test si, si
je 0x53015c
mov ecx, edi
push 0xffffffffffffffff
add ecx, 0x10
lea edx, [ebp - 0x44]
jo 0x5303dd
push ecx
push edx
call fcn.00534100
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.msvbvm60.dll___vbaStrMove]
push eax
mov eax, dword [ebp - 0x40]
push eax
call ebx
neg eax
sbb eax, eax
lea ecx, [ebp - 0x4c]
inc eax
neg eax
and esi, eax
call dword [sym.imp.msvbvm60.dll___vbaFreeStr]
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x530190
test si, si
je 0x530190
mov ecx, edi
push 0xffffffffffffffff
add ecx, 0x2a
lea edx, [ebp - 0x44]
jo 0x5303dd
push ecx
push edx
call fcn.004d0160
mov edx, dword [ebp + 0x10]
xor ecx, ecx
movsx eax, ax
cmp eax, edx
sete cl
neg ecx
and esi, ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
push 0x428668
call ebx
test eax, eax
je 0x5301d3
test si, si
je 0x5301d3
mov ecx, edi
push 0xffffffffffffffff
add ecx, 0x30
lea edx, [ebp - 0x44]
jo 0x5303dd
push ecx
push edx
call fcn.004d0160
mov ecx, dword [ebp + 0x14]
push 0x428818
movsx eax, ax
mov edx, dword [ecx]
push edx
push eax
call fcn.00555030
and esi, eax
mov ecx, dword [ebp - 0x3c]
push ecx
push 0x428668
call ebx
test eax, eax
je 0x530212
test si, si
je 0x530212
mov edx, edi
push 0xffffffffffffffff
add edx, 0x32
lea eax, [ebp - 0x44]
jo 0x5303dd
push edx
push eax
call fcn.004d0160
mov ecx, dword [ebp - 0x3c]
push 0x428818
movsx edx, ax
push ecx
push edx
call fcn.00555030
and esi, eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x428668
call ebx
test eax, eax
je 0x530251
test si, si
je 0x530251
mov ecx, edi
push 0xffffffffffffffff
add ecx, 0x34
lea edx, [ebp - 0x44]
jo 0x5303dd
push ecx
push edx
call fcn.004d0160
mov ecx, dword [ebp - 0x1c]
push 0x428818
movsx edx, ax
push ecx
push edx
call fcn.00555030
and esi, eax
mov eax, dword [ebp - 0x24]
push eax
push 0x428668
call ebx
test eax, eax
je 0x530290
test si, si
je 0x530290
mov ecx, edi
push 0xffffffffffffffff
add ecx, 0x36
lea edx, [ebp - 0x44]
jo 0x5303dd
push ecx
push edx
call fcn.004d0160
mov ecx, dword [ebp - 0x24]
push 0x428818
movsx edx, ax
push ecx
push edx
call fcn.00555030
and esi, eax
mov eax, dword [ebp - 0x38]
push eax
push 0x428668
call ebx
test eax, eax
je 0x5302cf
test si, si
je 0x5302cf
mov ecx, edi
push 0xffffffffffffffff
add ecx, 0x38
lea edx, [ebp - 0x44]
jo 0x5303dd
push ecx
push edx
call fcn.004d0160
mov ecx, dword [ebp - 0x38]
push 0x428818
movsx edx, ax
push ecx
push edx
call fcn.00555030
and esi, eax
mov eax, dword [ebp - 0x28]
push eax
push 0x428668
call ebx
test eax, eax
je 0x530345
test si, si
je 0x530359
add edi, 0x2c
push 0xffffffffffffffff
jo 0x5303dd
lea ecx, [ebp - 0x44]
push edi
push ecx
call fcn.004d00e0
push eax
call fcn.00534400
mov edi, dword [sym.imp.msvbvm60.dll___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x50]
call edi
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x50]
push 0x428818
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50], 0
call edi
push eax
call dword [sym.imp.msvbvm60.dll___vbaI4Str]
push eax
call fcn.00555030
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x4c]
push ecx
push edx
push 2
and esi, eax
call dword [sym.imp.msvbvm60.dll___vbaFreeStrList]
add esp, 0xc
test si, si
je 0x530359
mov eax, dword [ebp - 0x14]
add eax, 1
jo 0x5303dd
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov eax, 1
add eax, ecx
jo 0x5303dd
mov dword [ebp - 0x18], eax
jmp 0x53009d
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00429234
call dword [sym.imp.msvbvm60.dll___vbaSetSystemError]
mov edx, dword [ebp - 0x14]
push 0x5303c7
mov dword [ebp - 0x20], edx
jmp 0x53039d
mov esi, dword [sym.imp.msvbvm60.dll___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x38]
call esi
lea ecx, [ebp - 0x3c]
call esi
lea ecx, [ebp - 0x40]
call esi
lea ecx, [ebp - 0x48]
call esi
ret
call dword [sym.imp.msvbvm60.dll___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop