Function at 0x5464e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4054c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x405498
mov esi, 0xa
push 1
push esi
push 1
push 0x4230a0
xor ebx, ebx
push 0x54bba0
push 0x18
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
mov eax, dword [0x54bba0]
add esp, 0x1c
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea ecx, [ecx + ecx*2]
shl ecx, 3
sub edi, ecx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x1a]
mov byte [edi + 0x1a], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x14]
mov byte [edi + 0x1b], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x1c]
mov byte [edi + 0x1c], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x3a]
mov byte [edi + 0x32], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x3e]
mov byte [edi + 0x33], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x28]
mov byte [edi + 0x34], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x18]
mov byte [edi + 0x4a], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x20]
mov byte [edi + 0x4b], dl
mov edx, dword [eax + 0x14]
lea edx, [edx + edx*2]
shl edx, 3
mov edi, dword [eax + 0xc]
sub edi, edx
mov dl, byte [ecx + 0x34]
mov byte [edi + 0x4c], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x2a]
mov byte [edi + 0x62], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x38]
mov byte [edi + 0x63], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x40]
mov byte [edi + 0x64], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x30]
mov byte [edi + 0x7a], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0xf]
mov byte [edi + 0x7b], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x22]
mov byte [edi + 0x7c], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x3c]
mov byte [edi + 0x92], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x24]
mov byte [edi + 0x93], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x16]
mov byte [edi + 0x94], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x32]
mov byte [edi + 0xaa], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x26]
mov byte [edi + 0xab], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x2c]
mov byte [edi + 0xac], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0xd]
mov byte [edi + 0xc2], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0xe]
mov byte [edi + 0xc3], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0xc]
mov byte [edi + 0xc4], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 5]
mov byte [edi + 0xda], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x42]
mov byte [edi + 0xdb], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x44]
mov byte [edi + 0xdc], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x2e]
mov byte [edi + 0xf2], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x1e]
mov byte [edi + 0xf3], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 4]
mov byte [edi + 0xf4], dl
movsx ecx, word [ecx + 0x10]
sub ecx, 0x9aa
je 0x546803
dec ecx
je 0x5467e8
dec ecx
jne 0x546817
mov dword [0x54bbb0], esi
mov dword [0x54bbac], 0x6e0
jmp 0x546817
mov dword [0x54bbb0], esi
mov dword [0x54bbac], 0x6a2
mov word [0x54bbd4], 0xffff
jmp 0x546817
mov dword [0x54bbb0], 5
mov dword [0x54bbac], 0x664
mov ecx, dword [0x549b74]
lea edx, [ecx + ecx*4]
shl edx, 0xa
add edx, ecx
mov ecx, dword [0x549f68]
cmp byte [ecx + edx*8 + 0x3fd], 0
jbe 0x5468cb
mov edx, dword [0x54bbb0]
mov esi, 1
mov dword [ebp - 0x40], edx
cmp esi, dword [ebp - 0x40]
jg 0x546896
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub eax, dword [ecx + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0xc]
lea ecx, [eax + edx*8 + 2]
push ecx
call fcn.00475190
lea edx, [ebp - 0x20]
mov edi, eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
test di, di
jne 0x54688e
mov eax, 1
add esi, eax
mov eax, dword [0x54bba0]
jmp 0x546847
mov eax, dword [0x54bba0]
or ebx, 0xffffffff
test bx, bx
jne 0x5468cb
mov edi, dword [0x54bbb0]
mov esi, 1
mov edx, esi
cmp edx, edi
jg 0x5468cb
mov ebx, dword [eax + 0x14]
mov ecx, edx
sub ecx, ebx
mov ebx, dword [eax + 0xc]
lea ecx, [ecx + ecx*2]
cmp byte [ebx + ecx*8 + 2], 0
je 0x5468c4
add edx, esi
jmp 0x5468a8
mov dword [ebp - 0x18], 0xffffffff
push 0x2381
call fcn.004df600
push 0x2377
mov dword [0x54bbc8], eax
call fcn.004df600
mov edx, dword [0x54bbb0]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov esi, 1
mov dword [0x54bbcc], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x50]
jg 0x546a65
mov eax, dword [0x54bba0]
lea ecx, [ebp - 0x2c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x2c]
mov eax, esi
sub eax, dword [ecx + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0xc]
lea esi, [eax + edx*8]
mov al, byte [esi + 2]
test al, al
lea edi, [esi + 2]
jne 0x5469d5
cmp word [ebp - 0x18], 0
je 0x5469bd
mov eax, dword [0x549b74]
mov edx, dword [0x549f68]
lea ecx, [eax + eax*4]
shl ecx, 0xa
add ecx, eax
lea eax, [edx + ecx*8 + 0x3fd]
push eax
call fcn.0045ec90
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [esi + 0x10]
call ebx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
cmp word [0x54bbd4], 0
mov word [esi], 0x2273
je 0x546992
mov dword [esi + 8], 1
jmp 0x546998
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov edx, dword [0x54bbc8]
mov eax, dword [esi + 8]
cmp edx, eax
jl 0x5469b1
mov dword [esi + 0xc], 6
jmp 0x546a47
mov dword [esi + 0xc], 3
jmp 0x546a47
mov edx, 0x42ca8c
lea ecx, [esi + 0x10]
call ebx
mov word [esi], 0x2272
mov dword [esi + 0xc], 2
jmp 0x546a47
push edi
call fcn.0045ec90
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [esi + 0x10]
call ebx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push edi
mov dword [esi + 0xc], 9
call fcn.0045f2b0
add eax, 0x76d
xor ecx, ecx
mov cl, byte [edi]
mov word [esi], ax
xor eax, eax
mov al, byte [esi + 3]
push eax
push ecx
call fcn.0045fb40
mov ecx, dword [0x54bbcc]
xor edx, edx
cmp ecx, eax
push edi
setl dl
dec edx
mov dword [esi + 8], eax
and edx, 3
add edx, 4
mov dword [esi + 0xc], edx
call fcn.00475190
test ax, ax
je 0x546a47
mov dword [esi + 0xc], 4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov ecx, dword [ebp - 0x14]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x14], ecx
mov esi, ecx
jmp 0x546900
mov eax, dword [0x54bbb0]
lea ecx, [eax + eax*4]
lea eax, [ecx*8 - 0x24]
mov dword [0x54bbb4], eax
add eax, 0x59
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fmul qword [0x401490]
fsubr qword [0x401660]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [0x54bbb8], eax
push 0x546ac6
wait
jmp 0x546abb
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
ret