Function at 0x54b110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405556
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x405528
mov esi, 0xa
push 1
push esi
push 1
push 0x4238bc
xor ebx, ebx
push 0x550bb8
push 0x18
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
mov eax, dword [0x550bb8]
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 0x54b433
dec ecx
je 0x54b418
dec ecx
jne 0x54b447
mov dword [0x550bc8], esi
mov dword [0x550bc4], 0x6e0
jmp 0x54b447
mov dword [0x550bc8], esi
mov dword [0x550bc4], 0x6a2
mov word [0x550bec], 0xffff
jmp 0x54b447
mov dword [0x550bc8], 5
mov dword [0x550bc4], 0x664
mov ecx, dword [0x54eb74]
lea edx, [ecx + ecx*4]
shl edx, 0xa
add edx, ecx
mov ecx, dword [0x54ef68]
cmp byte [ecx + edx*8 + 0x3fd], 0
jbe 0x54b4fb
mov edx, dword [0x550bc8]
mov esi, 1
mov dword [ebp - 0x44], edx
cmp esi, dword [ebp - 0x44]
jg 0x54b4c6
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x24]
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.00475a70
lea edx, [ebp - 0x24]
mov edi, eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
test di, di
jne 0x54b4be
mov eax, 1
add esi, eax
mov eax, dword [0x550bb8]
jmp 0x54b477
mov eax, dword [0x550bb8]
or ebx, 0xffffffff
test bx, bx
jne 0x54b4fb
mov edi, dword [0x550bc8]
mov esi, 1
mov edx, esi
cmp edx, edi
jg 0x54b4fb
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 0x54b4f4
add edx, esi
jmp 0x54b4d8
mov dword [ebp - 0x18], 0xffffffff
push 0x2381
call fcn.004e0d50
push 0x2377
mov dword [0x550be0], eax
call fcn.004e0d50
mov edx, dword [0x550bc8]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov esi, 1
mov dword [0x550be4], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x54]
jg 0x54b695
mov eax, dword [0x550bb8]
lea ecx, [ebp - 0x30]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x30]
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 0x54b605
cmp word [ebp - 0x18], 0
je 0x54b5ed
mov eax, dword [0x54eb74]
mov edx, dword [0x54ef68]
lea ecx, [eax + eax*4]
shl ecx, 0xa
add ecx, eax
lea eax, [edx + ecx*8 + 0x3fd]
push eax
call fcn.0045f550
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [esi + 0x10]
call ebx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
cmp word [0x550bec], 0
mov word [esi], 0x2273
je 0x54b5c2
mov dword [esi + 8], 1
jmp 0x54b5c8
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov edx, dword [0x550be0]
mov eax, dword [esi + 8]
cmp edx, eax
jl 0x54b5e1
mov dword [esi + 0xc], 6
jmp 0x54b677
mov dword [esi + 0xc], 3
jmp 0x54b677
mov edx, 0x42cc28
lea ecx, [esi + 0x10]
call ebx
mov word [esi], 0x2272
mov dword [esi + 0xc], 2
jmp 0x54b677
push edi
call fcn.0045f550
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [esi + 0x10]
call ebx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push edi
mov dword [esi + 0xc], 9
call fcn.0045fb70
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.00460400
mov ecx, dword [0x550be4]
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.00475a70
test ax, ax
je 0x54b677
mov dword [esi + 0xc], 4
lea eax, [ebp - 0x30]
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 0x54b530
mov eax, dword [0x550bc8]
lea ecx, [eax + eax*4]
lea eax, [ecx*8 - 0x24]
mov dword [0x550bcc], eax
add eax, 0x59
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fmul qword [0x401498]
fsubr qword [0x401668]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [0x550bd0], eax
push 0x54b6f6
wait
jmp 0x54b6eb
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
ret